@agentmc/api 0.2.1 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +140 -149
- package/dist/cli.js.map +1 -1
- package/dist/generated/operations.d.ts +112 -120
- package/dist/generated/operations.js +140 -149
- package/dist/generated/operations.js.map +1 -1
- package/dist/index.d.ts +246 -214
- package/dist/index.js +140 -149
- package/dist/index.js.map +1 -1
- package/docs/operations/README.md +1 -1
- package/docs/operations/agentHeartbeat.md +41 -17
- package/docs/operations/{agentConnectedInstructions.md → agentInstructions.md} +8 -7
- package/docs/operations/connectAgent.md +41 -5
- package/docs/operations/createCalendarItem.md +0 -10
- package/docs/operations/index.json +140 -149
- package/docs/operations/listCalendar.md +0 -10
- package/docs/operations/listNotifications.md +1 -1
- package/docs/operations/showCalendarItem.md +0 -10
- package/docs/operations/updateCalendarItem.md +0 -10
- package/examples/http/agentHeartbeat.ts +20 -8
- package/examples/http/{agentConnectedInstructions.ts → agentInstructions.ts} +1 -1
- package/examples/http/connectAgent.ts +19 -1
- package/package.json +3 -2
- package/spec/openapi.filtered.json +295 -260
|
@@ -31,83 +31,6 @@ interface OperationDefinition {
|
|
|
31
31
|
responses: OperationResponseExampleDefinition[];
|
|
32
32
|
}
|
|
33
33
|
declare const operations: readonly [{
|
|
34
|
-
readonly operationId: "agentConnectedInstructions";
|
|
35
|
-
readonly method: "get";
|
|
36
|
-
readonly path: "/agents/{agent}/instructions";
|
|
37
|
-
readonly summary: "Return runtime instructions for a connected agent using bearer auth.";
|
|
38
|
-
readonly description: "";
|
|
39
|
-
readonly tags: ["Agents"];
|
|
40
|
-
readonly security: [["AgentBearerAuth"]];
|
|
41
|
-
readonly parameters: [{
|
|
42
|
-
readonly name: "agent";
|
|
43
|
-
readonly in: "path";
|
|
44
|
-
readonly required: true;
|
|
45
|
-
readonly description: "Agent identifier.";
|
|
46
|
-
readonly example: 1;
|
|
47
|
-
}];
|
|
48
|
-
readonly requestBodyRequired: false;
|
|
49
|
-
readonly requestExamples: [];
|
|
50
|
-
readonly responses: [{
|
|
51
|
-
readonly status: "200";
|
|
52
|
-
readonly mediaType: "application/json";
|
|
53
|
-
readonly description: "Instructions returned.";
|
|
54
|
-
readonly hasContent: true;
|
|
55
|
-
readonly example: {
|
|
56
|
-
readonly instructions: "# AgentMC Agent Sync Skill";
|
|
57
|
-
readonly docs: readonly [];
|
|
58
|
-
readonly schedules: readonly [];
|
|
59
|
-
readonly config: {};
|
|
60
|
-
};
|
|
61
|
-
}, {
|
|
62
|
-
readonly status: "401";
|
|
63
|
-
readonly mediaType: "application/json";
|
|
64
|
-
readonly description: "Missing or invalid credentials.";
|
|
65
|
-
readonly hasContent: true;
|
|
66
|
-
readonly example: {
|
|
67
|
-
readonly error: {
|
|
68
|
-
readonly code: "validation.failed";
|
|
69
|
-
readonly message: "Validation failed.";
|
|
70
|
-
readonly details: {
|
|
71
|
-
readonly fields: {
|
|
72
|
-
readonly title: readonly ["The title field is required."];
|
|
73
|
-
};
|
|
74
|
-
};
|
|
75
|
-
};
|
|
76
|
-
};
|
|
77
|
-
}, {
|
|
78
|
-
readonly status: "403";
|
|
79
|
-
readonly mediaType: "application/json";
|
|
80
|
-
readonly description: "Forbidden.";
|
|
81
|
-
readonly hasContent: true;
|
|
82
|
-
readonly example: {
|
|
83
|
-
readonly error: {
|
|
84
|
-
readonly code: "validation.failed";
|
|
85
|
-
readonly message: "Validation failed.";
|
|
86
|
-
readonly details: {
|
|
87
|
-
readonly fields: {
|
|
88
|
-
readonly title: readonly ["The title field is required."];
|
|
89
|
-
};
|
|
90
|
-
};
|
|
91
|
-
};
|
|
92
|
-
};
|
|
93
|
-
}, {
|
|
94
|
-
readonly status: "404";
|
|
95
|
-
readonly mediaType: "application/json";
|
|
96
|
-
readonly description: "Resource not found.";
|
|
97
|
-
readonly hasContent: true;
|
|
98
|
-
readonly example: {
|
|
99
|
-
readonly error: {
|
|
100
|
-
readonly code: "validation.failed";
|
|
101
|
-
readonly message: "Validation failed.";
|
|
102
|
-
readonly details: {
|
|
103
|
-
readonly fields: {
|
|
104
|
-
readonly title: readonly ["The title field is required."];
|
|
105
|
-
};
|
|
106
|
-
};
|
|
107
|
-
};
|
|
108
|
-
};
|
|
109
|
-
}];
|
|
110
|
-
}, {
|
|
111
34
|
readonly operationId: "agentHeartbeat";
|
|
112
35
|
readonly method: "post";
|
|
113
36
|
readonly path: "/agents/{agent}/heartbeat";
|
|
@@ -161,13 +84,21 @@ declare const operations: readonly [{
|
|
|
161
84
|
readonly agent: {
|
|
162
85
|
readonly id: 42;
|
|
163
86
|
readonly name: "codex-runtime-prod";
|
|
164
|
-
readonly
|
|
165
|
-
readonly
|
|
166
|
-
readonly
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
87
|
+
readonly identity: {
|
|
88
|
+
readonly name: "Jarvis";
|
|
89
|
+
readonly creature: "robot";
|
|
90
|
+
readonly vibe: "calm";
|
|
91
|
+
};
|
|
92
|
+
readonly models: {
|
|
93
|
+
readonly resolved: {
|
|
94
|
+
readonly default: "openai/gpt-5-codex";
|
|
95
|
+
readonly fallbacks: readonly ["anthropic/claude-sonnet-4-20250514"];
|
|
96
|
+
};
|
|
97
|
+
readonly providers: {
|
|
98
|
+
readonly openai: readonly ["gpt-5-codex", "gpt-4.1"];
|
|
99
|
+
readonly anthropic: readonly ["claude-sonnet-4-20250514"];
|
|
100
|
+
};
|
|
101
|
+
};
|
|
171
102
|
};
|
|
172
103
|
};
|
|
173
104
|
}];
|
|
@@ -267,6 +198,84 @@ declare const operations: readonly [{
|
|
|
267
198
|
};
|
|
268
199
|
};
|
|
269
200
|
}];
|
|
201
|
+
}, {
|
|
202
|
+
readonly operationId: "agentInstructions";
|
|
203
|
+
readonly method: "get";
|
|
204
|
+
readonly path: "/agents/{agent}/agent-instructions";
|
|
205
|
+
readonly summary: "Return agent instructions for a connected agent using bearer auth.";
|
|
206
|
+
readonly description: "";
|
|
207
|
+
readonly tags: ["Agents"];
|
|
208
|
+
readonly security: [["AgentBearerAuth"]];
|
|
209
|
+
readonly parameters: [{
|
|
210
|
+
readonly name: "agent";
|
|
211
|
+
readonly in: "path";
|
|
212
|
+
readonly required: true;
|
|
213
|
+
readonly description: "Agent identifier.";
|
|
214
|
+
readonly example: 1;
|
|
215
|
+
}];
|
|
216
|
+
readonly requestBodyRequired: false;
|
|
217
|
+
readonly requestExamples: [];
|
|
218
|
+
readonly responses: [{
|
|
219
|
+
readonly status: "200";
|
|
220
|
+
readonly mediaType: "application/json";
|
|
221
|
+
readonly description: "Agent instructions returned.";
|
|
222
|
+
readonly hasContent: true;
|
|
223
|
+
readonly example: {
|
|
224
|
+
readonly agent_instructions: "# Agent Instructions";
|
|
225
|
+
readonly agent_instructions_version: "32fe7fd14fca2d57c545f5f78f4a1c094f9ac1b3a1e8f6f9f8323b67a0ef9cc3";
|
|
226
|
+
readonly docs: readonly [];
|
|
227
|
+
readonly schedules: readonly [];
|
|
228
|
+
readonly config: {};
|
|
229
|
+
};
|
|
230
|
+
}, {
|
|
231
|
+
readonly status: "401";
|
|
232
|
+
readonly mediaType: "application/json";
|
|
233
|
+
readonly description: "Missing or invalid credentials.";
|
|
234
|
+
readonly hasContent: true;
|
|
235
|
+
readonly example: {
|
|
236
|
+
readonly error: {
|
|
237
|
+
readonly code: "validation.failed";
|
|
238
|
+
readonly message: "Validation failed.";
|
|
239
|
+
readonly details: {
|
|
240
|
+
readonly fields: {
|
|
241
|
+
readonly title: readonly ["The title field is required."];
|
|
242
|
+
};
|
|
243
|
+
};
|
|
244
|
+
};
|
|
245
|
+
};
|
|
246
|
+
}, {
|
|
247
|
+
readonly status: "403";
|
|
248
|
+
readonly mediaType: "application/json";
|
|
249
|
+
readonly description: "Forbidden.";
|
|
250
|
+
readonly hasContent: true;
|
|
251
|
+
readonly example: {
|
|
252
|
+
readonly error: {
|
|
253
|
+
readonly code: "validation.failed";
|
|
254
|
+
readonly message: "Validation failed.";
|
|
255
|
+
readonly details: {
|
|
256
|
+
readonly fields: {
|
|
257
|
+
readonly title: readonly ["The title field is required."];
|
|
258
|
+
};
|
|
259
|
+
};
|
|
260
|
+
};
|
|
261
|
+
};
|
|
262
|
+
}, {
|
|
263
|
+
readonly status: "404";
|
|
264
|
+
readonly mediaType: "application/json";
|
|
265
|
+
readonly description: "Resource not found.";
|
|
266
|
+
readonly hasContent: true;
|
|
267
|
+
readonly example: {
|
|
268
|
+
readonly error: {
|
|
269
|
+
readonly code: "validation.failed";
|
|
270
|
+
readonly message: "Validation failed.";
|
|
271
|
+
readonly details: {
|
|
272
|
+
readonly fields: {
|
|
273
|
+
readonly title: readonly ["The title field is required."];
|
|
274
|
+
};
|
|
275
|
+
};
|
|
276
|
+
};
|
|
277
|
+
};
|
|
278
|
+
}];
|
|
270
279
|
}, {
|
|
271
280
|
readonly operationId: "authenticateAgentRealtimeSocket";
|
|
272
281
|
readonly method: "post";
|
|
@@ -756,10 +765,22 @@ declare const operations: readonly [{
|
|
|
756
765
|
readonly requestExamples: [{
|
|
757
766
|
readonly mediaType: "application/json";
|
|
758
767
|
readonly example: {
|
|
759
|
-
readonly name: "
|
|
768
|
+
readonly name: "openclaw-main";
|
|
760
769
|
readonly host: "ip-10-0-3-42";
|
|
761
770
|
readonly runtime_version: "2026.02.1";
|
|
762
771
|
readonly capabilities: readonly ["tasks", "calendar", "realtime"];
|
|
772
|
+
readonly models: readonly [{
|
|
773
|
+
readonly model_id: "openai/gpt-5-codex";
|
|
774
|
+
readonly provider: "openai";
|
|
775
|
+
}, {
|
|
776
|
+
readonly model_id: "anthropic/claude-sonnet-4-20250514";
|
|
777
|
+
readonly provider: "anthropic";
|
|
778
|
+
}];
|
|
779
|
+
readonly identity: {
|
|
780
|
+
readonly name: "Jarvis";
|
|
781
|
+
readonly creature: "robot";
|
|
782
|
+
readonly vibe: "calm";
|
|
783
|
+
};
|
|
763
784
|
readonly metadata: {
|
|
764
785
|
readonly hostname: "worker-01";
|
|
765
786
|
readonly ip: "10.0.2.15";
|
|
@@ -782,6 +803,9 @@ declare const operations: readonly [{
|
|
|
782
803
|
readonly name: "codex";
|
|
783
804
|
readonly version: "2026.02.1";
|
|
784
805
|
};
|
|
806
|
+
readonly identity: {
|
|
807
|
+
readonly name: "Jarvis";
|
|
808
|
+
};
|
|
785
809
|
};
|
|
786
810
|
};
|
|
787
811
|
}];
|
|
@@ -793,8 +817,8 @@ declare const operations: readonly [{
|
|
|
793
817
|
readonly example: {
|
|
794
818
|
readonly agent_id: 42;
|
|
795
819
|
readonly agent_token: "mca_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
|
|
796
|
-
readonly agent_instructions_endpoint: "https://agentmc.example.com/api/v1/agents/42/instructions";
|
|
797
|
-
readonly agent_authenticated_instructions_endpoint: "https://agentmc.example.com/api/v1/agents/42/instructions";
|
|
820
|
+
readonly agent_instructions_endpoint: "https://agentmc.example.com/api/v1/agents/42/agent-instructions";
|
|
821
|
+
readonly agent_authenticated_instructions_endpoint: "https://agentmc.example.com/api/v1/agents/42/agent-instructions";
|
|
798
822
|
readonly agent_instructions_version: "32fe7fd14fca2d57c545f5f78f4a1c094f9ac1b3a1e8f6f9f8323b67a0ef9cc3";
|
|
799
823
|
readonly openapi_url: "https://agentmc.example.com/api/openapi.json";
|
|
800
824
|
readonly workspace: {
|
|
@@ -1415,14 +1439,6 @@ declare const operations: readonly [{
|
|
|
1415
1439
|
readonly name: "Example Name";
|
|
1416
1440
|
readonly created_at: "2026-02-22T17:21:00Z";
|
|
1417
1441
|
}];
|
|
1418
|
-
readonly links: readonly [{
|
|
1419
|
-
readonly id: 42;
|
|
1420
|
-
readonly link_type: "example";
|
|
1421
|
-
readonly link_id: 42;
|
|
1422
|
-
readonly url: "https://agentmc.example.com/docs/incident-123";
|
|
1423
|
-
readonly title: "Example Title";
|
|
1424
|
-
readonly created_at: "2026-02-22T17:21:00Z";
|
|
1425
|
-
}];
|
|
1426
1442
|
readonly comments_count: 1;
|
|
1427
1443
|
readonly created_at: "2026-02-22T17:21:00Z";
|
|
1428
1444
|
readonly updated_at: "2026-02-22T17:21:00Z";
|
|
@@ -2973,14 +2989,6 @@ declare const operations: readonly [{
|
|
|
2973
2989
|
readonly name: "Example Name";
|
|
2974
2990
|
readonly created_at: "2026-02-22T17:21:00Z";
|
|
2975
2991
|
}];
|
|
2976
|
-
readonly links: readonly [{
|
|
2977
|
-
readonly id: 42;
|
|
2978
|
-
readonly link_type: "example";
|
|
2979
|
-
readonly link_id: 42;
|
|
2980
|
-
readonly url: "https://agentmc.example.com/docs/incident-123";
|
|
2981
|
-
readonly title: "Example Title";
|
|
2982
|
-
readonly created_at: "2026-02-22T17:21:00Z";
|
|
2983
|
-
}];
|
|
2984
2992
|
readonly comments_count: 1;
|
|
2985
2993
|
readonly created_at: "2026-02-22T17:21:00Z";
|
|
2986
2994
|
readonly updated_at: "2026-02-22T17:21:00Z";
|
|
@@ -3245,7 +3253,7 @@ declare const operations: readonly [{
|
|
|
3245
3253
|
readonly operationId: "listNotifications";
|
|
3246
3254
|
readonly method: "get";
|
|
3247
3255
|
readonly path: "/notifications";
|
|
3248
|
-
readonly summary: "List workspace notifications (mentions and
|
|
3256
|
+
readonly summary: "List workspace notifications (mentions, assignments, and comment activity) for the authenticated principal.";
|
|
3249
3257
|
readonly description: "";
|
|
3250
3258
|
readonly tags: ["Notifications"];
|
|
3251
3259
|
readonly security: [["ApiKeyAuth"], ["AgentBearerAuth"], ["BearerAuth"]];
|
|
@@ -4008,14 +4016,6 @@ declare const operations: readonly [{
|
|
|
4008
4016
|
readonly name: "Example Name";
|
|
4009
4017
|
readonly created_at: "2026-02-22T17:21:00Z";
|
|
4010
4018
|
}];
|
|
4011
|
-
readonly links: readonly [{
|
|
4012
|
-
readonly id: 42;
|
|
4013
|
-
readonly link_type: "example";
|
|
4014
|
-
readonly link_id: 42;
|
|
4015
|
-
readonly url: "https://agentmc.example.com/docs/incident-123";
|
|
4016
|
-
readonly title: "Example Title";
|
|
4017
|
-
readonly created_at: "2026-02-22T17:21:00Z";
|
|
4018
|
-
}];
|
|
4019
4019
|
readonly comments_count: 1;
|
|
4020
4020
|
readonly created_at: "2026-02-22T17:21:00Z";
|
|
4021
4021
|
readonly updated_at: "2026-02-22T17:21:00Z";
|
|
@@ -4721,14 +4721,6 @@ declare const operations: readonly [{
|
|
|
4721
4721
|
readonly name: "Example Name";
|
|
4722
4722
|
readonly created_at: "2026-02-22T17:21:00Z";
|
|
4723
4723
|
}];
|
|
4724
|
-
readonly links: readonly [{
|
|
4725
|
-
readonly id: 42;
|
|
4726
|
-
readonly link_type: "example";
|
|
4727
|
-
readonly link_id: 42;
|
|
4728
|
-
readonly url: "https://agentmc.example.com/docs/incident-123";
|
|
4729
|
-
readonly title: "Example Title";
|
|
4730
|
-
readonly created_at: "2026-02-22T17:21:00Z";
|
|
4731
|
-
}];
|
|
4732
4724
|
readonly comments_count: 1;
|
|
4733
4725
|
readonly created_at: "2026-02-22T17:21:00Z";
|
|
4734
4726
|
readonly updated_at: "2026-02-22T17:21:00Z";
|
|
@@ -1,102 +1,5 @@
|
|
|
1
1
|
// src/generated/operations.ts
|
|
2
2
|
var operations = [
|
|
3
|
-
{
|
|
4
|
-
"operationId": "agentConnectedInstructions",
|
|
5
|
-
"method": "get",
|
|
6
|
-
"path": "/agents/{agent}/instructions",
|
|
7
|
-
"summary": "Return runtime instructions for a connected agent using bearer auth.",
|
|
8
|
-
"description": "",
|
|
9
|
-
"tags": [
|
|
10
|
-
"Agents"
|
|
11
|
-
],
|
|
12
|
-
"security": [
|
|
13
|
-
[
|
|
14
|
-
"AgentBearerAuth"
|
|
15
|
-
]
|
|
16
|
-
],
|
|
17
|
-
"parameters": [
|
|
18
|
-
{
|
|
19
|
-
"name": "agent",
|
|
20
|
-
"in": "path",
|
|
21
|
-
"required": true,
|
|
22
|
-
"description": "Agent identifier.",
|
|
23
|
-
"example": 1
|
|
24
|
-
}
|
|
25
|
-
],
|
|
26
|
-
"requestBodyRequired": false,
|
|
27
|
-
"requestExamples": [],
|
|
28
|
-
"responses": [
|
|
29
|
-
{
|
|
30
|
-
"status": "200",
|
|
31
|
-
"mediaType": "application/json",
|
|
32
|
-
"description": "Instructions returned.",
|
|
33
|
-
"hasContent": true,
|
|
34
|
-
"example": {
|
|
35
|
-
"instructions": "# AgentMC Agent Sync Skill",
|
|
36
|
-
"docs": [],
|
|
37
|
-
"schedules": [],
|
|
38
|
-
"config": {}
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
"status": "401",
|
|
43
|
-
"mediaType": "application/json",
|
|
44
|
-
"description": "Missing or invalid credentials.",
|
|
45
|
-
"hasContent": true,
|
|
46
|
-
"example": {
|
|
47
|
-
"error": {
|
|
48
|
-
"code": "validation.failed",
|
|
49
|
-
"message": "Validation failed.",
|
|
50
|
-
"details": {
|
|
51
|
-
"fields": {
|
|
52
|
-
"title": [
|
|
53
|
-
"The title field is required."
|
|
54
|
-
]
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
"status": "403",
|
|
62
|
-
"mediaType": "application/json",
|
|
63
|
-
"description": "Forbidden.",
|
|
64
|
-
"hasContent": true,
|
|
65
|
-
"example": {
|
|
66
|
-
"error": {
|
|
67
|
-
"code": "validation.failed",
|
|
68
|
-
"message": "Validation failed.",
|
|
69
|
-
"details": {
|
|
70
|
-
"fields": {
|
|
71
|
-
"title": [
|
|
72
|
-
"The title field is required."
|
|
73
|
-
]
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
"status": "404",
|
|
81
|
-
"mediaType": "application/json",
|
|
82
|
-
"description": "Resource not found.",
|
|
83
|
-
"hasContent": true,
|
|
84
|
-
"example": {
|
|
85
|
-
"error": {
|
|
86
|
-
"code": "validation.failed",
|
|
87
|
-
"message": "Validation failed.",
|
|
88
|
-
"details": {
|
|
89
|
-
"fields": {
|
|
90
|
-
"title": [
|
|
91
|
-
"The title field is required."
|
|
92
|
-
]
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
]
|
|
99
|
-
},
|
|
100
3
|
{
|
|
101
4
|
"operationId": "agentHeartbeat",
|
|
102
5
|
"method": "post",
|
|
@@ -166,16 +69,28 @@ var operations = [
|
|
|
166
69
|
"agent": {
|
|
167
70
|
"id": 42,
|
|
168
71
|
"name": "codex-runtime-prod",
|
|
169
|
-
"
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
72
|
+
"identity": {
|
|
73
|
+
"name": "Jarvis",
|
|
74
|
+
"creature": "robot",
|
|
75
|
+
"vibe": "calm"
|
|
76
|
+
},
|
|
77
|
+
"models": {
|
|
78
|
+
"resolved": {
|
|
79
|
+
"default": "openai/gpt-5-codex",
|
|
80
|
+
"fallbacks": [
|
|
81
|
+
"anthropic/claude-sonnet-4-20250514"
|
|
82
|
+
]
|
|
173
83
|
},
|
|
174
|
-
{
|
|
175
|
-
"
|
|
176
|
-
|
|
84
|
+
"providers": {
|
|
85
|
+
"openai": [
|
|
86
|
+
"gpt-5-codex",
|
|
87
|
+
"gpt-4.1"
|
|
88
|
+
],
|
|
89
|
+
"anthropic": [
|
|
90
|
+
"claude-sonnet-4-20250514"
|
|
91
|
+
]
|
|
177
92
|
}
|
|
178
|
-
|
|
93
|
+
}
|
|
179
94
|
}
|
|
180
95
|
}
|
|
181
96
|
}
|
|
@@ -291,6 +206,104 @@ var operations = [
|
|
|
291
206
|
}
|
|
292
207
|
]
|
|
293
208
|
},
|
|
209
|
+
{
|
|
210
|
+
"operationId": "agentInstructions",
|
|
211
|
+
"method": "get",
|
|
212
|
+
"path": "/agents/{agent}/agent-instructions",
|
|
213
|
+
"summary": "Return agent instructions for a connected agent using bearer auth.",
|
|
214
|
+
"description": "",
|
|
215
|
+
"tags": [
|
|
216
|
+
"Agents"
|
|
217
|
+
],
|
|
218
|
+
"security": [
|
|
219
|
+
[
|
|
220
|
+
"AgentBearerAuth"
|
|
221
|
+
]
|
|
222
|
+
],
|
|
223
|
+
"parameters": [
|
|
224
|
+
{
|
|
225
|
+
"name": "agent",
|
|
226
|
+
"in": "path",
|
|
227
|
+
"required": true,
|
|
228
|
+
"description": "Agent identifier.",
|
|
229
|
+
"example": 1
|
|
230
|
+
}
|
|
231
|
+
],
|
|
232
|
+
"requestBodyRequired": false,
|
|
233
|
+
"requestExamples": [],
|
|
234
|
+
"responses": [
|
|
235
|
+
{
|
|
236
|
+
"status": "200",
|
|
237
|
+
"mediaType": "application/json",
|
|
238
|
+
"description": "Agent instructions returned.",
|
|
239
|
+
"hasContent": true,
|
|
240
|
+
"example": {
|
|
241
|
+
"agent_instructions": "# Agent Instructions",
|
|
242
|
+
"agent_instructions_version": "32fe7fd14fca2d57c545f5f78f4a1c094f9ac1b3a1e8f6f9f8323b67a0ef9cc3",
|
|
243
|
+
"docs": [],
|
|
244
|
+
"schedules": [],
|
|
245
|
+
"config": {}
|
|
246
|
+
}
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"status": "401",
|
|
250
|
+
"mediaType": "application/json",
|
|
251
|
+
"description": "Missing or invalid credentials.",
|
|
252
|
+
"hasContent": true,
|
|
253
|
+
"example": {
|
|
254
|
+
"error": {
|
|
255
|
+
"code": "validation.failed",
|
|
256
|
+
"message": "Validation failed.",
|
|
257
|
+
"details": {
|
|
258
|
+
"fields": {
|
|
259
|
+
"title": [
|
|
260
|
+
"The title field is required."
|
|
261
|
+
]
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"status": "403",
|
|
269
|
+
"mediaType": "application/json",
|
|
270
|
+
"description": "Forbidden.",
|
|
271
|
+
"hasContent": true,
|
|
272
|
+
"example": {
|
|
273
|
+
"error": {
|
|
274
|
+
"code": "validation.failed",
|
|
275
|
+
"message": "Validation failed.",
|
|
276
|
+
"details": {
|
|
277
|
+
"fields": {
|
|
278
|
+
"title": [
|
|
279
|
+
"The title field is required."
|
|
280
|
+
]
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
"status": "404",
|
|
288
|
+
"mediaType": "application/json",
|
|
289
|
+
"description": "Resource not found.",
|
|
290
|
+
"hasContent": true,
|
|
291
|
+
"example": {
|
|
292
|
+
"error": {
|
|
293
|
+
"code": "validation.failed",
|
|
294
|
+
"message": "Validation failed.",
|
|
295
|
+
"details": {
|
|
296
|
+
"fields": {
|
|
297
|
+
"title": [
|
|
298
|
+
"The title field is required."
|
|
299
|
+
]
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
]
|
|
306
|
+
},
|
|
294
307
|
{
|
|
295
308
|
"operationId": "authenticateAgentRealtimeSocket",
|
|
296
309
|
"method": "post",
|
|
@@ -920,7 +933,7 @@ var operations = [
|
|
|
920
933
|
{
|
|
921
934
|
"mediaType": "application/json",
|
|
922
935
|
"example": {
|
|
923
|
-
"name": "
|
|
936
|
+
"name": "openclaw-main",
|
|
924
937
|
"host": "ip-10-0-3-42",
|
|
925
938
|
"runtime_version": "2026.02.1",
|
|
926
939
|
"capabilities": [
|
|
@@ -928,6 +941,21 @@ var operations = [
|
|
|
928
941
|
"calendar",
|
|
929
942
|
"realtime"
|
|
930
943
|
],
|
|
944
|
+
"models": [
|
|
945
|
+
{
|
|
946
|
+
"model_id": "openai/gpt-5-codex",
|
|
947
|
+
"provider": "openai"
|
|
948
|
+
},
|
|
949
|
+
{
|
|
950
|
+
"model_id": "anthropic/claude-sonnet-4-20250514",
|
|
951
|
+
"provider": "anthropic"
|
|
952
|
+
}
|
|
953
|
+
],
|
|
954
|
+
"identity": {
|
|
955
|
+
"name": "Jarvis",
|
|
956
|
+
"creature": "robot",
|
|
957
|
+
"vibe": "calm"
|
|
958
|
+
},
|
|
931
959
|
"metadata": {
|
|
932
960
|
"hostname": "worker-01",
|
|
933
961
|
"ip": "10.0.2.15",
|
|
@@ -949,6 +977,9 @@ var operations = [
|
|
|
949
977
|
"runtime": {
|
|
950
978
|
"name": "codex",
|
|
951
979
|
"version": "2026.02.1"
|
|
980
|
+
},
|
|
981
|
+
"identity": {
|
|
982
|
+
"name": "Jarvis"
|
|
952
983
|
}
|
|
953
984
|
}
|
|
954
985
|
}
|
|
@@ -963,8 +994,8 @@ var operations = [
|
|
|
963
994
|
"example": {
|
|
964
995
|
"agent_id": 42,
|
|
965
996
|
"agent_token": "mca_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
|
|
966
|
-
"agent_instructions_endpoint": "https://agentmc.example.com/api/v1/agents/42/instructions",
|
|
967
|
-
"agent_authenticated_instructions_endpoint": "https://agentmc.example.com/api/v1/agents/42/instructions",
|
|
997
|
+
"agent_instructions_endpoint": "https://agentmc.example.com/api/v1/agents/42/agent-instructions",
|
|
998
|
+
"agent_authenticated_instructions_endpoint": "https://agentmc.example.com/api/v1/agents/42/agent-instructions",
|
|
968
999
|
"agent_instructions_version": "32fe7fd14fca2d57c545f5f78f4a1c094f9ac1b3a1e8f6f9f8323b67a0ef9cc3",
|
|
969
1000
|
"openapi_url": "https://agentmc.example.com/api/openapi.json",
|
|
970
1001
|
"workspace": {
|
|
@@ -1740,16 +1771,6 @@ var operations = [
|
|
|
1740
1771
|
"created_at": "2026-02-22T17:21:00Z"
|
|
1741
1772
|
}
|
|
1742
1773
|
],
|
|
1743
|
-
"links": [
|
|
1744
|
-
{
|
|
1745
|
-
"id": 42,
|
|
1746
|
-
"link_type": "example",
|
|
1747
|
-
"link_id": 42,
|
|
1748
|
-
"url": "https://agentmc.example.com/docs/incident-123",
|
|
1749
|
-
"title": "Example Title",
|
|
1750
|
-
"created_at": "2026-02-22T17:21:00Z"
|
|
1751
|
-
}
|
|
1752
|
-
],
|
|
1753
1774
|
"comments_count": 1,
|
|
1754
1775
|
"created_at": "2026-02-22T17:21:00Z",
|
|
1755
1776
|
"updated_at": "2026-02-22T17:21:00Z",
|
|
@@ -3740,16 +3761,6 @@ var operations = [
|
|
|
3740
3761
|
"created_at": "2026-02-22T17:21:00Z"
|
|
3741
3762
|
}
|
|
3742
3763
|
],
|
|
3743
|
-
"links": [
|
|
3744
|
-
{
|
|
3745
|
-
"id": 42,
|
|
3746
|
-
"link_type": "example",
|
|
3747
|
-
"link_id": 42,
|
|
3748
|
-
"url": "https://agentmc.example.com/docs/incident-123",
|
|
3749
|
-
"title": "Example Title",
|
|
3750
|
-
"created_at": "2026-02-22T17:21:00Z"
|
|
3751
|
-
}
|
|
3752
|
-
],
|
|
3753
3764
|
"comments_count": 1,
|
|
3754
3765
|
"created_at": "2026-02-22T17:21:00Z",
|
|
3755
3766
|
"updated_at": "2026-02-22T17:21:00Z",
|
|
@@ -4081,7 +4092,7 @@ var operations = [
|
|
|
4081
4092
|
"operationId": "listNotifications",
|
|
4082
4093
|
"method": "get",
|
|
4083
4094
|
"path": "/notifications",
|
|
4084
|
-
"summary": "List workspace notifications (mentions and
|
|
4095
|
+
"summary": "List workspace notifications (mentions, assignments, and comment activity) for the authenticated principal.",
|
|
4085
4096
|
"description": "",
|
|
4086
4097
|
"tags": [
|
|
4087
4098
|
"Notifications"
|
|
@@ -5064,16 +5075,6 @@ var operations = [
|
|
|
5064
5075
|
"created_at": "2026-02-22T17:21:00Z"
|
|
5065
5076
|
}
|
|
5066
5077
|
],
|
|
5067
|
-
"links": [
|
|
5068
|
-
{
|
|
5069
|
-
"id": 42,
|
|
5070
|
-
"link_type": "example",
|
|
5071
|
-
"link_id": 42,
|
|
5072
|
-
"url": "https://agentmc.example.com/docs/incident-123",
|
|
5073
|
-
"title": "Example Title",
|
|
5074
|
-
"created_at": "2026-02-22T17:21:00Z"
|
|
5075
|
-
}
|
|
5076
|
-
],
|
|
5077
5078
|
"comments_count": 1,
|
|
5078
5079
|
"created_at": "2026-02-22T17:21:00Z",
|
|
5079
5080
|
"updated_at": "2026-02-22T17:21:00Z",
|
|
@@ -5964,16 +5965,6 @@ var operations = [
|
|
|
5964
5965
|
"created_at": "2026-02-22T17:21:00Z"
|
|
5965
5966
|
}
|
|
5966
5967
|
],
|
|
5967
|
-
"links": [
|
|
5968
|
-
{
|
|
5969
|
-
"id": 42,
|
|
5970
|
-
"link_type": "example",
|
|
5971
|
-
"link_id": 42,
|
|
5972
|
-
"url": "https://agentmc.example.com/docs/incident-123",
|
|
5973
|
-
"title": "Example Title",
|
|
5974
|
-
"created_at": "2026-02-22T17:21:00Z"
|
|
5975
|
-
}
|
|
5976
|
-
],
|
|
5977
5968
|
"comments_count": 1,
|
|
5978
5969
|
"created_at": "2026-02-22T17:21:00Z",
|
|
5979
5970
|
"updated_at": "2026-02-22T17:21:00Z",
|