@agent-os-sdk/client 0.1.1 → 0.2.1
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/client/AgentOsClient.d.ts +57 -38
- package/dist/client/AgentOsClient.d.ts.map +1 -1
- package/dist/client/AgentOsClient.js +192 -37
- package/dist/client/auth.d.ts +102 -0
- package/dist/client/auth.d.ts.map +1 -0
- package/dist/client/auth.js +44 -0
- package/dist/generated/openapi.d.ts +1009 -204
- package/dist/generated/openapi.d.ts.map +1 -1
- package/dist/index.d.ts +12 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +12 -0
- package/dist/modules/approvals.d.ts +64 -0
- package/dist/modules/approvals.d.ts.map +1 -0
- package/dist/modules/approvals.js +54 -0
- package/dist/modules/artifacts.d.ts +49 -0
- package/dist/modules/artifacts.d.ts.map +1 -0
- package/dist/modules/artifacts.js +50 -0
- package/dist/modules/budgets.d.ts +81 -0
- package/dist/modules/budgets.d.ts.map +1 -0
- package/dist/modules/budgets.js +50 -0
- package/dist/modules/builder.d.ts +23 -3
- package/dist/modules/builder.d.ts.map +1 -1
- package/dist/modules/builder.js +28 -6
- package/dist/modules/capabilities.d.ts +57 -0
- package/dist/modules/capabilities.d.ts.map +1 -0
- package/dist/modules/capabilities.js +50 -0
- package/dist/modules/deployments.d.ts +67 -0
- package/dist/modules/deployments.d.ts.map +1 -0
- package/dist/modules/deployments.js +58 -0
- package/dist/modules/flows.d.ts +84 -0
- package/dist/modules/flows.d.ts.map +1 -0
- package/dist/modules/flows.js +66 -0
- package/dist/modules/handoff.d.ts +91 -0
- package/dist/modules/handoff.d.ts.map +1 -0
- package/dist/modules/handoff.js +65 -0
- package/dist/modules/incidents.d.ts +72 -0
- package/dist/modules/incidents.d.ts.map +1 -0
- package/dist/modules/incidents.js +54 -0
- package/dist/modules/members.d.ts +5 -0
- package/dist/modules/members.d.ts.map +1 -1
- package/dist/modules/members.js +10 -0
- package/dist/modules/policies.d.ts +76 -0
- package/dist/modules/policies.d.ts.map +1 -0
- package/dist/modules/policies.js +46 -0
- package/dist/modules/runs.d.ts +89 -3
- package/dist/modules/runs.d.ts.map +1 -1
- package/dist/modules/runs.js +75 -4
- package/dist/modules/tenants.d.ts +4 -0
- package/dist/modules/tenants.d.ts.map +1 -1
- package/dist/modules/tenants.js +8 -0
- package/package.json +49 -48
- package/src/client/AgentOsClient.ts +217 -61
- package/src/client/auth.ts +148 -0
- package/src/generated/openapi.ts +1009 -204
- package/src/generated/swagger.json +947 -700
- package/src/index.ts +25 -2
- package/src/modules/approvals.ts +109 -0
- package/src/modules/artifacts.ts +83 -0
- package/src/modules/budgets.ts +120 -0
- package/src/modules/builder.ts +26 -4
- package/src/modules/capabilities.ts +95 -0
- package/src/modules/deployments.ts +111 -0
- package/src/modules/flows.ts +133 -0
- package/src/modules/handoff.ts +140 -0
- package/src/modules/incidents.ts +113 -0
- package/src/modules/members.ts +11 -0
- package/src/modules/policies.ts +112 -0
- package/src/modules/runs.ts +123 -5
- package/src/modules/tenants.ts +9 -0
|
@@ -67,25 +67,9 @@
|
|
|
67
67
|
"AgentPortability"
|
|
68
68
|
],
|
|
69
69
|
"summary": "Import an agent bundle.",
|
|
70
|
-
"
|
|
71
|
-
{
|
|
72
|
-
"name": "X-Tenant-Id",
|
|
73
|
-
"in": "header",
|
|
74
|
-
"schema": {
|
|
75
|
-
"type": "string",
|
|
76
|
-
"format": "uuid"
|
|
77
|
-
}
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
"name": "X-Workspace-Id",
|
|
81
|
-
"in": "header",
|
|
82
|
-
"schema": {
|
|
83
|
-
"type": "string",
|
|
84
|
-
"format": "uuid"
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
],
|
|
70
|
+
"description": "Imports an agent bundle into the current tenant/workspace.\nThe agent and all versions are created with new IDs to avoid conflicts.\n\n**Security:**\n- Tenant and workspace are resolved from the authenticated context\n- Original IDs from the bundle are replaced with new GUIDs",
|
|
88
71
|
"requestBody": {
|
|
72
|
+
"description": "The agent bundle to import.",
|
|
89
73
|
"content": {
|
|
90
74
|
"application/json": {
|
|
91
75
|
"schema": {
|
|
@@ -105,8 +89,28 @@
|
|
|
105
89
|
}
|
|
106
90
|
},
|
|
107
91
|
"responses": {
|
|
108
|
-
"
|
|
109
|
-
"description": "
|
|
92
|
+
"201": {
|
|
93
|
+
"description": "Agent imported successfully."
|
|
94
|
+
},
|
|
95
|
+
"400": {
|
|
96
|
+
"description": "Invalid bundle format.",
|
|
97
|
+
"content": {
|
|
98
|
+
"application/json": {
|
|
99
|
+
"schema": {
|
|
100
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
"401": {
|
|
106
|
+
"description": "Authentication required or missing workspace context.",
|
|
107
|
+
"content": {
|
|
108
|
+
"application/json": {
|
|
109
|
+
"schema": {
|
|
110
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
110
114
|
}
|
|
111
115
|
}
|
|
112
116
|
}
|
|
@@ -116,7 +120,10 @@
|
|
|
116
120
|
"tags": [
|
|
117
121
|
"Agents"
|
|
118
122
|
],
|
|
123
|
+
"summary": "Creates a new agent in the current workspace.",
|
|
124
|
+
"description": "Creates a new agent with the specified configuration. The agent is created in draft mode\nand must have a version published before it can be used for runs.\n\n**Example Request:**\n```json\n{\n \"name\": \"customer-support-agent\",\n \"description\": \"Handles customer inquiries and support tickets\",\n \"graph_spec\": { \"nodes\": [...], \"edges\": [...] }\n}\n```",
|
|
119
125
|
"requestBody": {
|
|
126
|
+
"description": "The agent creation request containing name, description, and optional graph specification.",
|
|
120
127
|
"content": {
|
|
121
128
|
"application/json": {
|
|
122
129
|
"schema": {
|
|
@@ -136,8 +143,38 @@
|
|
|
136
143
|
}
|
|
137
144
|
},
|
|
138
145
|
"responses": {
|
|
139
|
-
"
|
|
140
|
-
"description": "
|
|
146
|
+
"201": {
|
|
147
|
+
"description": "Agent created successfully. Returns the new agent details."
|
|
148
|
+
},
|
|
149
|
+
"400": {
|
|
150
|
+
"description": "Invalid request body. Check required fields and data formats.",
|
|
151
|
+
"content": {
|
|
152
|
+
"application/json": {
|
|
153
|
+
"schema": {
|
|
154
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
"401": {
|
|
160
|
+
"description": "Authentication required. Provide a valid Bearer token.",
|
|
161
|
+
"content": {
|
|
162
|
+
"application/json": {
|
|
163
|
+
"schema": {
|
|
164
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
"409": {
|
|
170
|
+
"description": "An agent with this name already exists in the workspace.",
|
|
171
|
+
"content": {
|
|
172
|
+
"application/json": {
|
|
173
|
+
"schema": {
|
|
174
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
}
|
|
141
178
|
}
|
|
142
179
|
}
|
|
143
180
|
},
|
|
@@ -145,10 +182,13 @@
|
|
|
145
182
|
"tags": [
|
|
146
183
|
"Agents"
|
|
147
184
|
],
|
|
185
|
+
"summary": "Lists all agents in the current workspace with pagination.",
|
|
186
|
+
"description": "Returns a paginated list of agents accessible to the current user within the specified workspace.\nResults are ordered by creation date (newest first).\n\n**Pagination:**\nUse `skip` and `take` parameters to paginate through large result sets.\nDefault page size is 20, maximum is 100.",
|
|
148
187
|
"parameters": [
|
|
149
188
|
{
|
|
150
189
|
"name": "skip",
|
|
151
190
|
"in": "query",
|
|
191
|
+
"description": "Number of records to skip for pagination. Default: 0.",
|
|
152
192
|
"schema": {
|
|
153
193
|
"type": "integer",
|
|
154
194
|
"format": "int32",
|
|
@@ -158,6 +198,7 @@
|
|
|
158
198
|
{
|
|
159
199
|
"name": "take",
|
|
160
200
|
"in": "query",
|
|
201
|
+
"description": "Maximum number of records to return. Default: 20, Max: 100.",
|
|
161
202
|
"schema": {
|
|
162
203
|
"type": "integer",
|
|
163
204
|
"format": "int32",
|
|
@@ -167,7 +208,27 @@
|
|
|
167
208
|
],
|
|
168
209
|
"responses": {
|
|
169
210
|
"200": {
|
|
170
|
-
"description": "
|
|
211
|
+
"description": "Returns the list of agents."
|
|
212
|
+
},
|
|
213
|
+
"400": {
|
|
214
|
+
"description": "X-Workspace-Id header is required.",
|
|
215
|
+
"content": {
|
|
216
|
+
"application/json": {
|
|
217
|
+
"schema": {
|
|
218
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
"401": {
|
|
224
|
+
"description": "Authentication required.",
|
|
225
|
+
"content": {
|
|
226
|
+
"application/json": {
|
|
227
|
+
"schema": {
|
|
228
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
}
|
|
171
232
|
}
|
|
172
233
|
}
|
|
173
234
|
}
|
|
@@ -177,11 +238,13 @@
|
|
|
177
238
|
"tags": [
|
|
178
239
|
"Agents"
|
|
179
240
|
],
|
|
180
|
-
"summary": "
|
|
241
|
+
"summary": "Retrieves a specific agent by its unique identifier.",
|
|
242
|
+
"description": "Returns the full agent details including configuration, live version reference,\nand metadata. Access is restricted to agents within your tenant (IDOR protected).",
|
|
181
243
|
"parameters": [
|
|
182
244
|
{
|
|
183
245
|
"name": "id",
|
|
184
246
|
"in": "path",
|
|
247
|
+
"description": "The unique identifier (GUID) of the agent to retrieve.",
|
|
185
248
|
"required": true,
|
|
186
249
|
"schema": {
|
|
187
250
|
"type": "string",
|
|
@@ -191,7 +254,27 @@
|
|
|
191
254
|
],
|
|
192
255
|
"responses": {
|
|
193
256
|
"200": {
|
|
194
|
-
"description": "
|
|
257
|
+
"description": "Returns the agent details."
|
|
258
|
+
},
|
|
259
|
+
"401": {
|
|
260
|
+
"description": "Authentication required.",
|
|
261
|
+
"content": {
|
|
262
|
+
"application/json": {
|
|
263
|
+
"schema": {
|
|
264
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
},
|
|
269
|
+
"404": {
|
|
270
|
+
"description": "Agent not found or not accessible.",
|
|
271
|
+
"content": {
|
|
272
|
+
"application/json": {
|
|
273
|
+
"schema": {
|
|
274
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
}
|
|
195
278
|
}
|
|
196
279
|
}
|
|
197
280
|
},
|
|
@@ -199,11 +282,13 @@
|
|
|
199
282
|
"tags": [
|
|
200
283
|
"Agents"
|
|
201
284
|
],
|
|
202
|
-
"summary": "
|
|
285
|
+
"summary": "Updates an existing agent's metadata and configuration.",
|
|
286
|
+
"description": "Performs a partial update (PATCH) on the agent. Only provided fields are updated.\n\n**Note:** This updates the agent metadata, not the version. To update the agent's\nbehavior/graph, create a new version instead.\n\n**Example Request:**\n```json\n{\n \"name\": \"updated-agent-name\",\n \"description\": \"New description for the agent\"\n}\n```",
|
|
203
287
|
"parameters": [
|
|
204
288
|
{
|
|
205
289
|
"name": "id",
|
|
206
290
|
"in": "path",
|
|
291
|
+
"description": "The unique identifier (GUID) of the agent to update.",
|
|
207
292
|
"required": true,
|
|
208
293
|
"schema": {
|
|
209
294
|
"type": "string",
|
|
@@ -212,6 +297,7 @@
|
|
|
212
297
|
}
|
|
213
298
|
],
|
|
214
299
|
"requestBody": {
|
|
300
|
+
"description": "The fields to update. Only non-null fields will be modified.",
|
|
215
301
|
"content": {
|
|
216
302
|
"application/json": {
|
|
217
303
|
"schema": {
|
|
@@ -232,7 +318,37 @@
|
|
|
232
318
|
},
|
|
233
319
|
"responses": {
|
|
234
320
|
"200": {
|
|
235
|
-
"description": "
|
|
321
|
+
"description": "Agent updated successfully. Returns updated agent."
|
|
322
|
+
},
|
|
323
|
+
"400": {
|
|
324
|
+
"description": "Invalid request body.",
|
|
325
|
+
"content": {
|
|
326
|
+
"application/json": {
|
|
327
|
+
"schema": {
|
|
328
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
},
|
|
333
|
+
"401": {
|
|
334
|
+
"description": "Authentication required.",
|
|
335
|
+
"content": {
|
|
336
|
+
"application/json": {
|
|
337
|
+
"schema": {
|
|
338
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
},
|
|
343
|
+
"404": {
|
|
344
|
+
"description": "Agent not found or not accessible.",
|
|
345
|
+
"content": {
|
|
346
|
+
"application/json": {
|
|
347
|
+
"schema": {
|
|
348
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
}
|
|
236
352
|
}
|
|
237
353
|
}
|
|
238
354
|
},
|
|
@@ -240,11 +356,13 @@
|
|
|
240
356
|
"tags": [
|
|
241
357
|
"Agents"
|
|
242
358
|
],
|
|
243
|
-
"summary": "
|
|
359
|
+
"summary": "Deletes an agent from the workspace.",
|
|
360
|
+
"description": "By default, performs a soft delete (marks as deleted but retains data).\nUse `hardDelete=true` to permanently remove the agent and all associated data.\n\n**Warning:** Hard delete is irreversible and will remove:\n- All agent versions\n- All associated runs and threads\n- All credential bindings",
|
|
244
361
|
"parameters": [
|
|
245
362
|
{
|
|
246
363
|
"name": "id",
|
|
247
364
|
"in": "path",
|
|
365
|
+
"description": "The unique identifier (GUID) of the agent to delete.",
|
|
248
366
|
"required": true,
|
|
249
367
|
"schema": {
|
|
250
368
|
"type": "string",
|
|
@@ -254,6 +372,7 @@
|
|
|
254
372
|
{
|
|
255
373
|
"name": "hardDelete",
|
|
256
374
|
"in": "query",
|
|
375
|
+
"description": "If true, permanently deletes the agent. Default: false (soft delete).",
|
|
257
376
|
"schema": {
|
|
258
377
|
"type": "boolean",
|
|
259
378
|
"default": false
|
|
@@ -261,8 +380,28 @@
|
|
|
261
380
|
}
|
|
262
381
|
],
|
|
263
382
|
"responses": {
|
|
264
|
-
"
|
|
265
|
-
"description": "
|
|
383
|
+
"204": {
|
|
384
|
+
"description": "Agent deleted successfully."
|
|
385
|
+
},
|
|
386
|
+
"401": {
|
|
387
|
+
"description": "Authentication required.",
|
|
388
|
+
"content": {
|
|
389
|
+
"application/json": {
|
|
390
|
+
"schema": {
|
|
391
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
},
|
|
396
|
+
"404": {
|
|
397
|
+
"description": "Agent not found or not accessible.",
|
|
398
|
+
"content": {
|
|
399
|
+
"application/json": {
|
|
400
|
+
"schema": {
|
|
401
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
}
|
|
266
405
|
}
|
|
267
406
|
}
|
|
268
407
|
}
|
|
@@ -272,11 +411,13 @@
|
|
|
272
411
|
"tags": [
|
|
273
412
|
"Agents"
|
|
274
413
|
],
|
|
275
|
-
"summary": "
|
|
414
|
+
"summary": "Gets a Mermaid diagram representation of the agent's graph.",
|
|
415
|
+
"description": "Returns the agent's workflow as a Mermaid diagram string that can be rendered\nin any Mermaid-compatible viewer. Uses the currently live version of the agent.\n\n**Example Response:**\n```json\n{\n \"mermaid\": \"graph TD\\n START --> LLM --> END\",\n \"agent_id\": \"...\",\n \"live_version_id\": \"...\"\n}\n```",
|
|
276
416
|
"parameters": [
|
|
277
417
|
{
|
|
278
418
|
"name": "id",
|
|
279
419
|
"in": "path",
|
|
420
|
+
"description": "The unique identifier (GUID) of the agent.",
|
|
280
421
|
"required": true,
|
|
281
422
|
"schema": {
|
|
282
423
|
"type": "string",
|
|
@@ -286,7 +427,27 @@
|
|
|
286
427
|
],
|
|
287
428
|
"responses": {
|
|
288
429
|
"200": {
|
|
289
|
-
"description": "
|
|
430
|
+
"description": "Returns the Mermaid graph representation."
|
|
431
|
+
},
|
|
432
|
+
"401": {
|
|
433
|
+
"description": "Authentication required.",
|
|
434
|
+
"content": {
|
|
435
|
+
"application/json": {
|
|
436
|
+
"schema": {
|
|
437
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
},
|
|
442
|
+
"404": {
|
|
443
|
+
"description": "Agent not found or not accessible.",
|
|
444
|
+
"content": {
|
|
445
|
+
"application/json": {
|
|
446
|
+
"schema": {
|
|
447
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
}
|
|
290
451
|
}
|
|
291
452
|
}
|
|
292
453
|
}
|
|
@@ -362,11 +523,13 @@
|
|
|
362
523
|
"tags": [
|
|
363
524
|
"AgentVersions"
|
|
364
525
|
],
|
|
365
|
-
"summary": "
|
|
526
|
+
"summary": "Creates a new version for an agent.",
|
|
527
|
+
"description": "Creates an immutable snapshot of the agent's configuration. The new version\ncan optionally be marked as the live version immediately.\n\n**Example Request:**\n```json\n{\n \"version_tag\": \"v1.2.0\",\n \"graph_spec\": { \"nodes\": [...], \"edges\": [...] },\n \"set_live\": true\n}\n```",
|
|
366
528
|
"parameters": [
|
|
367
529
|
{
|
|
368
530
|
"name": "agentId",
|
|
369
531
|
"in": "path",
|
|
532
|
+
"description": "The unique identifier of the parent agent.",
|
|
370
533
|
"required": true,
|
|
371
534
|
"schema": {
|
|
372
535
|
"type": "string",
|
|
@@ -375,6 +538,7 @@
|
|
|
375
538
|
}
|
|
376
539
|
],
|
|
377
540
|
"requestBody": {
|
|
541
|
+
"description": "The version creation request with graph specification.",
|
|
378
542
|
"content": {
|
|
379
543
|
"application/json": {
|
|
380
544
|
"schema": {
|
|
@@ -392,27 +556,334 @@
|
|
|
392
556
|
}
|
|
393
557
|
}
|
|
394
558
|
}
|
|
395
|
-
},
|
|
396
|
-
"responses": {
|
|
397
|
-
"
|
|
398
|
-
"description": "
|
|
399
|
-
}
|
|
559
|
+
},
|
|
560
|
+
"responses": {
|
|
561
|
+
"201": {
|
|
562
|
+
"description": "Version created successfully."
|
|
563
|
+
},
|
|
564
|
+
"400": {
|
|
565
|
+
"description": "Invalid request body or validation error.",
|
|
566
|
+
"content": {
|
|
567
|
+
"application/json": {
|
|
568
|
+
"schema": {
|
|
569
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
570
|
+
}
|
|
571
|
+
}
|
|
572
|
+
}
|
|
573
|
+
},
|
|
574
|
+
"401": {
|
|
575
|
+
"description": "Authentication required.",
|
|
576
|
+
"content": {
|
|
577
|
+
"application/json": {
|
|
578
|
+
"schema": {
|
|
579
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
580
|
+
}
|
|
581
|
+
}
|
|
582
|
+
}
|
|
583
|
+
},
|
|
584
|
+
"404": {
|
|
585
|
+
"description": "Parent agent not found.",
|
|
586
|
+
"content": {
|
|
587
|
+
"application/json": {
|
|
588
|
+
"schema": {
|
|
589
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
590
|
+
}
|
|
591
|
+
}
|
|
592
|
+
}
|
|
593
|
+
}
|
|
594
|
+
}
|
|
595
|
+
},
|
|
596
|
+
"get": {
|
|
597
|
+
"tags": [
|
|
598
|
+
"AgentVersions"
|
|
599
|
+
],
|
|
600
|
+
"summary": "Lists all versions for an agent.",
|
|
601
|
+
"description": "Returns all versions of the specified agent, ordered by creation date (newest first).\nThe response includes which version is currently set as \"live\".",
|
|
602
|
+
"parameters": [
|
|
603
|
+
{
|
|
604
|
+
"name": "agentId",
|
|
605
|
+
"in": "path",
|
|
606
|
+
"description": "The unique identifier of the agent.",
|
|
607
|
+
"required": true,
|
|
608
|
+
"schema": {
|
|
609
|
+
"type": "string",
|
|
610
|
+
"format": "uuid"
|
|
611
|
+
}
|
|
612
|
+
}
|
|
613
|
+
],
|
|
614
|
+
"responses": {
|
|
615
|
+
"200": {
|
|
616
|
+
"description": "Returns the list of versions."
|
|
617
|
+
},
|
|
618
|
+
"401": {
|
|
619
|
+
"description": "Authentication required.",
|
|
620
|
+
"content": {
|
|
621
|
+
"application/json": {
|
|
622
|
+
"schema": {
|
|
623
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
624
|
+
}
|
|
625
|
+
}
|
|
626
|
+
}
|
|
627
|
+
}
|
|
628
|
+
}
|
|
629
|
+
}
|
|
630
|
+
},
|
|
631
|
+
"/v1/api/agents/{agentId}/versions/{versionId}": {
|
|
632
|
+
"get": {
|
|
633
|
+
"tags": [
|
|
634
|
+
"AgentVersions"
|
|
635
|
+
],
|
|
636
|
+
"summary": "Retrieves a specific version by its identifier.",
|
|
637
|
+
"description": "Returns the full details of a specific agent version, including its\ngraph specification and all configuration settings.",
|
|
638
|
+
"parameters": [
|
|
639
|
+
{
|
|
640
|
+
"name": "agentId",
|
|
641
|
+
"in": "path",
|
|
642
|
+
"description": "The unique identifier of the parent agent.",
|
|
643
|
+
"required": true,
|
|
644
|
+
"schema": {
|
|
645
|
+
"type": "string",
|
|
646
|
+
"format": "uuid"
|
|
647
|
+
}
|
|
648
|
+
},
|
|
649
|
+
{
|
|
650
|
+
"name": "versionId",
|
|
651
|
+
"in": "path",
|
|
652
|
+
"description": "The unique identifier of the version to retrieve.",
|
|
653
|
+
"required": true,
|
|
654
|
+
"schema": {
|
|
655
|
+
"type": "string",
|
|
656
|
+
"format": "uuid"
|
|
657
|
+
}
|
|
658
|
+
}
|
|
659
|
+
],
|
|
660
|
+
"responses": {
|
|
661
|
+
"200": {
|
|
662
|
+
"description": "Returns the version details."
|
|
663
|
+
},
|
|
664
|
+
"401": {
|
|
665
|
+
"description": "Authentication required.",
|
|
666
|
+
"content": {
|
|
667
|
+
"application/json": {
|
|
668
|
+
"schema": {
|
|
669
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
670
|
+
}
|
|
671
|
+
}
|
|
672
|
+
}
|
|
673
|
+
},
|
|
674
|
+
"404": {
|
|
675
|
+
"description": "Version not found.",
|
|
676
|
+
"content": {
|
|
677
|
+
"application/json": {
|
|
678
|
+
"schema": {
|
|
679
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
680
|
+
}
|
|
681
|
+
}
|
|
682
|
+
}
|
|
683
|
+
}
|
|
684
|
+
}
|
|
685
|
+
},
|
|
686
|
+
"patch": {
|
|
687
|
+
"tags": [
|
|
688
|
+
"AgentVersions"
|
|
689
|
+
],
|
|
690
|
+
"summary": "Updates are not allowed - versions are immutable.",
|
|
691
|
+
"description": "Agent versions are immutable by design. This endpoint always returns a 409 Conflict\nto enforce this invariant. To change an agent's behavior, create a new version instead.\n\n**Why immutability?**\n- Reproducibility: Every run can be traced to an exact version\n- Auditability: Version history provides a complete changelog\n- Rollback: Easy to revert to any previous version",
|
|
692
|
+
"parameters": [
|
|
693
|
+
{
|
|
694
|
+
"name": "agentId",
|
|
695
|
+
"in": "path",
|
|
696
|
+
"description": "The unique identifier of the parent agent.",
|
|
697
|
+
"required": true,
|
|
698
|
+
"schema": {
|
|
699
|
+
"type": "string",
|
|
700
|
+
"format": "uuid"
|
|
701
|
+
}
|
|
702
|
+
},
|
|
703
|
+
{
|
|
704
|
+
"name": "versionId",
|
|
705
|
+
"in": "path",
|
|
706
|
+
"description": "The unique identifier of the version.",
|
|
707
|
+
"required": true,
|
|
708
|
+
"schema": {
|
|
709
|
+
"type": "string",
|
|
710
|
+
"format": "uuid"
|
|
711
|
+
}
|
|
712
|
+
}
|
|
713
|
+
],
|
|
714
|
+
"requestBody": {
|
|
715
|
+
"description": "The update request (ignored - updates not allowed).",
|
|
716
|
+
"content": {
|
|
717
|
+
"application/json": {
|
|
718
|
+
"schema": { }
|
|
719
|
+
},
|
|
720
|
+
"text/json": {
|
|
721
|
+
"schema": { }
|
|
722
|
+
},
|
|
723
|
+
"application/*+json": {
|
|
724
|
+
"schema": { }
|
|
725
|
+
}
|
|
726
|
+
}
|
|
727
|
+
},
|
|
728
|
+
"responses": {
|
|
729
|
+
"409": {
|
|
730
|
+
"description": "Versions are immutable. Create a new version instead.",
|
|
731
|
+
"content": {
|
|
732
|
+
"application/json": {
|
|
733
|
+
"schema": {
|
|
734
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
735
|
+
}
|
|
736
|
+
}
|
|
737
|
+
}
|
|
738
|
+
}
|
|
739
|
+
}
|
|
740
|
+
}
|
|
741
|
+
},
|
|
742
|
+
"/v1/api/tokens": {
|
|
743
|
+
"get": {
|
|
744
|
+
"tags": [
|
|
745
|
+
"ApiTokens"
|
|
746
|
+
],
|
|
747
|
+
"summary": "Lists all API tokens for the current workspace.",
|
|
748
|
+
"description": "Returns token metadata without secrets. Token secrets are only\navailable at creation time and cannot be retrieved later.",
|
|
749
|
+
"responses": {
|
|
750
|
+
"200": {
|
|
751
|
+
"description": "Returns the list of tokens."
|
|
752
|
+
},
|
|
753
|
+
"400": {
|
|
754
|
+
"description": "Workspace ID header is required.",
|
|
755
|
+
"content": {
|
|
756
|
+
"application/json": {
|
|
757
|
+
"schema": {
|
|
758
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
759
|
+
}
|
|
760
|
+
}
|
|
761
|
+
}
|
|
762
|
+
}
|
|
763
|
+
}
|
|
764
|
+
},
|
|
765
|
+
"post": {
|
|
766
|
+
"tags": [
|
|
767
|
+
"ApiTokens"
|
|
768
|
+
],
|
|
769
|
+
"summary": "Create a new API token.\nThe token secret is only returned once on creation.",
|
|
770
|
+
"requestBody": {
|
|
771
|
+
"content": {
|
|
772
|
+
"application/json": {
|
|
773
|
+
"schema": {
|
|
774
|
+
"$ref": "#/components/schemas/CreateTokenRequest"
|
|
775
|
+
}
|
|
776
|
+
},
|
|
777
|
+
"text/json": {
|
|
778
|
+
"schema": {
|
|
779
|
+
"$ref": "#/components/schemas/CreateTokenRequest"
|
|
780
|
+
}
|
|
781
|
+
},
|
|
782
|
+
"application/*+json": {
|
|
783
|
+
"schema": {
|
|
784
|
+
"$ref": "#/components/schemas/CreateTokenRequest"
|
|
785
|
+
}
|
|
786
|
+
}
|
|
787
|
+
}
|
|
788
|
+
},
|
|
789
|
+
"responses": {
|
|
790
|
+
"200": {
|
|
791
|
+
"description": "OK"
|
|
792
|
+
}
|
|
793
|
+
}
|
|
794
|
+
}
|
|
795
|
+
},
|
|
796
|
+
"/v1/api/tokens/{id}": {
|
|
797
|
+
"delete": {
|
|
798
|
+
"tags": [
|
|
799
|
+
"ApiTokens"
|
|
800
|
+
],
|
|
801
|
+
"summary": "Revoke an API token immediately.",
|
|
802
|
+
"parameters": [
|
|
803
|
+
{
|
|
804
|
+
"name": "id",
|
|
805
|
+
"in": "path",
|
|
806
|
+
"required": true,
|
|
807
|
+
"schema": {
|
|
808
|
+
"type": "string",
|
|
809
|
+
"format": "uuid"
|
|
810
|
+
}
|
|
811
|
+
}
|
|
812
|
+
],
|
|
813
|
+
"responses": {
|
|
814
|
+
"200": {
|
|
815
|
+
"description": "OK"
|
|
816
|
+
}
|
|
817
|
+
}
|
|
818
|
+
}
|
|
819
|
+
},
|
|
820
|
+
"/v1/api/tokens/{id}/rotate": {
|
|
821
|
+
"post": {
|
|
822
|
+
"tags": [
|
|
823
|
+
"ApiTokens"
|
|
824
|
+
],
|
|
825
|
+
"summary": "Rotate an API token - revokes current and issues a new one.\nThe new token secret is only returned once.",
|
|
826
|
+
"description": "Rotation is useful for security hygiene (periodic credential rotation)\nor when a token may have been compromised. The new token inherits\nthe same scopes and expiration policy as the original.",
|
|
827
|
+
"parameters": [
|
|
828
|
+
{
|
|
829
|
+
"name": "id",
|
|
830
|
+
"in": "path",
|
|
831
|
+
"description": "Token ID to rotate.",
|
|
832
|
+
"required": true,
|
|
833
|
+
"schema": {
|
|
834
|
+
"type": "string",
|
|
835
|
+
"format": "uuid"
|
|
836
|
+
}
|
|
837
|
+
}
|
|
838
|
+
],
|
|
839
|
+
"responses": {
|
|
840
|
+
"200": {
|
|
841
|
+
"description": "Token rotated successfully, new secret returned."
|
|
842
|
+
},
|
|
843
|
+
"404": {
|
|
844
|
+
"description": "Token not found or already revoked.",
|
|
845
|
+
"content": {
|
|
846
|
+
"application/json": {
|
|
847
|
+
"schema": {
|
|
848
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
849
|
+
}
|
|
850
|
+
}
|
|
851
|
+
}
|
|
852
|
+
}
|
|
400
853
|
}
|
|
401
|
-
}
|
|
854
|
+
}
|
|
855
|
+
},
|
|
856
|
+
"/v1/api/workspaces/{workspaceId}/approvals": {
|
|
402
857
|
"get": {
|
|
403
858
|
"tags": [
|
|
404
|
-
"
|
|
859
|
+
"Approvals"
|
|
405
860
|
],
|
|
406
|
-
"summary": "List
|
|
861
|
+
"summary": "List approvals for a workspace, optionally filtered by status.",
|
|
407
862
|
"parameters": [
|
|
408
863
|
{
|
|
409
|
-
"name": "
|
|
864
|
+
"name": "workspaceId",
|
|
410
865
|
"in": "path",
|
|
411
866
|
"required": true,
|
|
412
867
|
"schema": {
|
|
413
868
|
"type": "string",
|
|
414
869
|
"format": "uuid"
|
|
415
870
|
}
|
|
871
|
+
},
|
|
872
|
+
{
|
|
873
|
+
"name": "status",
|
|
874
|
+
"in": "query",
|
|
875
|
+
"schema": {
|
|
876
|
+
"type": "string"
|
|
877
|
+
}
|
|
878
|
+
},
|
|
879
|
+
{
|
|
880
|
+
"name": "limit",
|
|
881
|
+
"in": "query",
|
|
882
|
+
"schema": {
|
|
883
|
+
"type": "integer",
|
|
884
|
+
"format": "int32",
|
|
885
|
+
"default": 50
|
|
886
|
+
}
|
|
416
887
|
}
|
|
417
888
|
],
|
|
418
889
|
"responses": {
|
|
@@ -422,15 +893,15 @@
|
|
|
422
893
|
}
|
|
423
894
|
}
|
|
424
895
|
},
|
|
425
|
-
"/v1/api/
|
|
896
|
+
"/v1/api/workspaces/{workspaceId}/approvals/{approvalId}": {
|
|
426
897
|
"get": {
|
|
427
898
|
"tags": [
|
|
428
|
-
"
|
|
899
|
+
"Approvals"
|
|
429
900
|
],
|
|
430
|
-
"summary": "Get specific
|
|
901
|
+
"summary": "Get a specific approval by ID.",
|
|
431
902
|
"parameters": [
|
|
432
903
|
{
|
|
433
|
-
"name": "
|
|
904
|
+
"name": "workspaceId",
|
|
434
905
|
"in": "path",
|
|
435
906
|
"required": true,
|
|
436
907
|
"schema": {
|
|
@@ -439,7 +910,7 @@
|
|
|
439
910
|
}
|
|
440
911
|
},
|
|
441
912
|
{
|
|
442
|
-
"name": "
|
|
913
|
+
"name": "approvalId",
|
|
443
914
|
"in": "path",
|
|
444
915
|
"required": true,
|
|
445
916
|
"schema": {
|
|
@@ -453,15 +924,17 @@
|
|
|
453
924
|
"description": "OK"
|
|
454
925
|
}
|
|
455
926
|
}
|
|
456
|
-
}
|
|
457
|
-
|
|
927
|
+
}
|
|
928
|
+
},
|
|
929
|
+
"/v1/api/workspaces/{workspaceId}/approvals/{approvalId}/decision": {
|
|
930
|
+
"post": {
|
|
458
931
|
"tags": [
|
|
459
|
-
"
|
|
932
|
+
"Approvals"
|
|
460
933
|
],
|
|
461
|
-
"summary": "
|
|
934
|
+
"summary": "Decide on an approval: approve or deny.\nIdempotent: re-deciding returns 200 no-op.",
|
|
462
935
|
"parameters": [
|
|
463
936
|
{
|
|
464
|
-
"name": "
|
|
937
|
+
"name": "workspaceId",
|
|
465
938
|
"in": "path",
|
|
466
939
|
"required": true,
|
|
467
940
|
"schema": {
|
|
@@ -470,7 +943,7 @@
|
|
|
470
943
|
}
|
|
471
944
|
},
|
|
472
945
|
{
|
|
473
|
-
"name": "
|
|
946
|
+
"name": "approvalId",
|
|
474
947
|
"in": "path",
|
|
475
948
|
"required": true,
|
|
476
949
|
"schema": {
|
|
@@ -479,58 +952,21 @@
|
|
|
479
952
|
}
|
|
480
953
|
}
|
|
481
954
|
],
|
|
482
|
-
"requestBody": {
|
|
483
|
-
"content": {
|
|
484
|
-
"application/json": {
|
|
485
|
-
"schema": { }
|
|
486
|
-
},
|
|
487
|
-
"text/json": {
|
|
488
|
-
"schema": { }
|
|
489
|
-
},
|
|
490
|
-
"application/*+json": {
|
|
491
|
-
"schema": { }
|
|
492
|
-
}
|
|
493
|
-
}
|
|
494
|
-
},
|
|
495
|
-
"responses": {
|
|
496
|
-
"200": {
|
|
497
|
-
"description": "OK"
|
|
498
|
-
}
|
|
499
|
-
}
|
|
500
|
-
}
|
|
501
|
-
},
|
|
502
|
-
"/v1/api/tokens": {
|
|
503
|
-
"get": {
|
|
504
|
-
"tags": [
|
|
505
|
-
"ApiTokens"
|
|
506
|
-
],
|
|
507
|
-
"summary": "List all API tokens for the current workspace.\nToken secrets are never returned.",
|
|
508
|
-
"responses": {
|
|
509
|
-
"200": {
|
|
510
|
-
"description": "OK"
|
|
511
|
-
}
|
|
512
|
-
}
|
|
513
|
-
},
|
|
514
|
-
"post": {
|
|
515
|
-
"tags": [
|
|
516
|
-
"ApiTokens"
|
|
517
|
-
],
|
|
518
|
-
"summary": "Create a new API token.\nThe token secret is only returned once on creation.",
|
|
519
955
|
"requestBody": {
|
|
520
956
|
"content": {
|
|
521
957
|
"application/json": {
|
|
522
958
|
"schema": {
|
|
523
|
-
"$ref": "#/components/schemas/
|
|
959
|
+
"$ref": "#/components/schemas/ApprovalDecision"
|
|
524
960
|
}
|
|
525
961
|
},
|
|
526
962
|
"text/json": {
|
|
527
963
|
"schema": {
|
|
528
|
-
"$ref": "#/components/schemas/
|
|
964
|
+
"$ref": "#/components/schemas/ApprovalDecision"
|
|
529
965
|
}
|
|
530
966
|
},
|
|
531
967
|
"application/*+json": {
|
|
532
968
|
"schema": {
|
|
533
|
-
"$ref": "#/components/schemas/
|
|
969
|
+
"$ref": "#/components/schemas/ApprovalDecision"
|
|
534
970
|
}
|
|
535
971
|
}
|
|
536
972
|
}
|
|
@@ -542,30 +978,6 @@
|
|
|
542
978
|
}
|
|
543
979
|
}
|
|
544
980
|
},
|
|
545
|
-
"/v1/api/tokens/{id}": {
|
|
546
|
-
"delete": {
|
|
547
|
-
"tags": [
|
|
548
|
-
"ApiTokens"
|
|
549
|
-
],
|
|
550
|
-
"summary": "Revoke an API token immediately.",
|
|
551
|
-
"parameters": [
|
|
552
|
-
{
|
|
553
|
-
"name": "id",
|
|
554
|
-
"in": "path",
|
|
555
|
-
"required": true,
|
|
556
|
-
"schema": {
|
|
557
|
-
"type": "string",
|
|
558
|
-
"format": "uuid"
|
|
559
|
-
}
|
|
560
|
-
}
|
|
561
|
-
],
|
|
562
|
-
"responses": {
|
|
563
|
-
"200": {
|
|
564
|
-
"description": "OK"
|
|
565
|
-
}
|
|
566
|
-
}
|
|
567
|
-
}
|
|
568
|
-
},
|
|
569
981
|
"/v1/api/audit": {
|
|
570
982
|
"get": {
|
|
571
983
|
"tags": [
|
|
@@ -724,6 +1136,92 @@
|
|
|
724
1136
|
}
|
|
725
1137
|
}
|
|
726
1138
|
},
|
|
1139
|
+
"/v1/api/builder/{agentId}/chat": {
|
|
1140
|
+
"post": {
|
|
1141
|
+
"tags": [
|
|
1142
|
+
"Builder"
|
|
1143
|
+
],
|
|
1144
|
+
"summary": "Chat with the Meta-Agent to modify an agent's graph.\nReturns SSE stream: message, graph_update, done events.",
|
|
1145
|
+
"parameters": [
|
|
1146
|
+
{
|
|
1147
|
+
"name": "agentId",
|
|
1148
|
+
"in": "path",
|
|
1149
|
+
"required": true,
|
|
1150
|
+
"schema": {
|
|
1151
|
+
"type": "string",
|
|
1152
|
+
"format": "uuid"
|
|
1153
|
+
}
|
|
1154
|
+
}
|
|
1155
|
+
],
|
|
1156
|
+
"requestBody": {
|
|
1157
|
+
"content": {
|
|
1158
|
+
"application/json": {
|
|
1159
|
+
"schema": {
|
|
1160
|
+
"$ref": "#/components/schemas/BuilderChatRequest"
|
|
1161
|
+
}
|
|
1162
|
+
},
|
|
1163
|
+
"text/json": {
|
|
1164
|
+
"schema": {
|
|
1165
|
+
"$ref": "#/components/schemas/BuilderChatRequest"
|
|
1166
|
+
}
|
|
1167
|
+
},
|
|
1168
|
+
"application/*+json": {
|
|
1169
|
+
"schema": {
|
|
1170
|
+
"$ref": "#/components/schemas/BuilderChatRequest"
|
|
1171
|
+
}
|
|
1172
|
+
}
|
|
1173
|
+
}
|
|
1174
|
+
},
|
|
1175
|
+
"responses": {
|
|
1176
|
+
"200": {
|
|
1177
|
+
"description": "OK"
|
|
1178
|
+
}
|
|
1179
|
+
}
|
|
1180
|
+
}
|
|
1181
|
+
},
|
|
1182
|
+
"/v1/api/builder/{agentId}/chat/sync": {
|
|
1183
|
+
"post": {
|
|
1184
|
+
"tags": [
|
|
1185
|
+
"Builder"
|
|
1186
|
+
],
|
|
1187
|
+
"summary": "Synchronous version of builder chat (for testing).",
|
|
1188
|
+
"parameters": [
|
|
1189
|
+
{
|
|
1190
|
+
"name": "agentId",
|
|
1191
|
+
"in": "path",
|
|
1192
|
+
"required": true,
|
|
1193
|
+
"schema": {
|
|
1194
|
+
"type": "string",
|
|
1195
|
+
"format": "uuid"
|
|
1196
|
+
}
|
|
1197
|
+
}
|
|
1198
|
+
],
|
|
1199
|
+
"requestBody": {
|
|
1200
|
+
"content": {
|
|
1201
|
+
"application/json": {
|
|
1202
|
+
"schema": {
|
|
1203
|
+
"$ref": "#/components/schemas/BuilderChatRequest"
|
|
1204
|
+
}
|
|
1205
|
+
},
|
|
1206
|
+
"text/json": {
|
|
1207
|
+
"schema": {
|
|
1208
|
+
"$ref": "#/components/schemas/BuilderChatRequest"
|
|
1209
|
+
}
|
|
1210
|
+
},
|
|
1211
|
+
"application/*+json": {
|
|
1212
|
+
"schema": {
|
|
1213
|
+
"$ref": "#/components/schemas/BuilderChatRequest"
|
|
1214
|
+
}
|
|
1215
|
+
}
|
|
1216
|
+
}
|
|
1217
|
+
},
|
|
1218
|
+
"responses": {
|
|
1219
|
+
"200": {
|
|
1220
|
+
"description": "OK"
|
|
1221
|
+
}
|
|
1222
|
+
}
|
|
1223
|
+
}
|
|
1224
|
+
},
|
|
727
1225
|
"/v1/api/workspaces/{workspaceId}/runs/{runId}/checkpoints": {
|
|
728
1226
|
"get": {
|
|
729
1227
|
"tags": [
|
|
@@ -754,40 +1252,20 @@
|
|
|
754
1252
|
"200": {
|
|
755
1253
|
"description": "OK",
|
|
756
1254
|
"content": {
|
|
757
|
-
"text/plain": {
|
|
758
|
-
"schema": {
|
|
759
|
-
"$ref": "#/components/schemas/CheckpointListResponse"
|
|
760
|
-
}
|
|
761
|
-
},
|
|
762
1255
|
"application/json": {
|
|
763
1256
|
"schema": {
|
|
764
1257
|
"$ref": "#/components/schemas/CheckpointListResponse"
|
|
765
1258
|
}
|
|
766
|
-
},
|
|
767
|
-
"text/json": {
|
|
768
|
-
"schema": {
|
|
769
|
-
"$ref": "#/components/schemas/CheckpointListResponse"
|
|
770
|
-
}
|
|
771
1259
|
}
|
|
772
1260
|
}
|
|
773
1261
|
},
|
|
774
1262
|
"404": {
|
|
775
1263
|
"description": "Not Found",
|
|
776
1264
|
"content": {
|
|
777
|
-
"text/plain": {
|
|
778
|
-
"schema": {
|
|
779
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
780
|
-
}
|
|
781
|
-
},
|
|
782
1265
|
"application/json": {
|
|
783
1266
|
"schema": {
|
|
784
1267
|
"$ref": "#/components/schemas/ProblemDetails"
|
|
785
1268
|
}
|
|
786
|
-
},
|
|
787
|
-
"text/json": {
|
|
788
|
-
"schema": {
|
|
789
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
790
|
-
}
|
|
791
1269
|
}
|
|
792
1270
|
}
|
|
793
1271
|
}
|
|
@@ -841,20 +1319,10 @@
|
|
|
841
1319
|
"201": {
|
|
842
1320
|
"description": "Created",
|
|
843
1321
|
"content": {
|
|
844
|
-
"text/plain": {
|
|
845
|
-
"schema": {
|
|
846
|
-
"$ref": "#/components/schemas/CheckpointDetail"
|
|
847
|
-
}
|
|
848
|
-
},
|
|
849
1322
|
"application/json": {
|
|
850
1323
|
"schema": {
|
|
851
1324
|
"$ref": "#/components/schemas/CheckpointDetail"
|
|
852
1325
|
}
|
|
853
|
-
},
|
|
854
|
-
"text/json": {
|
|
855
|
-
"schema": {
|
|
856
|
-
"$ref": "#/components/schemas/CheckpointDetail"
|
|
857
|
-
}
|
|
858
1326
|
}
|
|
859
1327
|
}
|
|
860
1328
|
}
|
|
@@ -900,40 +1368,20 @@
|
|
|
900
1368
|
"200": {
|
|
901
1369
|
"description": "OK",
|
|
902
1370
|
"content": {
|
|
903
|
-
"text/plain": {
|
|
904
|
-
"schema": {
|
|
905
|
-
"$ref": "#/components/schemas/CheckpointDetail"
|
|
906
|
-
}
|
|
907
|
-
},
|
|
908
1371
|
"application/json": {
|
|
909
1372
|
"schema": {
|
|
910
1373
|
"$ref": "#/components/schemas/CheckpointDetail"
|
|
911
1374
|
}
|
|
912
|
-
},
|
|
913
|
-
"text/json": {
|
|
914
|
-
"schema": {
|
|
915
|
-
"$ref": "#/components/schemas/CheckpointDetail"
|
|
916
|
-
}
|
|
917
1375
|
}
|
|
918
1376
|
}
|
|
919
1377
|
},
|
|
920
1378
|
"404": {
|
|
921
1379
|
"description": "Not Found",
|
|
922
1380
|
"content": {
|
|
923
|
-
"text/plain": {
|
|
924
|
-
"schema": {
|
|
925
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
926
|
-
}
|
|
927
|
-
},
|
|
928
1381
|
"application/json": {
|
|
929
1382
|
"schema": {
|
|
930
1383
|
"$ref": "#/components/schemas/ProblemDetails"
|
|
931
1384
|
}
|
|
932
|
-
},
|
|
933
|
-
"text/json": {
|
|
934
|
-
"schema": {
|
|
935
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
936
|
-
}
|
|
937
1385
|
}
|
|
938
1386
|
}
|
|
939
1387
|
}
|
|
@@ -998,40 +1446,20 @@
|
|
|
998
1446
|
"201": {
|
|
999
1447
|
"description": "Created",
|
|
1000
1448
|
"content": {
|
|
1001
|
-
"text/plain": {
|
|
1002
|
-
"schema": {
|
|
1003
|
-
"$ref": "#/components/schemas/ReplayResponse"
|
|
1004
|
-
}
|
|
1005
|
-
},
|
|
1006
1449
|
"application/json": {
|
|
1007
1450
|
"schema": {
|
|
1008
1451
|
"$ref": "#/components/schemas/ReplayResponse"
|
|
1009
1452
|
}
|
|
1010
|
-
},
|
|
1011
|
-
"text/json": {
|
|
1012
|
-
"schema": {
|
|
1013
|
-
"$ref": "#/components/schemas/ReplayResponse"
|
|
1014
|
-
}
|
|
1015
1453
|
}
|
|
1016
1454
|
}
|
|
1017
1455
|
},
|
|
1018
1456
|
"404": {
|
|
1019
1457
|
"description": "Not Found",
|
|
1020
1458
|
"content": {
|
|
1021
|
-
"text/plain": {
|
|
1022
|
-
"schema": {
|
|
1023
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
1024
|
-
}
|
|
1025
|
-
},
|
|
1026
1459
|
"application/json": {
|
|
1027
1460
|
"schema": {
|
|
1028
1461
|
"$ref": "#/components/schemas/ProblemDetails"
|
|
1029
1462
|
}
|
|
1030
|
-
},
|
|
1031
|
-
"text/json": {
|
|
1032
|
-
"schema": {
|
|
1033
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
1034
|
-
}
|
|
1035
1463
|
}
|
|
1036
1464
|
}
|
|
1037
1465
|
}
|
|
@@ -1043,18 +1471,13 @@
|
|
|
1043
1471
|
"tags": [
|
|
1044
1472
|
"Credentials"
|
|
1045
1473
|
],
|
|
1474
|
+
"summary": "Lists all credentials accessible to the current tenant/workspace.",
|
|
1475
|
+
"description": "Returns credentials the user has access to. Does not expose the encrypted values,\nonly metadata like name, type, scope, and status.",
|
|
1046
1476
|
"parameters": [
|
|
1047
|
-
{
|
|
1048
|
-
"name": "X-Tenant-Id",
|
|
1049
|
-
"in": "header",
|
|
1050
|
-
"schema": {
|
|
1051
|
-
"type": "string",
|
|
1052
|
-
"format": "uuid"
|
|
1053
|
-
}
|
|
1054
|
-
},
|
|
1055
1477
|
{
|
|
1056
1478
|
"name": "workspaceId",
|
|
1057
1479
|
"in": "query",
|
|
1480
|
+
"description": "Optional filter by workspace.",
|
|
1058
1481
|
"schema": {
|
|
1059
1482
|
"type": "string",
|
|
1060
1483
|
"format": "uuid"
|
|
@@ -1063,7 +1486,17 @@
|
|
|
1063
1486
|
],
|
|
1064
1487
|
"responses": {
|
|
1065
1488
|
"200": {
|
|
1066
|
-
"description": "
|
|
1489
|
+
"description": "Returns the list of credentials."
|
|
1490
|
+
},
|
|
1491
|
+
"401": {
|
|
1492
|
+
"description": "Authentication required.",
|
|
1493
|
+
"content": {
|
|
1494
|
+
"application/json": {
|
|
1495
|
+
"schema": {
|
|
1496
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
1497
|
+
}
|
|
1498
|
+
}
|
|
1499
|
+
}
|
|
1067
1500
|
}
|
|
1068
1501
|
}
|
|
1069
1502
|
},
|
|
@@ -1071,17 +1504,10 @@
|
|
|
1071
1504
|
"tags": [
|
|
1072
1505
|
"Credentials"
|
|
1073
1506
|
],
|
|
1074
|
-
"
|
|
1075
|
-
|
|
1076
|
-
"name": "X-Member-Id",
|
|
1077
|
-
"in": "header",
|
|
1078
|
-
"schema": {
|
|
1079
|
-
"type": "string",
|
|
1080
|
-
"format": "uuid"
|
|
1081
|
-
}
|
|
1082
|
-
}
|
|
1083
|
-
],
|
|
1507
|
+
"summary": "Creates a new credential.",
|
|
1508
|
+
"description": "Creates a new encrypted credential for storing API keys or secrets.\nThe credential is encrypted at rest using workspace-specific keys.",
|
|
1084
1509
|
"requestBody": {
|
|
1510
|
+
"description": "The credential configuration.",
|
|
1085
1511
|
"content": {
|
|
1086
1512
|
"application/json": {
|
|
1087
1513
|
"schema": {
|
|
@@ -1098,11 +1524,31 @@
|
|
|
1098
1524
|
"$ref": "#/components/schemas/CreateCredentialRequest"
|
|
1099
1525
|
}
|
|
1100
1526
|
}
|
|
1101
|
-
}
|
|
1102
|
-
},
|
|
1103
|
-
"responses": {
|
|
1104
|
-
"
|
|
1105
|
-
"description": "
|
|
1527
|
+
}
|
|
1528
|
+
},
|
|
1529
|
+
"responses": {
|
|
1530
|
+
"201": {
|
|
1531
|
+
"description": "Credential created successfully."
|
|
1532
|
+
},
|
|
1533
|
+
"400": {
|
|
1534
|
+
"description": "Invalid request (missing TypeId or WorkspaceId).",
|
|
1535
|
+
"content": {
|
|
1536
|
+
"application/json": {
|
|
1537
|
+
"schema": {
|
|
1538
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
1539
|
+
}
|
|
1540
|
+
}
|
|
1541
|
+
}
|
|
1542
|
+
},
|
|
1543
|
+
"401": {
|
|
1544
|
+
"description": "Authentication required.",
|
|
1545
|
+
"content": {
|
|
1546
|
+
"application/json": {
|
|
1547
|
+
"schema": {
|
|
1548
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
1549
|
+
}
|
|
1550
|
+
}
|
|
1551
|
+
}
|
|
1106
1552
|
}
|
|
1107
1553
|
}
|
|
1108
1554
|
}
|
|
@@ -1112,26 +1558,21 @@
|
|
|
1112
1558
|
"tags": [
|
|
1113
1559
|
"Credentials"
|
|
1114
1560
|
],
|
|
1561
|
+
"summary": "Updates an existing credential.",
|
|
1115
1562
|
"parameters": [
|
|
1116
1563
|
{
|
|
1117
1564
|
"name": "id",
|
|
1118
1565
|
"in": "path",
|
|
1566
|
+
"description": "The credential ID.",
|
|
1119
1567
|
"required": true,
|
|
1120
1568
|
"schema": {
|
|
1121
1569
|
"type": "string",
|
|
1122
1570
|
"format": "uuid"
|
|
1123
1571
|
}
|
|
1124
|
-
},
|
|
1125
|
-
{
|
|
1126
|
-
"name": "X-Member-Id",
|
|
1127
|
-
"in": "header",
|
|
1128
|
-
"schema": {
|
|
1129
|
-
"type": "string",
|
|
1130
|
-
"format": "uuid"
|
|
1131
|
-
}
|
|
1132
1572
|
}
|
|
1133
1573
|
],
|
|
1134
1574
|
"requestBody": {
|
|
1575
|
+
"description": "The update payload.",
|
|
1135
1576
|
"content": {
|
|
1136
1577
|
"application/json": {
|
|
1137
1578
|
"schema": {
|
|
@@ -1152,7 +1593,17 @@
|
|
|
1152
1593
|
},
|
|
1153
1594
|
"responses": {
|
|
1154
1595
|
"200": {
|
|
1155
|
-
"description": "
|
|
1596
|
+
"description": "Credential updated successfully."
|
|
1597
|
+
},
|
|
1598
|
+
"404": {
|
|
1599
|
+
"description": "Credential not found.",
|
|
1600
|
+
"content": {
|
|
1601
|
+
"application/json": {
|
|
1602
|
+
"schema": {
|
|
1603
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
1604
|
+
}
|
|
1605
|
+
}
|
|
1606
|
+
}
|
|
1156
1607
|
}
|
|
1157
1608
|
}
|
|
1158
1609
|
}
|
|
@@ -1162,26 +1613,21 @@
|
|
|
1162
1613
|
"tags": [
|
|
1163
1614
|
"Credentials"
|
|
1164
1615
|
],
|
|
1616
|
+
"summary": "Grants access to a credential for a workspace.",
|
|
1165
1617
|
"parameters": [
|
|
1166
1618
|
{
|
|
1167
1619
|
"name": "id",
|
|
1168
1620
|
"in": "path",
|
|
1621
|
+
"description": "The credential ID.",
|
|
1169
1622
|
"required": true,
|
|
1170
1623
|
"schema": {
|
|
1171
1624
|
"type": "string",
|
|
1172
1625
|
"format": "uuid"
|
|
1173
1626
|
}
|
|
1174
|
-
},
|
|
1175
|
-
{
|
|
1176
|
-
"name": "X-Member-Id",
|
|
1177
|
-
"in": "header",
|
|
1178
|
-
"schema": {
|
|
1179
|
-
"type": "string",
|
|
1180
|
-
"format": "uuid"
|
|
1181
|
-
}
|
|
1182
1627
|
}
|
|
1183
1628
|
],
|
|
1184
1629
|
"requestBody": {
|
|
1630
|
+
"description": "The grant configuration.",
|
|
1185
1631
|
"content": {
|
|
1186
1632
|
"application/json": {
|
|
1187
1633
|
"schema": {
|
|
@@ -1202,7 +1648,17 @@
|
|
|
1202
1648
|
},
|
|
1203
1649
|
"responses": {
|
|
1204
1650
|
"200": {
|
|
1205
|
-
"description": "
|
|
1651
|
+
"description": "Access granted successfully."
|
|
1652
|
+
},
|
|
1653
|
+
"404": {
|
|
1654
|
+
"description": "Credential not found.",
|
|
1655
|
+
"content": {
|
|
1656
|
+
"application/json": {
|
|
1657
|
+
"schema": {
|
|
1658
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
1659
|
+
}
|
|
1660
|
+
}
|
|
1661
|
+
}
|
|
1206
1662
|
}
|
|
1207
1663
|
}
|
|
1208
1664
|
}
|
|
@@ -1212,28 +1668,32 @@
|
|
|
1212
1668
|
"tags": [
|
|
1213
1669
|
"Credentials"
|
|
1214
1670
|
],
|
|
1671
|
+
"summary": "Revokes access to a credential.",
|
|
1215
1672
|
"parameters": [
|
|
1216
1673
|
{
|
|
1217
1674
|
"name": "accessId",
|
|
1218
1675
|
"in": "path",
|
|
1676
|
+
"description": "The access grant ID to revoke.",
|
|
1219
1677
|
"required": true,
|
|
1220
1678
|
"schema": {
|
|
1221
1679
|
"type": "string",
|
|
1222
1680
|
"format": "uuid"
|
|
1223
1681
|
}
|
|
1224
|
-
},
|
|
1225
|
-
{
|
|
1226
|
-
"name": "X-Member-Id",
|
|
1227
|
-
"in": "header",
|
|
1228
|
-
"schema": {
|
|
1229
|
-
"type": "string",
|
|
1230
|
-
"format": "uuid"
|
|
1231
|
-
}
|
|
1232
1682
|
}
|
|
1233
1683
|
],
|
|
1234
1684
|
"responses": {
|
|
1235
|
-
"
|
|
1236
|
-
"description": "
|
|
1685
|
+
"204": {
|
|
1686
|
+
"description": "Access revoked successfully."
|
|
1687
|
+
},
|
|
1688
|
+
"404": {
|
|
1689
|
+
"description": "Access grant not found.",
|
|
1690
|
+
"content": {
|
|
1691
|
+
"application/json": {
|
|
1692
|
+
"schema": {
|
|
1693
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
1694
|
+
}
|
|
1695
|
+
}
|
|
1696
|
+
}
|
|
1237
1697
|
}
|
|
1238
1698
|
}
|
|
1239
1699
|
}
|
|
@@ -1921,40 +2381,20 @@
|
|
|
1921
2381
|
"200": {
|
|
1922
2382
|
"description": "OK",
|
|
1923
2383
|
"content": {
|
|
1924
|
-
"text/plain": {
|
|
1925
|
-
"schema": {
|
|
1926
|
-
"$ref": "#/components/schemas/PresignedUploadResponse"
|
|
1927
|
-
}
|
|
1928
|
-
},
|
|
1929
2384
|
"application/json": {
|
|
1930
2385
|
"schema": {
|
|
1931
2386
|
"$ref": "#/components/schemas/PresignedUploadResponse"
|
|
1932
2387
|
}
|
|
1933
|
-
},
|
|
1934
|
-
"text/json": {
|
|
1935
|
-
"schema": {
|
|
1936
|
-
"$ref": "#/components/schemas/PresignedUploadResponse"
|
|
1937
|
-
}
|
|
1938
2388
|
}
|
|
1939
2389
|
}
|
|
1940
2390
|
},
|
|
1941
2391
|
"400": {
|
|
1942
2392
|
"description": "Bad Request",
|
|
1943
2393
|
"content": {
|
|
1944
|
-
"text/plain": {
|
|
1945
|
-
"schema": {
|
|
1946
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
1947
|
-
}
|
|
1948
|
-
},
|
|
1949
2394
|
"application/json": {
|
|
1950
2395
|
"schema": {
|
|
1951
2396
|
"$ref": "#/components/schemas/ProblemDetails"
|
|
1952
2397
|
}
|
|
1953
|
-
},
|
|
1954
|
-
"text/json": {
|
|
1955
|
-
"schema": {
|
|
1956
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
1957
|
-
}
|
|
1958
2398
|
}
|
|
1959
2399
|
}
|
|
1960
2400
|
}
|
|
@@ -2010,60 +2450,30 @@
|
|
|
2010
2450
|
"200": {
|
|
2011
2451
|
"description": "OK",
|
|
2012
2452
|
"content": {
|
|
2013
|
-
"text/plain": {
|
|
2014
|
-
"schema": {
|
|
2015
|
-
"$ref": "#/components/schemas/FileConfirmResponse"
|
|
2016
|
-
}
|
|
2017
|
-
},
|
|
2018
2453
|
"application/json": {
|
|
2019
2454
|
"schema": {
|
|
2020
2455
|
"$ref": "#/components/schemas/FileConfirmResponse"
|
|
2021
2456
|
}
|
|
2022
|
-
},
|
|
2023
|
-
"text/json": {
|
|
2024
|
-
"schema": {
|
|
2025
|
-
"$ref": "#/components/schemas/FileConfirmResponse"
|
|
2026
|
-
}
|
|
2027
2457
|
}
|
|
2028
2458
|
}
|
|
2029
2459
|
},
|
|
2030
2460
|
"404": {
|
|
2031
2461
|
"description": "Not Found",
|
|
2032
2462
|
"content": {
|
|
2033
|
-
"text/plain": {
|
|
2034
|
-
"schema": {
|
|
2035
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
2036
|
-
}
|
|
2037
|
-
},
|
|
2038
2463
|
"application/json": {
|
|
2039
2464
|
"schema": {
|
|
2040
2465
|
"$ref": "#/components/schemas/ProblemDetails"
|
|
2041
2466
|
}
|
|
2042
|
-
},
|
|
2043
|
-
"text/json": {
|
|
2044
|
-
"schema": {
|
|
2045
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
2046
|
-
}
|
|
2047
2467
|
}
|
|
2048
2468
|
}
|
|
2049
2469
|
},
|
|
2050
2470
|
"400": {
|
|
2051
2471
|
"description": "Bad Request",
|
|
2052
2472
|
"content": {
|
|
2053
|
-
"text/plain": {
|
|
2054
|
-
"schema": {
|
|
2055
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
2056
|
-
}
|
|
2057
|
-
},
|
|
2058
2473
|
"application/json": {
|
|
2059
2474
|
"schema": {
|
|
2060
2475
|
"$ref": "#/components/schemas/ProblemDetails"
|
|
2061
2476
|
}
|
|
2062
|
-
},
|
|
2063
|
-
"text/json": {
|
|
2064
|
-
"schema": {
|
|
2065
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
2066
|
-
}
|
|
2067
2477
|
}
|
|
2068
2478
|
}
|
|
2069
2479
|
}
|
|
@@ -2100,40 +2510,20 @@
|
|
|
2100
2510
|
"200": {
|
|
2101
2511
|
"description": "OK",
|
|
2102
2512
|
"content": {
|
|
2103
|
-
"text/plain": {
|
|
2104
|
-
"schema": {
|
|
2105
|
-
"$ref": "#/components/schemas/PresignedDownloadResponse"
|
|
2106
|
-
}
|
|
2107
|
-
},
|
|
2108
2513
|
"application/json": {
|
|
2109
2514
|
"schema": {
|
|
2110
2515
|
"$ref": "#/components/schemas/PresignedDownloadResponse"
|
|
2111
2516
|
}
|
|
2112
|
-
},
|
|
2113
|
-
"text/json": {
|
|
2114
|
-
"schema": {
|
|
2115
|
-
"$ref": "#/components/schemas/PresignedDownloadResponse"
|
|
2116
|
-
}
|
|
2117
2517
|
}
|
|
2118
2518
|
}
|
|
2119
2519
|
},
|
|
2120
2520
|
"404": {
|
|
2121
2521
|
"description": "Not Found",
|
|
2122
2522
|
"content": {
|
|
2123
|
-
"text/plain": {
|
|
2124
|
-
"schema": {
|
|
2125
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
2126
|
-
}
|
|
2127
|
-
},
|
|
2128
2523
|
"application/json": {
|
|
2129
2524
|
"schema": {
|
|
2130
2525
|
"$ref": "#/components/schemas/ProblemDetails"
|
|
2131
2526
|
}
|
|
2132
|
-
},
|
|
2133
|
-
"text/json": {
|
|
2134
|
-
"schema": {
|
|
2135
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
2136
|
-
}
|
|
2137
2527
|
}
|
|
2138
2528
|
}
|
|
2139
2529
|
}
|
|
@@ -2186,14 +2576,6 @@
|
|
|
2186
2576
|
"200": {
|
|
2187
2577
|
"description": "OK",
|
|
2188
2578
|
"content": {
|
|
2189
|
-
"text/plain": {
|
|
2190
|
-
"schema": {
|
|
2191
|
-
"type": "array",
|
|
2192
|
-
"items": {
|
|
2193
|
-
"$ref": "#/components/schemas/FileListItem"
|
|
2194
|
-
}
|
|
2195
|
-
}
|
|
2196
|
-
},
|
|
2197
2579
|
"application/json": {
|
|
2198
2580
|
"schema": {
|
|
2199
2581
|
"type": "array",
|
|
@@ -2201,14 +2583,6 @@
|
|
|
2201
2583
|
"$ref": "#/components/schemas/FileListItem"
|
|
2202
2584
|
}
|
|
2203
2585
|
}
|
|
2204
|
-
},
|
|
2205
|
-
"text/json": {
|
|
2206
|
-
"schema": {
|
|
2207
|
-
"type": "array",
|
|
2208
|
-
"items": {
|
|
2209
|
-
"$ref": "#/components/schemas/FileListItem"
|
|
2210
|
-
}
|
|
2211
|
-
}
|
|
2212
2586
|
}
|
|
2213
2587
|
}
|
|
2214
2588
|
}
|
|
@@ -2245,40 +2619,20 @@
|
|
|
2245
2619
|
"200": {
|
|
2246
2620
|
"description": "OK",
|
|
2247
2621
|
"content": {
|
|
2248
|
-
"text/plain": {
|
|
2249
|
-
"schema": {
|
|
2250
|
-
"$ref": "#/components/schemas/FileDetail"
|
|
2251
|
-
}
|
|
2252
|
-
},
|
|
2253
2622
|
"application/json": {
|
|
2254
2623
|
"schema": {
|
|
2255
2624
|
"$ref": "#/components/schemas/FileDetail"
|
|
2256
2625
|
}
|
|
2257
|
-
},
|
|
2258
|
-
"text/json": {
|
|
2259
|
-
"schema": {
|
|
2260
|
-
"$ref": "#/components/schemas/FileDetail"
|
|
2261
|
-
}
|
|
2262
2626
|
}
|
|
2263
2627
|
}
|
|
2264
2628
|
},
|
|
2265
2629
|
"404": {
|
|
2266
2630
|
"description": "Not Found",
|
|
2267
2631
|
"content": {
|
|
2268
|
-
"text/plain": {
|
|
2269
|
-
"schema": {
|
|
2270
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
2271
|
-
}
|
|
2272
|
-
},
|
|
2273
2632
|
"application/json": {
|
|
2274
2633
|
"schema": {
|
|
2275
2634
|
"$ref": "#/components/schemas/ProblemDetails"
|
|
2276
2635
|
}
|
|
2277
|
-
},
|
|
2278
|
-
"text/json": {
|
|
2279
|
-
"schema": {
|
|
2280
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
2281
|
-
}
|
|
2282
2636
|
}
|
|
2283
2637
|
}
|
|
2284
2638
|
}
|
|
@@ -2316,20 +2670,10 @@
|
|
|
2316
2670
|
"404": {
|
|
2317
2671
|
"description": "Not Found",
|
|
2318
2672
|
"content": {
|
|
2319
|
-
"text/plain": {
|
|
2320
|
-
"schema": {
|
|
2321
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
2322
|
-
}
|
|
2323
|
-
},
|
|
2324
2673
|
"application/json": {
|
|
2325
2674
|
"schema": {
|
|
2326
2675
|
"$ref": "#/components/schemas/ProblemDetails"
|
|
2327
2676
|
}
|
|
2328
|
-
},
|
|
2329
|
-
"text/json": {
|
|
2330
|
-
"schema": {
|
|
2331
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
2332
|
-
}
|
|
2333
2677
|
}
|
|
2334
2678
|
}
|
|
2335
2679
|
}
|
|
@@ -3287,7 +3631,8 @@
|
|
|
3287
3631
|
"tags": [
|
|
3288
3632
|
"Runs"
|
|
3289
3633
|
],
|
|
3290
|
-
"summary": "Lists runs with optional filtering.",
|
|
3634
|
+
"summary": "Lists runs with optional filtering and pagination.",
|
|
3635
|
+
"description": "Returns a paginated list of runs with filtering options. Results are ordered\nby creation date (newest first).\n\n**Filtering:**\n- `agentId`: Show only runs for a specific agent\n- `threadId`: Show only runs in a specific thread\n- `status`: Filter by status (queued, running, completed, failed, canceled)",
|
|
3291
3636
|
"parameters": [
|
|
3292
3637
|
{
|
|
3293
3638
|
"name": "agentId",
|
|
@@ -3310,7 +3655,7 @@
|
|
|
3310
3655
|
{
|
|
3311
3656
|
"name": "status",
|
|
3312
3657
|
"in": "query",
|
|
3313
|
-
"description": "Optional filter by status.",
|
|
3658
|
+
"description": "Optional filter by status (queued, running, completed, failed, canceled).",
|
|
3314
3659
|
"schema": {
|
|
3315
3660
|
"type": "string"
|
|
3316
3661
|
}
|
|
@@ -3318,7 +3663,7 @@
|
|
|
3318
3663
|
{
|
|
3319
3664
|
"name": "limit",
|
|
3320
3665
|
"in": "query",
|
|
3321
|
-
"description": "Max results to return
|
|
3666
|
+
"description": "Max results to return. Default: 20, Max: 100.",
|
|
3322
3667
|
"schema": {
|
|
3323
3668
|
"type": "integer",
|
|
3324
3669
|
"format": "int32",
|
|
@@ -3328,7 +3673,7 @@
|
|
|
3328
3673
|
{
|
|
3329
3674
|
"name": "offset",
|
|
3330
3675
|
"in": "query",
|
|
3331
|
-
"description": "
|
|
3676
|
+
"description": "Number of records to skip for pagination.",
|
|
3332
3677
|
"schema": {
|
|
3333
3678
|
"type": "integer",
|
|
3334
3679
|
"format": "int32",
|
|
@@ -3338,21 +3683,21 @@
|
|
|
3338
3683
|
],
|
|
3339
3684
|
"responses": {
|
|
3340
3685
|
"200": {
|
|
3341
|
-
"description": "
|
|
3686
|
+
"description": "Returns the list of runs.",
|
|
3342
3687
|
"content": {
|
|
3343
|
-
"text/plain": {
|
|
3344
|
-
"schema": {
|
|
3345
|
-
"$ref": "#/components/schemas/RunListResponse"
|
|
3346
|
-
}
|
|
3347
|
-
},
|
|
3348
3688
|
"application/json": {
|
|
3349
3689
|
"schema": {
|
|
3350
3690
|
"$ref": "#/components/schemas/RunListResponse"
|
|
3351
3691
|
}
|
|
3352
|
-
}
|
|
3353
|
-
|
|
3692
|
+
}
|
|
3693
|
+
}
|
|
3694
|
+
},
|
|
3695
|
+
"401": {
|
|
3696
|
+
"description": "Authentication required.",
|
|
3697
|
+
"content": {
|
|
3698
|
+
"application/json": {
|
|
3354
3699
|
"schema": {
|
|
3355
|
-
"$ref": "#/components/schemas/
|
|
3700
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
3356
3701
|
}
|
|
3357
3702
|
}
|
|
3358
3703
|
}
|
|
@@ -3363,10 +3708,10 @@
|
|
|
3363
3708
|
"tags": [
|
|
3364
3709
|
"Runs"
|
|
3365
3710
|
],
|
|
3366
|
-
"summary": "Starts a new agent run.",
|
|
3367
|
-
"description": "
|
|
3711
|
+
"summary": "Starts a new agent run asynchronously.",
|
|
3712
|
+
"description": "Creates a new run and queues it for execution. The run will be processed\nby the data plane and its status can be monitored via polling or SSE.\n\n**Thread Resolution:**\n- If `thread.id` is provided, uses existing thread\n- If `thread` is omitted, creates a new thread automatically\n\n**Idempotency:**\nProvide `Idempotency-Key` header to prevent duplicate runs.\nIf a run with the same key exists and is still valid, returns 200 instead of 201.\n\n**Example Request:**\n```json\n{\n \"agent_id\": \"...\",\n \"input\": { \"messages\": [{ \"role\": \"user\", \"content\": \"Hello\" }] }\n}\n```",
|
|
3368
3713
|
"requestBody": {
|
|
3369
|
-
"description": "The run request
|
|
3714
|
+
"description": "The run request with agent ID and input.",
|
|
3370
3715
|
"content": {
|
|
3371
3716
|
"application/json": {
|
|
3372
3717
|
"schema": {
|
|
@@ -3387,19 +3732,19 @@
|
|
|
3387
3732
|
},
|
|
3388
3733
|
"responses": {
|
|
3389
3734
|
"201": {
|
|
3390
|
-
"description": "
|
|
3735
|
+
"description": "Run created and queued successfully.",
|
|
3391
3736
|
"content": {
|
|
3392
|
-
"text/plain": {
|
|
3393
|
-
"schema": {
|
|
3394
|
-
"$ref": "#/components/schemas/RunResponse"
|
|
3395
|
-
}
|
|
3396
|
-
},
|
|
3397
3737
|
"application/json": {
|
|
3398
3738
|
"schema": {
|
|
3399
3739
|
"$ref": "#/components/schemas/RunResponse"
|
|
3400
3740
|
}
|
|
3401
|
-
}
|
|
3402
|
-
|
|
3741
|
+
}
|
|
3742
|
+
}
|
|
3743
|
+
},
|
|
3744
|
+
"200": {
|
|
3745
|
+
"description": "Existing run returned (idempotent request).",
|
|
3746
|
+
"content": {
|
|
3747
|
+
"application/json": {
|
|
3403
3748
|
"schema": {
|
|
3404
3749
|
"$ref": "#/components/schemas/RunResponse"
|
|
3405
3750
|
}
|
|
@@ -3407,19 +3752,19 @@
|
|
|
3407
3752
|
}
|
|
3408
3753
|
},
|
|
3409
3754
|
"400": {
|
|
3410
|
-
"description": "
|
|
3755
|
+
"description": "Invalid request (missing agent, invalid input).",
|
|
3411
3756
|
"content": {
|
|
3412
|
-
"text/plain": {
|
|
3413
|
-
"schema": {
|
|
3414
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
3415
|
-
}
|
|
3416
|
-
},
|
|
3417
3757
|
"application/json": {
|
|
3418
3758
|
"schema": {
|
|
3419
3759
|
"$ref": "#/components/schemas/ProblemDetails"
|
|
3420
3760
|
}
|
|
3421
|
-
}
|
|
3422
|
-
|
|
3761
|
+
}
|
|
3762
|
+
}
|
|
3763
|
+
},
|
|
3764
|
+
"401": {
|
|
3765
|
+
"description": "Authentication required.",
|
|
3766
|
+
"content": {
|
|
3767
|
+
"application/json": {
|
|
3423
3768
|
"schema": {
|
|
3424
3769
|
"$ref": "#/components/schemas/ProblemDetails"
|
|
3425
3770
|
}
|
|
@@ -3451,40 +3796,20 @@
|
|
|
3451
3796
|
"200": {
|
|
3452
3797
|
"description": "OK",
|
|
3453
3798
|
"content": {
|
|
3454
|
-
"text/plain": {
|
|
3455
|
-
"schema": {
|
|
3456
|
-
"$ref": "#/components/schemas/RunDetailResponse"
|
|
3457
|
-
}
|
|
3458
|
-
},
|
|
3459
3799
|
"application/json": {
|
|
3460
3800
|
"schema": {
|
|
3461
3801
|
"$ref": "#/components/schemas/RunDetailResponse"
|
|
3462
3802
|
}
|
|
3463
|
-
},
|
|
3464
|
-
"text/json": {
|
|
3465
|
-
"schema": {
|
|
3466
|
-
"$ref": "#/components/schemas/RunDetailResponse"
|
|
3467
|
-
}
|
|
3468
3803
|
}
|
|
3469
3804
|
}
|
|
3470
3805
|
},
|
|
3471
3806
|
"404": {
|
|
3472
3807
|
"description": "Not Found",
|
|
3473
3808
|
"content": {
|
|
3474
|
-
"text/plain": {
|
|
3475
|
-
"schema": {
|
|
3476
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
3477
|
-
}
|
|
3478
|
-
},
|
|
3479
3809
|
"application/json": {
|
|
3480
3810
|
"schema": {
|
|
3481
3811
|
"$ref": "#/components/schemas/ProblemDetails"
|
|
3482
3812
|
}
|
|
3483
|
-
},
|
|
3484
|
-
"text/json": {
|
|
3485
|
-
"schema": {
|
|
3486
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
3487
|
-
}
|
|
3488
3813
|
}
|
|
3489
3814
|
}
|
|
3490
3815
|
}
|
|
@@ -3533,37 +3858,80 @@
|
|
|
3533
3858
|
"200": {
|
|
3534
3859
|
"description": "OK",
|
|
3535
3860
|
"content": {
|
|
3536
|
-
"text/plain": {
|
|
3537
|
-
"schema": {
|
|
3538
|
-
"$ref": "#/components/schemas/RunEventsResponse"
|
|
3539
|
-
}
|
|
3540
|
-
},
|
|
3541
3861
|
"application/json": {
|
|
3542
3862
|
"schema": {
|
|
3543
3863
|
"$ref": "#/components/schemas/RunEventsResponse"
|
|
3544
3864
|
}
|
|
3545
|
-
},
|
|
3546
|
-
"text/json": {
|
|
3547
|
-
"schema": {
|
|
3548
|
-
"$ref": "#/components/schemas/RunEventsResponse"
|
|
3549
|
-
}
|
|
3550
3865
|
}
|
|
3551
3866
|
}
|
|
3552
3867
|
},
|
|
3553
3868
|
"404": {
|
|
3554
3869
|
"description": "Not Found",
|
|
3555
3870
|
"content": {
|
|
3556
|
-
"
|
|
3871
|
+
"application/json": {
|
|
3557
3872
|
"schema": {
|
|
3558
3873
|
"$ref": "#/components/schemas/ProblemDetails"
|
|
3559
3874
|
}
|
|
3560
|
-
}
|
|
3875
|
+
}
|
|
3876
|
+
}
|
|
3877
|
+
}
|
|
3878
|
+
}
|
|
3879
|
+
}
|
|
3880
|
+
},
|
|
3881
|
+
"/v1/api/runs/{runId}/events/stream": {
|
|
3882
|
+
"get": {
|
|
3883
|
+
"tags": [
|
|
3884
|
+
"Runs"
|
|
3885
|
+
],
|
|
3886
|
+
"summary": "Wave 1.0: Get run events for polling-based replay.\nReturns events after a specific sequence number for incremental polling.",
|
|
3887
|
+
"description": "This is the recommended endpoint for SDK/UI event consumption.\nEvents are ordered by sequence number (ascending) and limited to prevent\nlarge responses. Use `next_after_seq` for pagination.\n\n**Security:** Only returns events for runs in the caller's workspace.",
|
|
3888
|
+
"parameters": [
|
|
3889
|
+
{
|
|
3890
|
+
"name": "runId",
|
|
3891
|
+
"in": "path",
|
|
3892
|
+
"description": "The unique ID of the run.",
|
|
3893
|
+
"required": true,
|
|
3894
|
+
"schema": {
|
|
3895
|
+
"type": "string",
|
|
3896
|
+
"format": "uuid"
|
|
3897
|
+
}
|
|
3898
|
+
},
|
|
3899
|
+
{
|
|
3900
|
+
"name": "afterSeq",
|
|
3901
|
+
"in": "query",
|
|
3902
|
+
"description": "Return events with seq greater than this value (default: 0 = all).",
|
|
3903
|
+
"schema": {
|
|
3904
|
+
"type": "integer",
|
|
3905
|
+
"format": "int64",
|
|
3906
|
+
"default": 0
|
|
3907
|
+
}
|
|
3908
|
+
},
|
|
3909
|
+
{
|
|
3910
|
+
"name": "limit",
|
|
3911
|
+
"in": "query",
|
|
3912
|
+
"description": "Max events to return (default: 100, max: 500).",
|
|
3913
|
+
"schema": {
|
|
3914
|
+
"type": "integer",
|
|
3915
|
+
"format": "int32",
|
|
3916
|
+
"default": 100
|
|
3917
|
+
}
|
|
3918
|
+
}
|
|
3919
|
+
],
|
|
3920
|
+
"responses": {
|
|
3921
|
+
"200": {
|
|
3922
|
+
"description": "OK",
|
|
3923
|
+
"content": {
|
|
3561
3924
|
"application/json": {
|
|
3562
3925
|
"schema": {
|
|
3563
|
-
"$ref": "#/components/schemas/
|
|
3926
|
+
"$ref": "#/components/schemas/RunEventsPollResponse"
|
|
3564
3927
|
}
|
|
3565
|
-
}
|
|
3566
|
-
|
|
3928
|
+
}
|
|
3929
|
+
}
|
|
3930
|
+
},
|
|
3931
|
+
"404": {
|
|
3932
|
+
"description": "Not Found",
|
|
3933
|
+
"content": {
|
|
3934
|
+
"application/json": {
|
|
3567
3935
|
"schema": {
|
|
3568
3936
|
"$ref": "#/components/schemas/ProblemDetails"
|
|
3569
3937
|
}
|
|
@@ -3603,60 +3971,30 @@
|
|
|
3603
3971
|
"200": {
|
|
3604
3972
|
"description": "OK",
|
|
3605
3973
|
"content": {
|
|
3606
|
-
"text/plain": {
|
|
3607
|
-
"schema": {
|
|
3608
|
-
"$ref": "#/components/schemas/WaitRunResponse"
|
|
3609
|
-
}
|
|
3610
|
-
},
|
|
3611
3974
|
"application/json": {
|
|
3612
3975
|
"schema": {
|
|
3613
3976
|
"$ref": "#/components/schemas/WaitRunResponse"
|
|
3614
3977
|
}
|
|
3615
|
-
},
|
|
3616
|
-
"text/json": {
|
|
3617
|
-
"schema": {
|
|
3618
|
-
"$ref": "#/components/schemas/WaitRunResponse"
|
|
3619
|
-
}
|
|
3620
3978
|
}
|
|
3621
3979
|
}
|
|
3622
3980
|
},
|
|
3623
3981
|
"408": {
|
|
3624
3982
|
"description": "Request Timeout",
|
|
3625
3983
|
"content": {
|
|
3626
|
-
"text/plain": {
|
|
3627
|
-
"schema": {
|
|
3628
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
3629
|
-
}
|
|
3630
|
-
},
|
|
3631
3984
|
"application/json": {
|
|
3632
3985
|
"schema": {
|
|
3633
3986
|
"$ref": "#/components/schemas/ProblemDetails"
|
|
3634
3987
|
}
|
|
3635
|
-
},
|
|
3636
|
-
"text/json": {
|
|
3637
|
-
"schema": {
|
|
3638
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
3639
|
-
}
|
|
3640
3988
|
}
|
|
3641
3989
|
}
|
|
3642
3990
|
},
|
|
3643
3991
|
"400": {
|
|
3644
3992
|
"description": "Bad Request",
|
|
3645
3993
|
"content": {
|
|
3646
|
-
"text/plain": {
|
|
3647
|
-
"schema": {
|
|
3648
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
3649
|
-
}
|
|
3650
|
-
},
|
|
3651
3994
|
"application/json": {
|
|
3652
3995
|
"schema": {
|
|
3653
3996
|
"$ref": "#/components/schemas/ProblemDetails"
|
|
3654
3997
|
}
|
|
3655
|
-
},
|
|
3656
|
-
"text/json": {
|
|
3657
|
-
"schema": {
|
|
3658
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
3659
|
-
}
|
|
3660
3998
|
}
|
|
3661
3999
|
}
|
|
3662
4000
|
}
|
|
@@ -3693,40 +4031,20 @@
|
|
|
3693
4031
|
"201": {
|
|
3694
4032
|
"description": "Created",
|
|
3695
4033
|
"content": {
|
|
3696
|
-
"text/plain": {
|
|
3697
|
-
"schema": {
|
|
3698
|
-
"$ref": "#/components/schemas/BatchRunResponse"
|
|
3699
|
-
}
|
|
3700
|
-
},
|
|
3701
4034
|
"application/json": {
|
|
3702
4035
|
"schema": {
|
|
3703
4036
|
"$ref": "#/components/schemas/BatchRunResponse"
|
|
3704
4037
|
}
|
|
3705
|
-
},
|
|
3706
|
-
"text/json": {
|
|
3707
|
-
"schema": {
|
|
3708
|
-
"$ref": "#/components/schemas/BatchRunResponse"
|
|
3709
|
-
}
|
|
3710
4038
|
}
|
|
3711
4039
|
}
|
|
3712
4040
|
},
|
|
3713
4041
|
"400": {
|
|
3714
4042
|
"description": "Bad Request",
|
|
3715
4043
|
"content": {
|
|
3716
|
-
"text/plain": {
|
|
3717
|
-
"schema": {
|
|
3718
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
3719
|
-
}
|
|
3720
|
-
},
|
|
3721
4044
|
"application/json": {
|
|
3722
4045
|
"schema": {
|
|
3723
4046
|
"$ref": "#/components/schemas/ProblemDetails"
|
|
3724
4047
|
}
|
|
3725
|
-
},
|
|
3726
|
-
"text/json": {
|
|
3727
|
-
"schema": {
|
|
3728
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
3729
|
-
}
|
|
3730
4048
|
}
|
|
3731
4049
|
}
|
|
3732
4050
|
}
|
|
@@ -3763,9 +4081,10 @@
|
|
|
3763
4081
|
"tags": [
|
|
3764
4082
|
"Runs"
|
|
3765
4083
|
],
|
|
3766
|
-
"summary": "
|
|
4084
|
+
"summary": "Creates a run and streams real-time updates via Server-Sent Events (SSE).",
|
|
4085
|
+
"description": "This is the recommended endpoint for interactive applications. It creates\na run and maintains an open SSE connection to stream events in real-time.\n\n**SSE Events:**\n- `start`: Run created and queued\n- `update`: Run status changed\n- `complete`: Run finished successfully (includes output)\n- `error`: Run failed or was canceled (includes error details)\n\n**Example Event Stream:**\n```\nevent: start\ndata: {\"run_id\": \"...\", \"status\": \"queued\"}\n\nevent: update\ndata: {\"run_id\": \"...\", \"status\": \"running\"}\n\nevent: complete\ndata: {\"run_id\": \"...\", \"status\": \"completed\", \"output\": {...}}\n```",
|
|
3767
4086
|
"requestBody": {
|
|
3768
|
-
"description": "The
|
|
4087
|
+
"description": "The run request with agent ID and input.",
|
|
3769
4088
|
"content": {
|
|
3770
4089
|
"application/json": {
|
|
3771
4090
|
"schema": {
|
|
@@ -3833,40 +4152,20 @@
|
|
|
3833
4152
|
"201": {
|
|
3834
4153
|
"description": "Created",
|
|
3835
4154
|
"content": {
|
|
3836
|
-
"text/plain": {
|
|
3837
|
-
"schema": {
|
|
3838
|
-
"$ref": "#/components/schemas/RerunResponse"
|
|
3839
|
-
}
|
|
3840
|
-
},
|
|
3841
4155
|
"application/json": {
|
|
3842
4156
|
"schema": {
|
|
3843
4157
|
"$ref": "#/components/schemas/RerunResponse"
|
|
3844
4158
|
}
|
|
3845
|
-
},
|
|
3846
|
-
"text/json": {
|
|
3847
|
-
"schema": {
|
|
3848
|
-
"$ref": "#/components/schemas/RerunResponse"
|
|
3849
|
-
}
|
|
3850
4159
|
}
|
|
3851
4160
|
}
|
|
3852
4161
|
},
|
|
3853
4162
|
"404": {
|
|
3854
4163
|
"description": "Not Found",
|
|
3855
4164
|
"content": {
|
|
3856
|
-
"text/plain": {
|
|
3857
|
-
"schema": {
|
|
3858
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
3859
|
-
}
|
|
3860
|
-
},
|
|
3861
4165
|
"application/json": {
|
|
3862
4166
|
"schema": {
|
|
3863
4167
|
"$ref": "#/components/schemas/ProblemDetails"
|
|
3864
4168
|
}
|
|
3865
|
-
},
|
|
3866
|
-
"text/json": {
|
|
3867
|
-
"schema": {
|
|
3868
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
3869
|
-
}
|
|
3870
4169
|
}
|
|
3871
4170
|
}
|
|
3872
4171
|
}
|
|
@@ -3922,40 +4221,20 @@
|
|
|
3922
4221
|
"201": {
|
|
3923
4222
|
"description": "Created",
|
|
3924
4223
|
"content": {
|
|
3925
|
-
"text/plain": {
|
|
3926
|
-
"schema": {
|
|
3927
|
-
"$ref": "#/components/schemas/ReplayResponse"
|
|
3928
|
-
}
|
|
3929
|
-
},
|
|
3930
4224
|
"application/json": {
|
|
3931
4225
|
"schema": {
|
|
3932
4226
|
"$ref": "#/components/schemas/ReplayResponse"
|
|
3933
4227
|
}
|
|
3934
|
-
},
|
|
3935
|
-
"text/json": {
|
|
3936
|
-
"schema": {
|
|
3937
|
-
"$ref": "#/components/schemas/ReplayResponse"
|
|
3938
|
-
}
|
|
3939
4228
|
}
|
|
3940
4229
|
}
|
|
3941
4230
|
},
|
|
3942
4231
|
"404": {
|
|
3943
4232
|
"description": "Not Found",
|
|
3944
4233
|
"content": {
|
|
3945
|
-
"text/plain": {
|
|
3946
|
-
"schema": {
|
|
3947
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
3948
|
-
}
|
|
3949
|
-
},
|
|
3950
4234
|
"application/json": {
|
|
3951
4235
|
"schema": {
|
|
3952
4236
|
"$ref": "#/components/schemas/ProblemDetails"
|
|
3953
4237
|
}
|
|
3954
|
-
},
|
|
3955
|
-
"text/json": {
|
|
3956
|
-
"schema": {
|
|
3957
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
3958
|
-
}
|
|
3959
4238
|
}
|
|
3960
4239
|
}
|
|
3961
4240
|
}
|
|
@@ -3983,40 +4262,20 @@
|
|
|
3983
4262
|
"200": {
|
|
3984
4263
|
"description": "OK",
|
|
3985
4264
|
"content": {
|
|
3986
|
-
"text/plain": {
|
|
3987
|
-
"schema": {
|
|
3988
|
-
"$ref": "#/components/schemas/CheckpointIndexResponse"
|
|
3989
|
-
}
|
|
3990
|
-
},
|
|
3991
4265
|
"application/json": {
|
|
3992
4266
|
"schema": {
|
|
3993
4267
|
"$ref": "#/components/schemas/CheckpointIndexResponse"
|
|
3994
4268
|
}
|
|
3995
|
-
},
|
|
3996
|
-
"text/json": {
|
|
3997
|
-
"schema": {
|
|
3998
|
-
"$ref": "#/components/schemas/CheckpointIndexResponse"
|
|
3999
|
-
}
|
|
4000
4269
|
}
|
|
4001
4270
|
}
|
|
4002
4271
|
},
|
|
4003
4272
|
"404": {
|
|
4004
4273
|
"description": "Not Found",
|
|
4005
4274
|
"content": {
|
|
4006
|
-
"text/plain": {
|
|
4007
|
-
"schema": {
|
|
4008
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
4009
|
-
}
|
|
4010
|
-
},
|
|
4011
4275
|
"application/json": {
|
|
4012
4276
|
"schema": {
|
|
4013
4277
|
"$ref": "#/components/schemas/ProblemDetails"
|
|
4014
4278
|
}
|
|
4015
|
-
},
|
|
4016
|
-
"text/json": {
|
|
4017
|
-
"schema": {
|
|
4018
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
4019
|
-
}
|
|
4020
4279
|
}
|
|
4021
4280
|
}
|
|
4022
4281
|
}
|
|
@@ -4063,60 +4322,30 @@
|
|
|
4063
4322
|
"200": {
|
|
4064
4323
|
"description": "OK",
|
|
4065
4324
|
"content": {
|
|
4066
|
-
"text/plain": {
|
|
4067
|
-
"schema": {
|
|
4068
|
-
"$ref": "#/components/schemas/ResumeResponse"
|
|
4069
|
-
}
|
|
4070
|
-
},
|
|
4071
4325
|
"application/json": {
|
|
4072
4326
|
"schema": {
|
|
4073
4327
|
"$ref": "#/components/schemas/ResumeResponse"
|
|
4074
4328
|
}
|
|
4075
|
-
},
|
|
4076
|
-
"text/json": {
|
|
4077
|
-
"schema": {
|
|
4078
|
-
"$ref": "#/components/schemas/ResumeResponse"
|
|
4079
|
-
}
|
|
4080
4329
|
}
|
|
4081
4330
|
}
|
|
4082
4331
|
},
|
|
4083
4332
|
"400": {
|
|
4084
4333
|
"description": "Bad Request",
|
|
4085
4334
|
"content": {
|
|
4086
|
-
"text/plain": {
|
|
4087
|
-
"schema": {
|
|
4088
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
4089
|
-
}
|
|
4090
|
-
},
|
|
4091
4335
|
"application/json": {
|
|
4092
4336
|
"schema": {
|
|
4093
4337
|
"$ref": "#/components/schemas/ProblemDetails"
|
|
4094
4338
|
}
|
|
4095
|
-
},
|
|
4096
|
-
"text/json": {
|
|
4097
|
-
"schema": {
|
|
4098
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
4099
|
-
}
|
|
4100
4339
|
}
|
|
4101
4340
|
}
|
|
4102
4341
|
},
|
|
4103
4342
|
"404": {
|
|
4104
4343
|
"description": "Not Found",
|
|
4105
4344
|
"content": {
|
|
4106
|
-
"text/plain": {
|
|
4107
|
-
"schema": {
|
|
4108
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
4109
|
-
}
|
|
4110
|
-
},
|
|
4111
4345
|
"application/json": {
|
|
4112
4346
|
"schema": {
|
|
4113
4347
|
"$ref": "#/components/schemas/ProblemDetails"
|
|
4114
4348
|
}
|
|
4115
|
-
},
|
|
4116
|
-
"text/json": {
|
|
4117
|
-
"schema": {
|
|
4118
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
4119
|
-
}
|
|
4120
4349
|
}
|
|
4121
4350
|
}
|
|
4122
4351
|
}
|
|
@@ -4163,40 +4392,20 @@
|
|
|
4163
4392
|
"200": {
|
|
4164
4393
|
"description": "OK",
|
|
4165
4394
|
"content": {
|
|
4166
|
-
"text/plain": {
|
|
4167
|
-
"schema": {
|
|
4168
|
-
"$ref": "#/components/schemas/CancelRunResponse"
|
|
4169
|
-
}
|
|
4170
|
-
},
|
|
4171
4395
|
"application/json": {
|
|
4172
4396
|
"schema": {
|
|
4173
4397
|
"$ref": "#/components/schemas/CancelRunResponse"
|
|
4174
4398
|
}
|
|
4175
|
-
},
|
|
4176
|
-
"text/json": {
|
|
4177
|
-
"schema": {
|
|
4178
|
-
"$ref": "#/components/schemas/CancelRunResponse"
|
|
4179
|
-
}
|
|
4180
4399
|
}
|
|
4181
4400
|
}
|
|
4182
4401
|
},
|
|
4183
4402
|
"404": {
|
|
4184
4403
|
"description": "Not Found",
|
|
4185
4404
|
"content": {
|
|
4186
|
-
"text/plain": {
|
|
4187
|
-
"schema": {
|
|
4188
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
4189
|
-
}
|
|
4190
|
-
},
|
|
4191
4405
|
"application/json": {
|
|
4192
4406
|
"schema": {
|
|
4193
4407
|
"$ref": "#/components/schemas/ProblemDetails"
|
|
4194
4408
|
}
|
|
4195
|
-
},
|
|
4196
|
-
"text/json": {
|
|
4197
|
-
"schema": {
|
|
4198
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
4199
|
-
}
|
|
4200
4409
|
}
|
|
4201
4410
|
}
|
|
4202
4411
|
}
|
|
@@ -4529,8 +4738,10 @@
|
|
|
4529
4738
|
"tags": [
|
|
4530
4739
|
"Threads"
|
|
4531
4740
|
],
|
|
4532
|
-
"summary": "
|
|
4741
|
+
"summary": "Creates a new conversation thread.",
|
|
4742
|
+
"description": "Creates an empty thread that can be used for agent runs. Threads persist\nconversation state between multiple runs.\n\n**Example Request:**\n```json\n{\n \"channel\": \"http\",\n \"metadata\": { \"user_id\": \"abc123\" }\n}\n```",
|
|
4533
4743
|
"requestBody": {
|
|
4744
|
+
"description": "Thread creation options including channel and metadata.",
|
|
4534
4745
|
"content": {
|
|
4535
4746
|
"application/json": {
|
|
4536
4747
|
"schema": {
|
|
@@ -4550,8 +4761,18 @@
|
|
|
4550
4761
|
}
|
|
4551
4762
|
},
|
|
4552
4763
|
"responses": {
|
|
4553
|
-
"
|
|
4554
|
-
"description": "
|
|
4764
|
+
"201": {
|
|
4765
|
+
"description": "Thread created successfully."
|
|
4766
|
+
},
|
|
4767
|
+
"401": {
|
|
4768
|
+
"description": "Authentication required.",
|
|
4769
|
+
"content": {
|
|
4770
|
+
"application/json": {
|
|
4771
|
+
"schema": {
|
|
4772
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
4773
|
+
}
|
|
4774
|
+
}
|
|
4775
|
+
}
|
|
4555
4776
|
}
|
|
4556
4777
|
}
|
|
4557
4778
|
},
|
|
@@ -4582,11 +4803,13 @@
|
|
|
4582
4803
|
"tags": [
|
|
4583
4804
|
"Threads"
|
|
4584
4805
|
],
|
|
4585
|
-
"summary": "
|
|
4806
|
+
"summary": "Retrieves a thread by its unique identifier.",
|
|
4807
|
+
"description": "Returns the thread details including channel, external ID, and metadata.\nAccess is restricted to threads within your tenant (IDOR protected).",
|
|
4586
4808
|
"parameters": [
|
|
4587
4809
|
{
|
|
4588
4810
|
"name": "id",
|
|
4589
4811
|
"in": "path",
|
|
4812
|
+
"description": "The unique identifier of the thread.",
|
|
4590
4813
|
"required": true,
|
|
4591
4814
|
"schema": {
|
|
4592
4815
|
"type": "string",
|
|
@@ -4596,7 +4819,17 @@
|
|
|
4596
4819
|
],
|
|
4597
4820
|
"responses": {
|
|
4598
4821
|
"200": {
|
|
4599
|
-
"description": "
|
|
4822
|
+
"description": "Returns the thread."
|
|
4823
|
+
},
|
|
4824
|
+
"404": {
|
|
4825
|
+
"description": "Thread not found.",
|
|
4826
|
+
"content": {
|
|
4827
|
+
"application/json": {
|
|
4828
|
+
"schema": {
|
|
4829
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
4830
|
+
}
|
|
4831
|
+
}
|
|
4832
|
+
}
|
|
4600
4833
|
}
|
|
4601
4834
|
}
|
|
4602
4835
|
},
|
|
@@ -4628,11 +4861,13 @@
|
|
|
4628
4861
|
"tags": [
|
|
4629
4862
|
"Threads"
|
|
4630
4863
|
],
|
|
4631
|
-
"summary": "
|
|
4864
|
+
"summary": "Gets a comprehensive state summary for a thread.",
|
|
4865
|
+
"description": "Returns aggregated information about the thread including:\n- Run count and status of the last run\n- Last checkpoint information\n- Message count\n- Pointers to related endpoints (runs, messages, history)\n\nThis is the recommended endpoint for building thread detail UIs.",
|
|
4632
4866
|
"parameters": [
|
|
4633
4867
|
{
|
|
4634
4868
|
"name": "id",
|
|
4635
4869
|
"in": "path",
|
|
4870
|
+
"description": "The unique identifier of the thread.",
|
|
4636
4871
|
"required": true,
|
|
4637
4872
|
"schema": {
|
|
4638
4873
|
"type": "string",
|
|
@@ -4642,7 +4877,17 @@
|
|
|
4642
4877
|
],
|
|
4643
4878
|
"responses": {
|
|
4644
4879
|
"200": {
|
|
4645
|
-
"description": "
|
|
4880
|
+
"description": "Returns the thread state summary."
|
|
4881
|
+
},
|
|
4882
|
+
"404": {
|
|
4883
|
+
"description": "Thread not found.",
|
|
4884
|
+
"content": {
|
|
4885
|
+
"application/json": {
|
|
4886
|
+
"schema": {
|
|
4887
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
4888
|
+
}
|
|
4889
|
+
}
|
|
4890
|
+
}
|
|
4646
4891
|
}
|
|
4647
4892
|
}
|
|
4648
4893
|
}
|
|
@@ -5586,11 +5831,13 @@
|
|
|
5586
5831
|
"tags": [
|
|
5587
5832
|
"VectorStores"
|
|
5588
5833
|
],
|
|
5589
|
-
"summary": "
|
|
5834
|
+
"summary": "Creates a new vector store for semantic document search.",
|
|
5835
|
+
"description": "Creates a vector store with the specified embedding configuration.\nThe store is ready to accept file attachments immediately after creation.\n\n**Default Configuration:**\n- Provider: `openai`\n- Model: `text-embedding-3-small`\n- Dimension: `1536`",
|
|
5590
5836
|
"parameters": [
|
|
5591
5837
|
{
|
|
5592
5838
|
"name": "workspaceId",
|
|
5593
5839
|
"in": "path",
|
|
5840
|
+
"description": "The workspace to create the vector store in.",
|
|
5594
5841
|
"required": true,
|
|
5595
5842
|
"schema": {
|
|
5596
5843
|
"type": "string",
|
|
@@ -5599,6 +5846,7 @@
|
|
|
5599
5846
|
}
|
|
5600
5847
|
],
|
|
5601
5848
|
"requestBody": {
|
|
5849
|
+
"description": "Vector store configuration.",
|
|
5602
5850
|
"content": {
|
|
5603
5851
|
"application/json": {
|
|
5604
5852
|
"schema": {
|
|
@@ -5619,21 +5867,21 @@
|
|
|
5619
5867
|
},
|
|
5620
5868
|
"responses": {
|
|
5621
5869
|
"201": {
|
|
5622
|
-
"description": "
|
|
5870
|
+
"description": "Vector store created successfully.",
|
|
5623
5871
|
"content": {
|
|
5624
|
-
"text/plain": {
|
|
5625
|
-
"schema": {
|
|
5626
|
-
"$ref": "#/components/schemas/VectorStoreResponse"
|
|
5627
|
-
}
|
|
5628
|
-
},
|
|
5629
5872
|
"application/json": {
|
|
5630
5873
|
"schema": {
|
|
5631
5874
|
"$ref": "#/components/schemas/VectorStoreResponse"
|
|
5632
5875
|
}
|
|
5633
|
-
}
|
|
5634
|
-
|
|
5876
|
+
}
|
|
5877
|
+
}
|
|
5878
|
+
},
|
|
5879
|
+
"404": {
|
|
5880
|
+
"description": "Workspace not found.",
|
|
5881
|
+
"content": {
|
|
5882
|
+
"application/json": {
|
|
5635
5883
|
"schema": {
|
|
5636
|
-
"$ref": "#/components/schemas/
|
|
5884
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
5637
5885
|
}
|
|
5638
5886
|
}
|
|
5639
5887
|
}
|
|
@@ -5678,14 +5926,6 @@
|
|
|
5678
5926
|
"200": {
|
|
5679
5927
|
"description": "OK",
|
|
5680
5928
|
"content": {
|
|
5681
|
-
"text/plain": {
|
|
5682
|
-
"schema": {
|
|
5683
|
-
"type": "array",
|
|
5684
|
-
"items": {
|
|
5685
|
-
"$ref": "#/components/schemas/VectorStoreResponse"
|
|
5686
|
-
}
|
|
5687
|
-
}
|
|
5688
|
-
},
|
|
5689
5929
|
"application/json": {
|
|
5690
5930
|
"schema": {
|
|
5691
5931
|
"type": "array",
|
|
@@ -5693,14 +5933,6 @@
|
|
|
5693
5933
|
"$ref": "#/components/schemas/VectorStoreResponse"
|
|
5694
5934
|
}
|
|
5695
5935
|
}
|
|
5696
|
-
},
|
|
5697
|
-
"text/json": {
|
|
5698
|
-
"schema": {
|
|
5699
|
-
"type": "array",
|
|
5700
|
-
"items": {
|
|
5701
|
-
"$ref": "#/components/schemas/VectorStoreResponse"
|
|
5702
|
-
}
|
|
5703
|
-
}
|
|
5704
5936
|
}
|
|
5705
5937
|
}
|
|
5706
5938
|
}
|
|
@@ -5737,40 +5969,20 @@
|
|
|
5737
5969
|
"200": {
|
|
5738
5970
|
"description": "OK",
|
|
5739
5971
|
"content": {
|
|
5740
|
-
"text/plain": {
|
|
5741
|
-
"schema": {
|
|
5742
|
-
"$ref": "#/components/schemas/VectorStoreResponse"
|
|
5743
|
-
}
|
|
5744
|
-
},
|
|
5745
5972
|
"application/json": {
|
|
5746
5973
|
"schema": {
|
|
5747
5974
|
"$ref": "#/components/schemas/VectorStoreResponse"
|
|
5748
5975
|
}
|
|
5749
|
-
},
|
|
5750
|
-
"text/json": {
|
|
5751
|
-
"schema": {
|
|
5752
|
-
"$ref": "#/components/schemas/VectorStoreResponse"
|
|
5753
|
-
}
|
|
5754
5976
|
}
|
|
5755
5977
|
}
|
|
5756
5978
|
},
|
|
5757
5979
|
"404": {
|
|
5758
5980
|
"description": "Not Found",
|
|
5759
5981
|
"content": {
|
|
5760
|
-
"text/plain": {
|
|
5761
|
-
"schema": {
|
|
5762
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
5763
|
-
}
|
|
5764
|
-
},
|
|
5765
5982
|
"application/json": {
|
|
5766
5983
|
"schema": {
|
|
5767
5984
|
"$ref": "#/components/schemas/ProblemDetails"
|
|
5768
5985
|
}
|
|
5769
|
-
},
|
|
5770
|
-
"text/json": {
|
|
5771
|
-
"schema": {
|
|
5772
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
5773
|
-
}
|
|
5774
5986
|
}
|
|
5775
5987
|
}
|
|
5776
5988
|
}
|
|
@@ -5808,20 +6020,10 @@
|
|
|
5808
6020
|
"404": {
|
|
5809
6021
|
"description": "Not Found",
|
|
5810
6022
|
"content": {
|
|
5811
|
-
"text/plain": {
|
|
5812
|
-
"schema": {
|
|
5813
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
5814
|
-
}
|
|
5815
|
-
},
|
|
5816
6023
|
"application/json": {
|
|
5817
6024
|
"schema": {
|
|
5818
6025
|
"$ref": "#/components/schemas/ProblemDetails"
|
|
5819
6026
|
}
|
|
5820
|
-
},
|
|
5821
|
-
"text/json": {
|
|
5822
|
-
"schema": {
|
|
5823
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
5824
|
-
}
|
|
5825
6027
|
}
|
|
5826
6028
|
}
|
|
5827
6029
|
}
|
|
@@ -5877,40 +6079,20 @@
|
|
|
5877
6079
|
"201": {
|
|
5878
6080
|
"description": "Created",
|
|
5879
6081
|
"content": {
|
|
5880
|
-
"text/plain": {
|
|
5881
|
-
"schema": {
|
|
5882
|
-
"$ref": "#/components/schemas/VectorStoreFileResponse"
|
|
5883
|
-
}
|
|
5884
|
-
},
|
|
5885
6082
|
"application/json": {
|
|
5886
6083
|
"schema": {
|
|
5887
6084
|
"$ref": "#/components/schemas/VectorStoreFileResponse"
|
|
5888
6085
|
}
|
|
5889
|
-
},
|
|
5890
|
-
"text/json": {
|
|
5891
|
-
"schema": {
|
|
5892
|
-
"$ref": "#/components/schemas/VectorStoreFileResponse"
|
|
5893
|
-
}
|
|
5894
6086
|
}
|
|
5895
6087
|
}
|
|
5896
6088
|
},
|
|
5897
6089
|
"404": {
|
|
5898
6090
|
"description": "Not Found",
|
|
5899
6091
|
"content": {
|
|
5900
|
-
"text/plain": {
|
|
5901
|
-
"schema": {
|
|
5902
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
5903
|
-
}
|
|
5904
|
-
},
|
|
5905
6092
|
"application/json": {
|
|
5906
6093
|
"schema": {
|
|
5907
6094
|
"$ref": "#/components/schemas/ProblemDetails"
|
|
5908
6095
|
}
|
|
5909
|
-
},
|
|
5910
|
-
"text/json": {
|
|
5911
|
-
"schema": {
|
|
5912
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
5913
|
-
}
|
|
5914
6096
|
}
|
|
5915
6097
|
}
|
|
5916
6098
|
}
|
|
@@ -5922,11 +6104,13 @@
|
|
|
5922
6104
|
"tags": [
|
|
5923
6105
|
"VectorStores"
|
|
5924
6106
|
],
|
|
5925
|
-
"summary": "
|
|
6107
|
+
"summary": "Performs semantic similarity search against the vector store.",
|
|
6108
|
+
"description": "Executes a cosine similarity search to find document chunks most relevant\nto the query. Results are ranked by similarity score.\n\n**Note:** The query is automatically embedded using the store's configured\nembedding provider before search.\n\n**Example Request:**\n```json\n{\n \"query\": \"How do I configure authentication?\",\n \"top_k\": 5,\n \"min_score\": 0.7\n}\n```",
|
|
5926
6109
|
"parameters": [
|
|
5927
6110
|
{
|
|
5928
6111
|
"name": "workspaceId",
|
|
5929
6112
|
"in": "path",
|
|
6113
|
+
"description": "The workspace containing the vector store.",
|
|
5930
6114
|
"required": true,
|
|
5931
6115
|
"schema": {
|
|
5932
6116
|
"type": "string",
|
|
@@ -5936,6 +6120,7 @@
|
|
|
5936
6120
|
{
|
|
5937
6121
|
"name": "vectorStoreId",
|
|
5938
6122
|
"in": "path",
|
|
6123
|
+
"description": "The vector store to query.",
|
|
5939
6124
|
"required": true,
|
|
5940
6125
|
"schema": {
|
|
5941
6126
|
"type": "string",
|
|
@@ -5944,6 +6129,7 @@
|
|
|
5944
6129
|
}
|
|
5945
6130
|
],
|
|
5946
6131
|
"requestBody": {
|
|
6132
|
+
"description": "Query parameters including text and result limits.",
|
|
5947
6133
|
"content": {
|
|
5948
6134
|
"application/json": {
|
|
5949
6135
|
"schema": {
|
|
@@ -5964,42 +6150,22 @@
|
|
|
5964
6150
|
},
|
|
5965
6151
|
"responses": {
|
|
5966
6152
|
"200": {
|
|
5967
|
-
"description": "
|
|
6153
|
+
"description": "Returns matching results.",
|
|
5968
6154
|
"content": {
|
|
5969
|
-
"text/plain": {
|
|
5970
|
-
"schema": {
|
|
5971
|
-
"$ref": "#/components/schemas/VectorQueryResponse"
|
|
5972
|
-
}
|
|
5973
|
-
},
|
|
5974
6155
|
"application/json": {
|
|
5975
6156
|
"schema": {
|
|
5976
6157
|
"$ref": "#/components/schemas/VectorQueryResponse"
|
|
5977
6158
|
}
|
|
5978
|
-
},
|
|
5979
|
-
"text/json": {
|
|
5980
|
-
"schema": {
|
|
5981
|
-
"$ref": "#/components/schemas/VectorQueryResponse"
|
|
5982
|
-
}
|
|
5983
6159
|
}
|
|
5984
6160
|
}
|
|
5985
6161
|
},
|
|
5986
6162
|
"404": {
|
|
5987
|
-
"description": "
|
|
6163
|
+
"description": "Vector store not found.",
|
|
5988
6164
|
"content": {
|
|
5989
|
-
"text/plain": {
|
|
5990
|
-
"schema": {
|
|
5991
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
5992
|
-
}
|
|
5993
|
-
},
|
|
5994
6165
|
"application/json": {
|
|
5995
6166
|
"schema": {
|
|
5996
6167
|
"$ref": "#/components/schemas/ProblemDetails"
|
|
5997
6168
|
}
|
|
5998
|
-
},
|
|
5999
|
-
"text/json": {
|
|
6000
|
-
"schema": {
|
|
6001
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
6002
|
-
}
|
|
6003
6169
|
}
|
|
6004
6170
|
}
|
|
6005
6171
|
}
|
|
@@ -6058,20 +6224,10 @@
|
|
|
6058
6224
|
"404": {
|
|
6059
6225
|
"description": "Not Found",
|
|
6060
6226
|
"content": {
|
|
6061
|
-
"text/plain": {
|
|
6062
|
-
"schema": {
|
|
6063
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
6064
|
-
}
|
|
6065
|
-
},
|
|
6066
6227
|
"application/json": {
|
|
6067
6228
|
"schema": {
|
|
6068
6229
|
"$ref": "#/components/schemas/ProblemDetails"
|
|
6069
6230
|
}
|
|
6070
|
-
},
|
|
6071
|
-
"text/json": {
|
|
6072
|
-
"schema": {
|
|
6073
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
6074
|
-
}
|
|
6075
6231
|
}
|
|
6076
6232
|
}
|
|
6077
6233
|
}
|
|
@@ -6447,6 +6603,20 @@
|
|
|
6447
6603
|
},
|
|
6448
6604
|
"additionalProperties": false
|
|
6449
6605
|
},
|
|
6606
|
+
"ApprovalDecision": {
|
|
6607
|
+
"type": "object",
|
|
6608
|
+
"properties": {
|
|
6609
|
+
"decision": {
|
|
6610
|
+
"type": "string",
|
|
6611
|
+
"nullable": true
|
|
6612
|
+
},
|
|
6613
|
+
"comment": {
|
|
6614
|
+
"type": "string",
|
|
6615
|
+
"nullable": true
|
|
6616
|
+
}
|
|
6617
|
+
},
|
|
6618
|
+
"additionalProperties": false
|
|
6619
|
+
},
|
|
6450
6620
|
"AttachFileRequest": {
|
|
6451
6621
|
"type": "object",
|
|
6452
6622
|
"properties": {
|
|
@@ -6559,6 +6729,24 @@
|
|
|
6559
6729
|
},
|
|
6560
6730
|
"additionalProperties": false
|
|
6561
6731
|
},
|
|
6732
|
+
"BuilderChatRequest": {
|
|
6733
|
+
"type": "object",
|
|
6734
|
+
"properties": {
|
|
6735
|
+
"message": {
|
|
6736
|
+
"type": "string",
|
|
6737
|
+
"nullable": true
|
|
6738
|
+
},
|
|
6739
|
+
"current_graph_spec": {
|
|
6740
|
+
"nullable": true
|
|
6741
|
+
},
|
|
6742
|
+
"thread_id": {
|
|
6743
|
+
"type": "string",
|
|
6744
|
+
"nullable": true
|
|
6745
|
+
}
|
|
6746
|
+
},
|
|
6747
|
+
"additionalProperties": false,
|
|
6748
|
+
"description": "Request DTO for builder chat."
|
|
6749
|
+
},
|
|
6562
6750
|
"CancelRequest": {
|
|
6563
6751
|
"type": "object",
|
|
6564
6752
|
"properties": {
|
|
@@ -7722,6 +7910,35 @@
|
|
|
7722
7910
|
},
|
|
7723
7911
|
"additionalProperties": false
|
|
7724
7912
|
},
|
|
7913
|
+
"RunEventDto": {
|
|
7914
|
+
"type": "object",
|
|
7915
|
+
"properties": {
|
|
7916
|
+
"id": {
|
|
7917
|
+
"type": "string",
|
|
7918
|
+
"format": "uuid"
|
|
7919
|
+
},
|
|
7920
|
+
"seq": {
|
|
7921
|
+
"type": "integer",
|
|
7922
|
+
"format": "int64"
|
|
7923
|
+
},
|
|
7924
|
+
"type": {
|
|
7925
|
+
"type": "string",
|
|
7926
|
+
"nullable": true
|
|
7927
|
+
},
|
|
7928
|
+
"timestamp": {
|
|
7929
|
+
"type": "string",
|
|
7930
|
+
"format": "date-time"
|
|
7931
|
+
},
|
|
7932
|
+
"attempt_id": {
|
|
7933
|
+
"type": "string",
|
|
7934
|
+
"format": "uuid"
|
|
7935
|
+
},
|
|
7936
|
+
"payload": {
|
|
7937
|
+
"nullable": true
|
|
7938
|
+
}
|
|
7939
|
+
},
|
|
7940
|
+
"additionalProperties": false
|
|
7941
|
+
},
|
|
7725
7942
|
"RunEventItem": {
|
|
7726
7943
|
"type": "object",
|
|
7727
7944
|
"properties": {
|
|
@@ -7743,6 +7960,30 @@
|
|
|
7743
7960
|
},
|
|
7744
7961
|
"additionalProperties": false
|
|
7745
7962
|
},
|
|
7963
|
+
"RunEventsPollResponse": {
|
|
7964
|
+
"type": "object",
|
|
7965
|
+
"properties": {
|
|
7966
|
+
"events": {
|
|
7967
|
+
"type": "array",
|
|
7968
|
+
"items": {
|
|
7969
|
+
"$ref": "#/components/schemas/RunEventDto"
|
|
7970
|
+
},
|
|
7971
|
+
"nullable": true
|
|
7972
|
+
},
|
|
7973
|
+
"latest_seq": {
|
|
7974
|
+
"type": "integer",
|
|
7975
|
+
"format": "int64"
|
|
7976
|
+
},
|
|
7977
|
+
"next_after_seq": {
|
|
7978
|
+
"type": "integer",
|
|
7979
|
+
"format": "int64"
|
|
7980
|
+
},
|
|
7981
|
+
"has_more": {
|
|
7982
|
+
"type": "boolean"
|
|
7983
|
+
}
|
|
7984
|
+
},
|
|
7985
|
+
"additionalProperties": false
|
|
7986
|
+
},
|
|
7746
7987
|
"RunEventsResponse": {
|
|
7747
7988
|
"type": "object",
|
|
7748
7989
|
"properties": {
|
|
@@ -8466,9 +8707,15 @@
|
|
|
8466
8707
|
{
|
|
8467
8708
|
"name": "ApiTokens"
|
|
8468
8709
|
},
|
|
8710
|
+
{
|
|
8711
|
+
"name": "Approvals"
|
|
8712
|
+
},
|
|
8469
8713
|
{
|
|
8470
8714
|
"name": "Audit"
|
|
8471
8715
|
},
|
|
8716
|
+
{
|
|
8717
|
+
"name": "Builder"
|
|
8718
|
+
},
|
|
8472
8719
|
{
|
|
8473
8720
|
"name": "Checkpoints"
|
|
8474
8721
|
},
|