@eigenpal/sdk 0.6.8 → 0.6.10
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/CHANGELOG.md +12 -0
- package/README.md +23 -6
- package/package.json +3 -2
- package/src/client.ts +4 -0
- package/src/generated/index.ts +132 -111
- package/src/generated/sdk.gen.ts +272 -227
- package/src/generated/types.gen.ts +717 -685
- package/src/index.ts +15 -18
- package/src/resources/agents.ts +0 -298
- package/src/resources/executions.ts +19 -78
- package/src/resources/runs.ts +556 -0
- package/src/resources/workflows.ts +3 -4
- package/src/telemetry.ts +1 -1
|
@@ -35,16 +35,7 @@ export type CreateAgentBody = {
|
|
|
35
35
|
};
|
|
36
36
|
};
|
|
37
37
|
|
|
38
|
-
export type
|
|
39
|
-
name: string;
|
|
40
|
-
};
|
|
41
|
-
|
|
42
|
-
export type CopyAgentExecutionOutputToExpectedBody = {
|
|
43
|
-
outputFileName: string;
|
|
44
|
-
expectedName?: string;
|
|
45
|
-
};
|
|
46
|
-
|
|
47
|
-
export type UpdateAgentExecutionFeedbackBody = {
|
|
38
|
+
export type RunFeedbackRequest = {
|
|
48
39
|
body?: string | null;
|
|
49
40
|
feedback?: string | null;
|
|
50
41
|
rating?: 'pass' | 'fail' | 'partial' | null;
|
|
@@ -54,9 +45,16 @@ export type UpdateAgentExecutionFeedbackBody = {
|
|
|
54
45
|
expected?: unknown | null;
|
|
55
46
|
};
|
|
56
47
|
|
|
57
|
-
export type
|
|
48
|
+
export type RunsFilesUploadBody = {
|
|
49
|
+
/**
|
|
50
|
+
* File contents
|
|
51
|
+
*/
|
|
52
|
+
file: Blob | File;
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
export type RunRerunRequest = {
|
|
58
56
|
/**
|
|
59
|
-
*
|
|
57
|
+
* Source version for the new run. Defaults to latest/current. Use original to rerun against the source run version. Workflow runs support latest or original.
|
|
60
58
|
*/
|
|
61
59
|
sourceRef?: string;
|
|
62
60
|
};
|
|
@@ -215,60 +213,6 @@ export type ExecutionStatus =
|
|
|
215
213
|
| 'cancelled'
|
|
216
214
|
| 'rejected';
|
|
217
215
|
|
|
218
|
-
export type ListAgentRunsResponse = {
|
|
219
|
-
runs: Array<AgentExecutionSummary>;
|
|
220
|
-
total: number;
|
|
221
|
-
limit: number;
|
|
222
|
-
offset: number;
|
|
223
|
-
scanLimited?: boolean;
|
|
224
|
-
noResolvedAnchor?: boolean;
|
|
225
|
-
};
|
|
226
|
-
|
|
227
|
-
export type AgentExecutionSummary = {
|
|
228
|
-
id: string;
|
|
229
|
-
status: ExecutionStatus;
|
|
230
|
-
triggerType?: string | null;
|
|
231
|
-
triggeredBy?: {
|
|
232
|
-
id: string;
|
|
233
|
-
name?: string | null;
|
|
234
|
-
email: string;
|
|
235
|
-
} | null;
|
|
236
|
-
emailSubject?: string | null;
|
|
237
|
-
emailFrom?: string | null;
|
|
238
|
-
model?: string | null;
|
|
239
|
-
output?: unknown | null;
|
|
240
|
-
schemaValid?: boolean | null;
|
|
241
|
-
error?: string | null;
|
|
242
|
-
requestedSourceRef?: string | null;
|
|
243
|
-
resolvedGitRef?: string | null;
|
|
244
|
-
resolvedGitTag?: string | null;
|
|
245
|
-
resolvedCommitSha?: string | null;
|
|
246
|
-
exampleId?: string | null;
|
|
247
|
-
batchId?: string | null;
|
|
248
|
-
createdAt: string;
|
|
249
|
-
startedAt?: string | null;
|
|
250
|
-
completedAt?: string | null;
|
|
251
|
-
feedback?: {
|
|
252
|
-
rating?: 'pass' | 'fail' | 'partial' | null;
|
|
253
|
-
status?: 'open' | 'resolved' | 'ignored' | null;
|
|
254
|
-
createdAt?: string | null;
|
|
255
|
-
createdBy?: string | null;
|
|
256
|
-
createdByEmail?: string | null;
|
|
257
|
-
updatedAt?: string | null;
|
|
258
|
-
resolvedAt?: string | null;
|
|
259
|
-
resolvedBy?: string | null;
|
|
260
|
-
resolvedByEmail?: string | null;
|
|
261
|
-
resolvedBySessionId?: string | null;
|
|
262
|
-
promotedExampleName?: string | null;
|
|
263
|
-
body: string;
|
|
264
|
-
} | null;
|
|
265
|
-
expected?: unknown | null;
|
|
266
|
-
expectedFiles?: Array<{
|
|
267
|
-
name: string;
|
|
268
|
-
}>;
|
|
269
|
-
[key: string]: unknown;
|
|
270
|
-
};
|
|
271
|
-
|
|
272
216
|
export type ListAgentVersionsResponse = {
|
|
273
217
|
agentId: string;
|
|
274
218
|
slug: string;
|
|
@@ -280,6 +224,12 @@ export type ListAgentVersionsResponse = {
|
|
|
280
224
|
commit: string;
|
|
281
225
|
notes: string | null;
|
|
282
226
|
createdAt: string | null;
|
|
227
|
+
createdByUser: {
|
|
228
|
+
id: string;
|
|
229
|
+
email: string;
|
|
230
|
+
name: string | null;
|
|
231
|
+
image: string | null;
|
|
232
|
+
} | null;
|
|
283
233
|
latest: boolean;
|
|
284
234
|
}>;
|
|
285
235
|
};
|
|
@@ -297,58 +247,6 @@ export type CreateAgentResponse = {
|
|
|
297
247
|
recoveryKind?: 'existing' | 'legacy_hydrate' | 'minimal_scaffold';
|
|
298
248
|
};
|
|
299
249
|
|
|
300
|
-
export type CancelAgentExecutionResponse = {
|
|
301
|
-
run: AgentExecutionSummary;
|
|
302
|
-
};
|
|
303
|
-
|
|
304
|
-
export type RenameExpectedFileResponse = {
|
|
305
|
-
name: string;
|
|
306
|
-
};
|
|
307
|
-
|
|
308
|
-
export type AgentExecutionExpectedArtifacts = {
|
|
309
|
-
expected: unknown | null;
|
|
310
|
-
files: Array<{
|
|
311
|
-
name: string;
|
|
312
|
-
}>;
|
|
313
|
-
};
|
|
314
|
-
|
|
315
|
-
export type AgentExecutionFeedbackDetail = {
|
|
316
|
-
feedback: AgentExecutionFeedback | null;
|
|
317
|
-
expected: unknown | null;
|
|
318
|
-
expectedFiles: Array<{
|
|
319
|
-
name: string;
|
|
320
|
-
}>;
|
|
321
|
-
};
|
|
322
|
-
|
|
323
|
-
export type AgentExecutionFeedback = {
|
|
324
|
-
rating: 'pass' | 'fail' | 'partial' | null;
|
|
325
|
-
status: 'open' | 'resolved' | 'ignored' | null;
|
|
326
|
-
createdAt: string | null;
|
|
327
|
-
createdBy: string | null;
|
|
328
|
-
createdByEmail: string | null;
|
|
329
|
-
updatedAt: string | null;
|
|
330
|
-
resolvedAt: string | null;
|
|
331
|
-
resolvedBy: string | null;
|
|
332
|
-
resolvedByEmail: string | null;
|
|
333
|
-
resolvedBySessionId: string | null;
|
|
334
|
-
promotedExampleName: string | null;
|
|
335
|
-
body: string;
|
|
336
|
-
};
|
|
337
|
-
|
|
338
|
-
export type RerunAgentRunResponse = {
|
|
339
|
-
runId: string;
|
|
340
|
-
sourceRunId: string;
|
|
341
|
-
status: ExecutionStatus;
|
|
342
|
-
requestedSourceRef?: string | null;
|
|
343
|
-
resolvedGitRef?: string | null;
|
|
344
|
-
resolvedGitTag?: string | null;
|
|
345
|
-
resolvedCommitSha?: string | null;
|
|
346
|
-
};
|
|
347
|
-
|
|
348
|
-
export type AgentRunResponse = {
|
|
349
|
-
run: AgentExecutionSummary;
|
|
350
|
-
};
|
|
351
|
-
|
|
352
250
|
export type AutomationSyncResponse = {
|
|
353
251
|
automation: {
|
|
354
252
|
id: string;
|
|
@@ -365,6 +263,82 @@ export type AutomationSyncResponse = {
|
|
|
365
263
|
warnings: Array<string>;
|
|
366
264
|
};
|
|
367
265
|
|
|
266
|
+
export type RunFilesResponse = {
|
|
267
|
+
inputs: Array<{
|
|
268
|
+
[key: string]: unknown;
|
|
269
|
+
}>;
|
|
270
|
+
outputsByStep: {
|
|
271
|
+
[key: string]: Array<{
|
|
272
|
+
[key: string]: unknown;
|
|
273
|
+
}>;
|
|
274
|
+
};
|
|
275
|
+
};
|
|
276
|
+
|
|
277
|
+
export type RunRerunResponse = {
|
|
278
|
+
executionId?: string;
|
|
279
|
+
runId?: string;
|
|
280
|
+
status?: string;
|
|
281
|
+
};
|
|
282
|
+
|
|
283
|
+
export type RunResumeResponse = {
|
|
284
|
+
[key: string]: unknown;
|
|
285
|
+
};
|
|
286
|
+
|
|
287
|
+
export type RunEnvelope = {
|
|
288
|
+
run:
|
|
289
|
+
| RunSummary
|
|
290
|
+
| {
|
|
291
|
+
[key: string]: unknown;
|
|
292
|
+
};
|
|
293
|
+
};
|
|
294
|
+
|
|
295
|
+
export type RunSummary = {
|
|
296
|
+
id: string;
|
|
297
|
+
type: 'workflow' | 'agent';
|
|
298
|
+
status:
|
|
299
|
+
| 'created'
|
|
300
|
+
| 'pending'
|
|
301
|
+
| 'running'
|
|
302
|
+
| 'waiting'
|
|
303
|
+
| 'finalizing'
|
|
304
|
+
| 'completed'
|
|
305
|
+
| 'failed'
|
|
306
|
+
| 'cancelled'
|
|
307
|
+
| 'rejected';
|
|
308
|
+
triggerType: string | null;
|
|
309
|
+
createdAt: string;
|
|
310
|
+
startedAt?: string | null;
|
|
311
|
+
completedAt?: string | null;
|
|
312
|
+
durationMs: number | null;
|
|
313
|
+
error: string | null;
|
|
314
|
+
batchId: string | null;
|
|
315
|
+
previousExecutionId: string | null;
|
|
316
|
+
retryNumber: number;
|
|
317
|
+
schemaValid: boolean | null;
|
|
318
|
+
evalScore?: number | null;
|
|
319
|
+
evalPassed: boolean | null;
|
|
320
|
+
exampleId?: string | null;
|
|
321
|
+
exampleName?: string | null;
|
|
322
|
+
triggeredBy: {
|
|
323
|
+
id: string;
|
|
324
|
+
name: string | null;
|
|
325
|
+
email: string;
|
|
326
|
+
} | null;
|
|
327
|
+
version: string | null;
|
|
328
|
+
requestedSourceRef: string | null;
|
|
329
|
+
resolvedGitRef: string | null;
|
|
330
|
+
resolvedGitTag: string | null;
|
|
331
|
+
resolvedCommitSha: string | null;
|
|
332
|
+
sourceId: string;
|
|
333
|
+
sourceName: string | null;
|
|
334
|
+
agentSlug: string | null;
|
|
335
|
+
};
|
|
336
|
+
|
|
337
|
+
export type RunsListResponse = {
|
|
338
|
+
runs: Array<RunSummary>;
|
|
339
|
+
nextCursor: string | null;
|
|
340
|
+
};
|
|
341
|
+
|
|
368
342
|
export type SourceLockfileResponse = {
|
|
369
343
|
lockfileVersion: 1;
|
|
370
344
|
eigenpalVersion: string;
|
|
@@ -419,49 +393,6 @@ export type SourceSecretsEncryptResponse = {
|
|
|
419
393
|
};
|
|
420
394
|
};
|
|
421
395
|
|
|
422
|
-
export type ListWorkflowExecutionsResponse = {
|
|
423
|
-
data: Array<ExecutionSummary>;
|
|
424
|
-
total: number;
|
|
425
|
-
limit: number;
|
|
426
|
-
offset: number;
|
|
427
|
-
};
|
|
428
|
-
|
|
429
|
-
export type ExecutionSummary = {
|
|
430
|
-
id: string;
|
|
431
|
-
workflowId: string;
|
|
432
|
-
status: ExecutionStatus;
|
|
433
|
-
/**
|
|
434
|
-
* "api" | "scheduled" | "manual" | …
|
|
435
|
-
*/
|
|
436
|
-
triggerType?: string | null;
|
|
437
|
-
/**
|
|
438
|
-
* Original input map. Useful for replay.
|
|
439
|
-
*/
|
|
440
|
-
triggerInput?: unknown | null;
|
|
441
|
-
/**
|
|
442
|
-
* Workflow output (status=completed).
|
|
443
|
-
*/
|
|
444
|
-
result?: unknown | null;
|
|
445
|
-
/**
|
|
446
|
-
* Error message (status=failed).
|
|
447
|
-
*/
|
|
448
|
-
error?: string | null;
|
|
449
|
-
createdAt: string;
|
|
450
|
-
startedAt?: string | null;
|
|
451
|
-
completedAt?: string | null;
|
|
452
|
-
/**
|
|
453
|
-
* Total wall-clock duration in milliseconds. Only set after the execution reaches a terminal status.
|
|
454
|
-
*/
|
|
455
|
-
durationMs?: number | null;
|
|
456
|
-
/**
|
|
457
|
-
* Owning workflow (null when the workflow has been deleted)
|
|
458
|
-
*/
|
|
459
|
-
workflow?: {
|
|
460
|
-
id: string;
|
|
461
|
-
name: string;
|
|
462
|
-
} | null;
|
|
463
|
-
};
|
|
464
|
-
|
|
465
396
|
export type WorkflowDetail = {
|
|
466
397
|
/**
|
|
467
398
|
* Workflow id (e.g. wf_abc123).
|
|
@@ -530,39 +461,6 @@ export type WorkflowVersion = {
|
|
|
530
461
|
createdAt?: string;
|
|
531
462
|
};
|
|
532
463
|
|
|
533
|
-
export type CancelWorkflowExecutionResponse = {
|
|
534
|
-
executionId: string;
|
|
535
|
-
/**
|
|
536
|
-
* Outcome. `cancelled` (transitioned), `cancellation-requested` (worker will observe), or `already-terminal` (no-op).
|
|
537
|
-
*/
|
|
538
|
-
status: 'cancelled' | 'cancellation-requested' | 'already-terminal';
|
|
539
|
-
/**
|
|
540
|
-
* Status at the moment of the cancel request
|
|
541
|
-
*/
|
|
542
|
-
wasStatus: ExecutionStatus;
|
|
543
|
-
};
|
|
544
|
-
|
|
545
|
-
export type WorkflowExecutionStatusResponse = {
|
|
546
|
-
executionId: string;
|
|
547
|
-
status: ExecutionStatus;
|
|
548
|
-
/**
|
|
549
|
-
* ISO-8601 creation timestamp
|
|
550
|
-
*/
|
|
551
|
-
createdAt: string;
|
|
552
|
-
/**
|
|
553
|
-
* ISO-8601 completion timestamp; only set in terminal states
|
|
554
|
-
*/
|
|
555
|
-
completedAt?: string | null;
|
|
556
|
-
/**
|
|
557
|
-
* Workflow output (status=completed)
|
|
558
|
-
*/
|
|
559
|
-
result?: unknown | null;
|
|
560
|
-
/**
|
|
561
|
-
* Error message (status=failed)
|
|
562
|
-
*/
|
|
563
|
-
error?: string | null;
|
|
564
|
-
};
|
|
565
|
-
|
|
566
464
|
export type ListWorkflowsResponse = {
|
|
567
465
|
data: Array<WorkflowSummary>;
|
|
568
466
|
total: number;
|
|
@@ -926,119 +824,6 @@ export type AgentsRunResponses = {
|
|
|
926
824
|
|
|
927
825
|
export type AgentsRunResponse = AgentsRunResponses[keyof AgentsRunResponses];
|
|
928
826
|
|
|
929
|
-
export type AgentsRunsListData = {
|
|
930
|
-
body?: never;
|
|
931
|
-
path: {
|
|
932
|
-
/**
|
|
933
|
-
* Agent id or slug
|
|
934
|
-
*/
|
|
935
|
-
agentId: string;
|
|
936
|
-
};
|
|
937
|
-
query?: {
|
|
938
|
-
/**
|
|
939
|
-
* Run status filter
|
|
940
|
-
*/
|
|
941
|
-
status?: string;
|
|
942
|
-
/**
|
|
943
|
-
* Experiment batch id filter
|
|
944
|
-
*/
|
|
945
|
-
batchId?: string;
|
|
946
|
-
/**
|
|
947
|
-
* Exact dataset example id (folder name) filter
|
|
948
|
-
*/
|
|
949
|
-
exampleId?: string;
|
|
950
|
-
/**
|
|
951
|
-
* Substring match on dataset example id
|
|
952
|
-
*/
|
|
953
|
-
exampleIdContains?: string;
|
|
954
|
-
/**
|
|
955
|
-
* Only runs created at/after this ISO timestamp
|
|
956
|
-
*/
|
|
957
|
-
createdAfter?: string;
|
|
958
|
-
/**
|
|
959
|
-
* Only runs created at/before this ISO timestamp
|
|
960
|
-
*/
|
|
961
|
-
createdBefore?: string;
|
|
962
|
-
/**
|
|
963
|
-
* Only runs completed at/after this ISO timestamp
|
|
964
|
-
*/
|
|
965
|
-
completedAfter?: string;
|
|
966
|
-
/**
|
|
967
|
-
* Only runs completed at/before this ISO timestamp
|
|
968
|
-
*/
|
|
969
|
-
completedBefore?: string;
|
|
970
|
-
/**
|
|
971
|
-
* Filter by the source ref requested when the run was created
|
|
972
|
-
*/
|
|
973
|
-
sourceRef?: string;
|
|
974
|
-
feedbackStatus?: 'open' | 'resolved' | 'ignored';
|
|
975
|
-
feedbackRating?: 'pass' | 'fail' | 'partial' | 'none';
|
|
976
|
-
hasFeedback?: boolean;
|
|
977
|
-
noFeedback?: boolean;
|
|
978
|
-
hasExpected?: boolean;
|
|
979
|
-
hasExpectedJson?: boolean;
|
|
980
|
-
hasExpectedFiles?: boolean;
|
|
981
|
-
feedbackBodyContains?: string;
|
|
982
|
-
feedbackCreatedAfter?: string;
|
|
983
|
-
feedbackCreatedBefore?: string;
|
|
984
|
-
feedbackUpdatedAfter?: string;
|
|
985
|
-
feedbackUpdatedBefore?: string;
|
|
986
|
-
feedbackResolvedAfter?: string;
|
|
987
|
-
feedbackResolvedBefore?: string;
|
|
988
|
-
promotedToExample?: boolean;
|
|
989
|
-
promotedExampleName?: string;
|
|
990
|
-
sinceLastResolved?: boolean;
|
|
991
|
-
/**
|
|
992
|
-
* Comma-separated extra parts: feedback, expected, files
|
|
993
|
-
*/
|
|
994
|
-
include?: string;
|
|
995
|
-
sort?: 'createdAt' | 'completedAt' | 'status' | 'exampleId';
|
|
996
|
-
order?: 'asc' | 'desc';
|
|
997
|
-
scanLimit?: number;
|
|
998
|
-
limit?: number;
|
|
999
|
-
offset?: number;
|
|
1000
|
-
};
|
|
1001
|
-
url: '/api/v1/agents/{agentId}/runs';
|
|
1002
|
-
};
|
|
1003
|
-
|
|
1004
|
-
export type AgentsRunsListErrors = {
|
|
1005
|
-
/**
|
|
1006
|
-
* Validation error. Request shape did not match the spec.
|
|
1007
|
-
*/
|
|
1008
|
-
400: ApiErrorEnvelope;
|
|
1009
|
-
/**
|
|
1010
|
-
* Missing or invalid API key
|
|
1011
|
-
*/
|
|
1012
|
-
401: ApiErrorEnvelope;
|
|
1013
|
-
/**
|
|
1014
|
-
* API key lacks required scope
|
|
1015
|
-
*/
|
|
1016
|
-
403: ApiErrorEnvelope;
|
|
1017
|
-
/**
|
|
1018
|
-
* Resource not found
|
|
1019
|
-
*/
|
|
1020
|
-
404: ApiErrorEnvelope;
|
|
1021
|
-
/**
|
|
1022
|
-
* Rate limit exceeded
|
|
1023
|
-
*/
|
|
1024
|
-
429: ApiErrorEnvelope;
|
|
1025
|
-
/**
|
|
1026
|
-
* Internal server error
|
|
1027
|
-
*/
|
|
1028
|
-
500: ApiErrorEnvelope;
|
|
1029
|
-
};
|
|
1030
|
-
|
|
1031
|
-
export type AgentsRunsListError = AgentsRunsListErrors[keyof AgentsRunsListErrors];
|
|
1032
|
-
|
|
1033
|
-
export type AgentsRunsListResponses = {
|
|
1034
|
-
/**
|
|
1035
|
-
* List of agent runs
|
|
1036
|
-
*/
|
|
1037
|
-
200: ListAgentRunsResponse;
|
|
1038
|
-
};
|
|
1039
|
-
|
|
1040
|
-
export type AgentsRunsListResponse = AgentsRunsListResponses[keyof AgentsRunsListResponses];
|
|
1041
|
-
|
|
1042
827
|
export type AgentsTriggersEmailDeleteAliasData = {
|
|
1043
828
|
body?: never;
|
|
1044
829
|
path: {
|
|
@@ -1493,19 +1278,14 @@ export type AgentsCreateResponses = {
|
|
|
1493
1278
|
|
|
1494
1279
|
export type AgentsCreateResponse = AgentsCreateResponses[keyof AgentsCreateResponses];
|
|
1495
1280
|
|
|
1496
|
-
export type
|
|
1281
|
+
export type AgentsTriggersEmailListData = {
|
|
1497
1282
|
body?: never;
|
|
1498
|
-
path
|
|
1499
|
-
/**
|
|
1500
|
-
* Run id
|
|
1501
|
-
*/
|
|
1502
|
-
runId: string;
|
|
1503
|
-
};
|
|
1283
|
+
path?: never;
|
|
1504
1284
|
query?: never;
|
|
1505
|
-
url: '/api/v1/agents/
|
|
1285
|
+
url: '/api/v1/agents/triggers/email';
|
|
1506
1286
|
};
|
|
1507
1287
|
|
|
1508
|
-
export type
|
|
1288
|
+
export type AgentsTriggersEmailListErrors = {
|
|
1509
1289
|
/**
|
|
1510
1290
|
* Validation error. Request shape did not match the spec.
|
|
1511
1291
|
*/
|
|
@@ -1532,34 +1312,31 @@ export type AgentsRunsCancelErrors = {
|
|
|
1532
1312
|
500: ApiErrorEnvelope;
|
|
1533
1313
|
};
|
|
1534
1314
|
|
|
1535
|
-
export type
|
|
1315
|
+
export type AgentsTriggersEmailListError =
|
|
1316
|
+
AgentsTriggersEmailListErrors[keyof AgentsTriggersEmailListErrors];
|
|
1536
1317
|
|
|
1537
|
-
export type
|
|
1318
|
+
export type AgentsTriggersEmailListResponses = {
|
|
1538
1319
|
/**
|
|
1539
|
-
*
|
|
1320
|
+
* Email trigger aliases
|
|
1540
1321
|
*/
|
|
1541
|
-
200:
|
|
1322
|
+
200: {
|
|
1323
|
+
emails: Array<unknown>;
|
|
1324
|
+
};
|
|
1542
1325
|
};
|
|
1543
1326
|
|
|
1544
|
-
export type
|
|
1327
|
+
export type AgentsTriggersEmailListResponse =
|
|
1328
|
+
AgentsTriggersEmailListResponses[keyof AgentsTriggersEmailListResponses];
|
|
1545
1329
|
|
|
1546
|
-
export type
|
|
1330
|
+
export type AutomationsSyncData = {
|
|
1547
1331
|
body?: never;
|
|
1548
1332
|
path: {
|
|
1549
|
-
|
|
1550
|
-
* Run id
|
|
1551
|
-
*/
|
|
1552
|
-
runId: string;
|
|
1553
|
-
/**
|
|
1554
|
-
* Expected artifact path
|
|
1555
|
-
*/
|
|
1556
|
-
filename: string;
|
|
1333
|
+
automation: string;
|
|
1557
1334
|
};
|
|
1558
1335
|
query?: never;
|
|
1559
|
-
url: '/api/v1/
|
|
1336
|
+
url: '/api/v1/automations/{automation}/sync';
|
|
1560
1337
|
};
|
|
1561
1338
|
|
|
1562
|
-
export type
|
|
1339
|
+
export type AutomationsSyncErrors = {
|
|
1563
1340
|
/**
|
|
1564
1341
|
* Validation error. Request shape did not match the spec.
|
|
1565
1342
|
*/
|
|
@@ -1586,36 +1363,28 @@ export type AgentsRunsExpectedDeleteErrors = {
|
|
|
1586
1363
|
500: ApiErrorEnvelope;
|
|
1587
1364
|
};
|
|
1588
1365
|
|
|
1589
|
-
export type
|
|
1590
|
-
AgentsRunsExpectedDeleteErrors[keyof AgentsRunsExpectedDeleteErrors];
|
|
1366
|
+
export type AutomationsSyncError = AutomationsSyncErrors[keyof AutomationsSyncErrors];
|
|
1591
1367
|
|
|
1592
|
-
export type
|
|
1368
|
+
export type AutomationsSyncResponses = {
|
|
1593
1369
|
/**
|
|
1594
|
-
*
|
|
1370
|
+
* Automation synced
|
|
1595
1371
|
*/
|
|
1596
|
-
|
|
1372
|
+
200: AutomationSyncResponse;
|
|
1597
1373
|
};
|
|
1598
1374
|
|
|
1599
|
-
export type
|
|
1600
|
-
AgentsRunsExpectedDeleteResponses[keyof AgentsRunsExpectedDeleteResponses];
|
|
1375
|
+
export type AutomationsSyncResponse = AutomationsSyncResponses[keyof AutomationsSyncResponses];
|
|
1601
1376
|
|
|
1602
|
-
export type
|
|
1377
|
+
export type RunsArtifactGetData = {
|
|
1603
1378
|
body?: never;
|
|
1604
1379
|
path: {
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
*/
|
|
1608
|
-
runId: string;
|
|
1609
|
-
/**
|
|
1610
|
-
* Expected artifact path
|
|
1611
|
-
*/
|
|
1612
|
-
filename: string;
|
|
1380
|
+
id: string;
|
|
1381
|
+
path: string;
|
|
1613
1382
|
};
|
|
1614
1383
|
query?: never;
|
|
1615
|
-
url: '/api/v1/
|
|
1384
|
+
url: '/api/v1/runs/{id}/artifact/{path}';
|
|
1616
1385
|
};
|
|
1617
1386
|
|
|
1618
|
-
export type
|
|
1387
|
+
export type RunsArtifactGetErrors = {
|
|
1619
1388
|
/**
|
|
1620
1389
|
* Validation error. Request shape did not match the spec.
|
|
1621
1390
|
*/
|
|
@@ -1642,33 +1411,474 @@ export type AgentsRunsExpectedDownloadErrors = {
|
|
|
1642
1411
|
500: ApiErrorEnvelope;
|
|
1643
1412
|
};
|
|
1644
1413
|
|
|
1645
|
-
export type
|
|
1646
|
-
AgentsRunsExpectedDownloadErrors[keyof AgentsRunsExpectedDownloadErrors];
|
|
1414
|
+
export type RunsArtifactGetError = RunsArtifactGetErrors[keyof RunsArtifactGetErrors];
|
|
1647
1415
|
|
|
1648
|
-
export type
|
|
1416
|
+
export type RunsArtifactGetResponses = {
|
|
1649
1417
|
/**
|
|
1650
|
-
*
|
|
1418
|
+
* Run artifact
|
|
1651
1419
|
*/
|
|
1652
1420
|
200: unknown;
|
|
1653
1421
|
};
|
|
1654
1422
|
|
|
1655
|
-
export type
|
|
1656
|
-
body
|
|
1423
|
+
export type RunsCancelData = {
|
|
1424
|
+
body?: never;
|
|
1425
|
+
path: {
|
|
1426
|
+
id: string;
|
|
1427
|
+
};
|
|
1428
|
+
query?: never;
|
|
1429
|
+
url: '/api/v1/runs/{id}/cancel';
|
|
1430
|
+
};
|
|
1431
|
+
|
|
1432
|
+
export type RunsCancelErrors = {
|
|
1433
|
+
/**
|
|
1434
|
+
* Validation error. Request shape did not match the spec.
|
|
1435
|
+
*/
|
|
1436
|
+
400: ApiErrorEnvelope;
|
|
1437
|
+
/**
|
|
1438
|
+
* Missing or invalid API key
|
|
1439
|
+
*/
|
|
1440
|
+
401: ApiErrorEnvelope;
|
|
1441
|
+
/**
|
|
1442
|
+
* API key lacks required scope
|
|
1443
|
+
*/
|
|
1444
|
+
403: ApiErrorEnvelope;
|
|
1445
|
+
/**
|
|
1446
|
+
* Resource not found
|
|
1447
|
+
*/
|
|
1448
|
+
404: ApiErrorEnvelope;
|
|
1449
|
+
/**
|
|
1450
|
+
* Rate limit exceeded
|
|
1451
|
+
*/
|
|
1452
|
+
429: ApiErrorEnvelope;
|
|
1453
|
+
/**
|
|
1454
|
+
* Internal server error
|
|
1455
|
+
*/
|
|
1456
|
+
500: ApiErrorEnvelope;
|
|
1457
|
+
};
|
|
1458
|
+
|
|
1459
|
+
export type RunsCancelError = RunsCancelErrors[keyof RunsCancelErrors];
|
|
1460
|
+
|
|
1461
|
+
export type RunsCancelResponses = {
|
|
1462
|
+
/**
|
|
1463
|
+
* Cancellation result
|
|
1464
|
+
*/
|
|
1465
|
+
200: {
|
|
1466
|
+
[key: string]: unknown;
|
|
1467
|
+
};
|
|
1468
|
+
};
|
|
1469
|
+
|
|
1470
|
+
export type RunsCancelResponse = RunsCancelResponses[keyof RunsCancelResponses];
|
|
1471
|
+
|
|
1472
|
+
export type RunsComparisonGetData = {
|
|
1473
|
+
body?: never;
|
|
1474
|
+
path: {
|
|
1475
|
+
id: string;
|
|
1476
|
+
};
|
|
1477
|
+
query?: never;
|
|
1478
|
+
url: '/api/v1/runs/{id}/comparison';
|
|
1479
|
+
};
|
|
1480
|
+
|
|
1481
|
+
export type RunsComparisonGetErrors = {
|
|
1482
|
+
/**
|
|
1483
|
+
* Validation error. Request shape did not match the spec.
|
|
1484
|
+
*/
|
|
1485
|
+
400: ApiErrorEnvelope;
|
|
1486
|
+
/**
|
|
1487
|
+
* Missing or invalid API key
|
|
1488
|
+
*/
|
|
1489
|
+
401: ApiErrorEnvelope;
|
|
1490
|
+
/**
|
|
1491
|
+
* API key lacks required scope
|
|
1492
|
+
*/
|
|
1493
|
+
403: ApiErrorEnvelope;
|
|
1494
|
+
/**
|
|
1495
|
+
* Resource not found
|
|
1496
|
+
*/
|
|
1497
|
+
404: ApiErrorEnvelope;
|
|
1498
|
+
/**
|
|
1499
|
+
* Rate limit exceeded
|
|
1500
|
+
*/
|
|
1501
|
+
429: ApiErrorEnvelope;
|
|
1502
|
+
/**
|
|
1503
|
+
* Internal server error
|
|
1504
|
+
*/
|
|
1505
|
+
500: ApiErrorEnvelope;
|
|
1506
|
+
};
|
|
1507
|
+
|
|
1508
|
+
export type RunsComparisonGetError = RunsComparisonGetErrors[keyof RunsComparisonGetErrors];
|
|
1509
|
+
|
|
1510
|
+
export type RunsComparisonGetResponses = {
|
|
1511
|
+
/**
|
|
1512
|
+
* Run comparison
|
|
1513
|
+
*/
|
|
1514
|
+
200: {
|
|
1515
|
+
[key: string]: unknown;
|
|
1516
|
+
};
|
|
1517
|
+
};
|
|
1518
|
+
|
|
1519
|
+
export type RunsComparisonGetResponse =
|
|
1520
|
+
RunsComparisonGetResponses[keyof RunsComparisonGetResponses];
|
|
1521
|
+
|
|
1522
|
+
export type RunsConnectData = {
|
|
1523
|
+
body?: never;
|
|
1524
|
+
path: {
|
|
1525
|
+
id: string;
|
|
1526
|
+
};
|
|
1527
|
+
query?: never;
|
|
1528
|
+
url: '/api/v1/runs/{id}/connect';
|
|
1529
|
+
};
|
|
1530
|
+
|
|
1531
|
+
export type RunsConnectErrors = {
|
|
1532
|
+
/**
|
|
1533
|
+
* Validation error. Request shape did not match the spec.
|
|
1534
|
+
*/
|
|
1535
|
+
400: ApiErrorEnvelope;
|
|
1536
|
+
/**
|
|
1537
|
+
* Missing or invalid API key
|
|
1538
|
+
*/
|
|
1539
|
+
401: ApiErrorEnvelope;
|
|
1540
|
+
/**
|
|
1541
|
+
* API key lacks required scope
|
|
1542
|
+
*/
|
|
1543
|
+
403: ApiErrorEnvelope;
|
|
1544
|
+
/**
|
|
1545
|
+
* Resource not found
|
|
1546
|
+
*/
|
|
1547
|
+
404: ApiErrorEnvelope;
|
|
1548
|
+
/**
|
|
1549
|
+
* Rate limit exceeded
|
|
1550
|
+
*/
|
|
1551
|
+
429: ApiErrorEnvelope;
|
|
1552
|
+
/**
|
|
1553
|
+
* Internal server error
|
|
1554
|
+
*/
|
|
1555
|
+
500: ApiErrorEnvelope;
|
|
1556
|
+
};
|
|
1557
|
+
|
|
1558
|
+
export type RunsConnectError = RunsConnectErrors[keyof RunsConnectErrors];
|
|
1559
|
+
|
|
1560
|
+
export type RunsConnectResponses = {
|
|
1561
|
+
/**
|
|
1562
|
+
* Run connection status
|
|
1563
|
+
*/
|
|
1564
|
+
200: {
|
|
1565
|
+
[key: string]: unknown;
|
|
1566
|
+
};
|
|
1567
|
+
};
|
|
1568
|
+
|
|
1569
|
+
export type RunsConnectResponse = RunsConnectResponses[keyof RunsConnectResponses];
|
|
1570
|
+
|
|
1571
|
+
export type RunsExpectedFileDeleteData = {
|
|
1572
|
+
body?: never;
|
|
1573
|
+
path: {
|
|
1574
|
+
id: string;
|
|
1575
|
+
filename: string;
|
|
1576
|
+
};
|
|
1577
|
+
query?: never;
|
|
1578
|
+
url: '/api/v1/runs/{id}/expected/{filename}';
|
|
1579
|
+
};
|
|
1580
|
+
|
|
1581
|
+
export type RunsExpectedFileDeleteErrors = {
|
|
1582
|
+
/**
|
|
1583
|
+
* Validation error. Request shape did not match the spec.
|
|
1584
|
+
*/
|
|
1585
|
+
400: ApiErrorEnvelope;
|
|
1586
|
+
/**
|
|
1587
|
+
* Missing or invalid API key
|
|
1588
|
+
*/
|
|
1589
|
+
401: ApiErrorEnvelope;
|
|
1590
|
+
/**
|
|
1591
|
+
* API key lacks required scope
|
|
1592
|
+
*/
|
|
1593
|
+
403: ApiErrorEnvelope;
|
|
1594
|
+
/**
|
|
1595
|
+
* Resource not found
|
|
1596
|
+
*/
|
|
1597
|
+
404: ApiErrorEnvelope;
|
|
1598
|
+
/**
|
|
1599
|
+
* Rate limit exceeded
|
|
1600
|
+
*/
|
|
1601
|
+
429: ApiErrorEnvelope;
|
|
1602
|
+
/**
|
|
1603
|
+
* Internal server error
|
|
1604
|
+
*/
|
|
1605
|
+
500: ApiErrorEnvelope;
|
|
1606
|
+
};
|
|
1607
|
+
|
|
1608
|
+
export type RunsExpectedFileDeleteError =
|
|
1609
|
+
RunsExpectedFileDeleteErrors[keyof RunsExpectedFileDeleteErrors];
|
|
1610
|
+
|
|
1611
|
+
export type RunsExpectedFileDeleteResponses = {
|
|
1612
|
+
/**
|
|
1613
|
+
* Expected file deleted
|
|
1614
|
+
*/
|
|
1615
|
+
204: void;
|
|
1616
|
+
};
|
|
1617
|
+
|
|
1618
|
+
export type RunsExpectedFileDeleteResponse =
|
|
1619
|
+
RunsExpectedFileDeleteResponses[keyof RunsExpectedFileDeleteResponses];
|
|
1620
|
+
|
|
1621
|
+
export type RunsExpectedFileGetData = {
|
|
1622
|
+
body?: never;
|
|
1623
|
+
path: {
|
|
1624
|
+
id: string;
|
|
1625
|
+
filename: string;
|
|
1626
|
+
};
|
|
1627
|
+
query?: never;
|
|
1628
|
+
url: '/api/v1/runs/{id}/expected/{filename}';
|
|
1629
|
+
};
|
|
1630
|
+
|
|
1631
|
+
export type RunsExpectedFileGetErrors = {
|
|
1632
|
+
/**
|
|
1633
|
+
* Validation error. Request shape did not match the spec.
|
|
1634
|
+
*/
|
|
1635
|
+
400: ApiErrorEnvelope;
|
|
1636
|
+
/**
|
|
1637
|
+
* Missing or invalid API key
|
|
1638
|
+
*/
|
|
1639
|
+
401: ApiErrorEnvelope;
|
|
1640
|
+
/**
|
|
1641
|
+
* API key lacks required scope
|
|
1642
|
+
*/
|
|
1643
|
+
403: ApiErrorEnvelope;
|
|
1644
|
+
/**
|
|
1645
|
+
* Resource not found
|
|
1646
|
+
*/
|
|
1647
|
+
404: ApiErrorEnvelope;
|
|
1648
|
+
/**
|
|
1649
|
+
* Rate limit exceeded
|
|
1650
|
+
*/
|
|
1651
|
+
429: ApiErrorEnvelope;
|
|
1652
|
+
/**
|
|
1653
|
+
* Internal server error
|
|
1654
|
+
*/
|
|
1655
|
+
500: ApiErrorEnvelope;
|
|
1656
|
+
};
|
|
1657
|
+
|
|
1658
|
+
export type RunsExpectedFileGetError = RunsExpectedFileGetErrors[keyof RunsExpectedFileGetErrors];
|
|
1659
|
+
|
|
1660
|
+
export type RunsExpectedFileGetResponses = {
|
|
1661
|
+
/**
|
|
1662
|
+
* Expected file
|
|
1663
|
+
*/
|
|
1664
|
+
200: unknown;
|
|
1665
|
+
};
|
|
1666
|
+
|
|
1667
|
+
export type RunsExpectedFileUpdateData = {
|
|
1668
|
+
body: {
|
|
1669
|
+
name: string;
|
|
1670
|
+
};
|
|
1671
|
+
path: {
|
|
1672
|
+
id: string;
|
|
1673
|
+
filename: string;
|
|
1674
|
+
};
|
|
1675
|
+
query?: never;
|
|
1676
|
+
url: '/api/v1/runs/{id}/expected/{filename}';
|
|
1677
|
+
};
|
|
1678
|
+
|
|
1679
|
+
export type RunsExpectedFileUpdateErrors = {
|
|
1680
|
+
/**
|
|
1681
|
+
* Validation error. Request shape did not match the spec.
|
|
1682
|
+
*/
|
|
1683
|
+
400: ApiErrorEnvelope;
|
|
1684
|
+
/**
|
|
1685
|
+
* Missing or invalid API key
|
|
1686
|
+
*/
|
|
1687
|
+
401: ApiErrorEnvelope;
|
|
1688
|
+
/**
|
|
1689
|
+
* API key lacks required scope
|
|
1690
|
+
*/
|
|
1691
|
+
403: ApiErrorEnvelope;
|
|
1692
|
+
/**
|
|
1693
|
+
* Resource not found
|
|
1694
|
+
*/
|
|
1695
|
+
404: ApiErrorEnvelope;
|
|
1696
|
+
/**
|
|
1697
|
+
* Rate limit exceeded
|
|
1698
|
+
*/
|
|
1699
|
+
429: ApiErrorEnvelope;
|
|
1700
|
+
/**
|
|
1701
|
+
* Internal server error
|
|
1702
|
+
*/
|
|
1703
|
+
500: ApiErrorEnvelope;
|
|
1704
|
+
};
|
|
1705
|
+
|
|
1706
|
+
export type RunsExpectedFileUpdateError =
|
|
1707
|
+
RunsExpectedFileUpdateErrors[keyof RunsExpectedFileUpdateErrors];
|
|
1708
|
+
|
|
1709
|
+
export type RunsExpectedFileUpdateResponses = {
|
|
1710
|
+
/**
|
|
1711
|
+
* Expected file updated
|
|
1712
|
+
*/
|
|
1713
|
+
200: {
|
|
1714
|
+
[key: string]: unknown;
|
|
1715
|
+
};
|
|
1716
|
+
};
|
|
1717
|
+
|
|
1718
|
+
export type RunsExpectedFileUpdateResponse =
|
|
1719
|
+
RunsExpectedFileUpdateResponses[keyof RunsExpectedFileUpdateResponses];
|
|
1720
|
+
|
|
1721
|
+
export type RunsExpectedGetData = {
|
|
1722
|
+
body?: never;
|
|
1723
|
+
path: {
|
|
1724
|
+
id: string;
|
|
1725
|
+
};
|
|
1726
|
+
query?: never;
|
|
1727
|
+
url: '/api/v1/runs/{id}/expected';
|
|
1728
|
+
};
|
|
1729
|
+
|
|
1730
|
+
export type RunsExpectedGetErrors = {
|
|
1731
|
+
/**
|
|
1732
|
+
* Validation error. Request shape did not match the spec.
|
|
1733
|
+
*/
|
|
1734
|
+
400: ApiErrorEnvelope;
|
|
1735
|
+
/**
|
|
1736
|
+
* Missing or invalid API key
|
|
1737
|
+
*/
|
|
1738
|
+
401: ApiErrorEnvelope;
|
|
1739
|
+
/**
|
|
1740
|
+
* API key lacks required scope
|
|
1741
|
+
*/
|
|
1742
|
+
403: ApiErrorEnvelope;
|
|
1743
|
+
/**
|
|
1744
|
+
* Resource not found
|
|
1745
|
+
*/
|
|
1746
|
+
404: ApiErrorEnvelope;
|
|
1747
|
+
/**
|
|
1748
|
+
* Rate limit exceeded
|
|
1749
|
+
*/
|
|
1750
|
+
429: ApiErrorEnvelope;
|
|
1751
|
+
/**
|
|
1752
|
+
* Internal server error
|
|
1753
|
+
*/
|
|
1754
|
+
500: ApiErrorEnvelope;
|
|
1755
|
+
};
|
|
1756
|
+
|
|
1757
|
+
export type RunsExpectedGetError = RunsExpectedGetErrors[keyof RunsExpectedGetErrors];
|
|
1758
|
+
|
|
1759
|
+
export type RunsExpectedGetResponses = {
|
|
1760
|
+
/**
|
|
1761
|
+
* Expected artifacts
|
|
1762
|
+
*/
|
|
1763
|
+
200: {
|
|
1764
|
+
[key: string]: unknown;
|
|
1765
|
+
};
|
|
1766
|
+
};
|
|
1767
|
+
|
|
1768
|
+
export type RunsExpectedGetResponse = RunsExpectedGetResponses[keyof RunsExpectedGetResponses];
|
|
1769
|
+
|
|
1770
|
+
export type RunsExpectedCreateData = {
|
|
1771
|
+
body: {
|
|
1772
|
+
[key: string]: unknown;
|
|
1773
|
+
};
|
|
1774
|
+
path: {
|
|
1775
|
+
id: string;
|
|
1776
|
+
};
|
|
1777
|
+
query?: never;
|
|
1778
|
+
url: '/api/v1/runs/{id}/expected';
|
|
1779
|
+
};
|
|
1780
|
+
|
|
1781
|
+
export type RunsExpectedCreateErrors = {
|
|
1782
|
+
/**
|
|
1783
|
+
* Validation error. Request shape did not match the spec.
|
|
1784
|
+
*/
|
|
1785
|
+
400: ApiErrorEnvelope;
|
|
1786
|
+
/**
|
|
1787
|
+
* Missing or invalid API key
|
|
1788
|
+
*/
|
|
1789
|
+
401: ApiErrorEnvelope;
|
|
1790
|
+
/**
|
|
1791
|
+
* API key lacks required scope
|
|
1792
|
+
*/
|
|
1793
|
+
403: ApiErrorEnvelope;
|
|
1794
|
+
/**
|
|
1795
|
+
* Resource not found
|
|
1796
|
+
*/
|
|
1797
|
+
404: ApiErrorEnvelope;
|
|
1798
|
+
/**
|
|
1799
|
+
* Rate limit exceeded
|
|
1800
|
+
*/
|
|
1801
|
+
429: ApiErrorEnvelope;
|
|
1802
|
+
/**
|
|
1803
|
+
* Internal server error
|
|
1804
|
+
*/
|
|
1805
|
+
500: ApiErrorEnvelope;
|
|
1806
|
+
};
|
|
1807
|
+
|
|
1808
|
+
export type RunsExpectedCreateError = RunsExpectedCreateErrors[keyof RunsExpectedCreateErrors];
|
|
1809
|
+
|
|
1810
|
+
export type RunsExpectedCreateResponses = {
|
|
1811
|
+
/**
|
|
1812
|
+
* Expected artifacts updated
|
|
1813
|
+
*/
|
|
1814
|
+
201: {
|
|
1815
|
+
[key: string]: unknown;
|
|
1816
|
+
};
|
|
1817
|
+
};
|
|
1818
|
+
|
|
1819
|
+
export type RunsExpectedCreateResponse =
|
|
1820
|
+
RunsExpectedCreateResponses[keyof RunsExpectedCreateResponses];
|
|
1821
|
+
|
|
1822
|
+
export type RunsFeedbackClearData = {
|
|
1823
|
+
body?: never;
|
|
1824
|
+
path: {
|
|
1825
|
+
id: string;
|
|
1826
|
+
};
|
|
1827
|
+
query?: never;
|
|
1828
|
+
url: '/api/v1/runs/{id}/feedback';
|
|
1829
|
+
};
|
|
1830
|
+
|
|
1831
|
+
export type RunsFeedbackClearErrors = {
|
|
1832
|
+
/**
|
|
1833
|
+
* Validation error. Request shape did not match the spec.
|
|
1834
|
+
*/
|
|
1835
|
+
400: ApiErrorEnvelope;
|
|
1836
|
+
/**
|
|
1837
|
+
* Missing or invalid API key
|
|
1838
|
+
*/
|
|
1839
|
+
401: ApiErrorEnvelope;
|
|
1840
|
+
/**
|
|
1841
|
+
* API key lacks required scope
|
|
1842
|
+
*/
|
|
1843
|
+
403: ApiErrorEnvelope;
|
|
1844
|
+
/**
|
|
1845
|
+
* Resource not found
|
|
1846
|
+
*/
|
|
1847
|
+
404: ApiErrorEnvelope;
|
|
1848
|
+
/**
|
|
1849
|
+
* Rate limit exceeded
|
|
1850
|
+
*/
|
|
1851
|
+
429: ApiErrorEnvelope;
|
|
1852
|
+
/**
|
|
1853
|
+
* Internal server error
|
|
1854
|
+
*/
|
|
1855
|
+
500: ApiErrorEnvelope;
|
|
1856
|
+
};
|
|
1857
|
+
|
|
1858
|
+
export type RunsFeedbackClearError = RunsFeedbackClearErrors[keyof RunsFeedbackClearErrors];
|
|
1859
|
+
|
|
1860
|
+
export type RunsFeedbackClearResponses = {
|
|
1861
|
+
/**
|
|
1862
|
+
* Feedback cleared
|
|
1863
|
+
*/
|
|
1864
|
+
200: {
|
|
1865
|
+
[key: string]: unknown;
|
|
1866
|
+
};
|
|
1867
|
+
};
|
|
1868
|
+
|
|
1869
|
+
export type RunsFeedbackClearResponse =
|
|
1870
|
+
RunsFeedbackClearResponses[keyof RunsFeedbackClearResponses];
|
|
1871
|
+
|
|
1872
|
+
export type RunsFeedbackGetData = {
|
|
1873
|
+
body?: never;
|
|
1657
1874
|
path: {
|
|
1658
|
-
|
|
1659
|
-
* Run id
|
|
1660
|
-
*/
|
|
1661
|
-
runId: string;
|
|
1662
|
-
/**
|
|
1663
|
-
* Expected artifact path
|
|
1664
|
-
*/
|
|
1665
|
-
filename: string;
|
|
1875
|
+
id: string;
|
|
1666
1876
|
};
|
|
1667
1877
|
query?: never;
|
|
1668
|
-
url: '/api/v1/
|
|
1878
|
+
url: '/api/v1/runs/{id}/feedback';
|
|
1669
1879
|
};
|
|
1670
1880
|
|
|
1671
|
-
export type
|
|
1881
|
+
export type RunsFeedbackGetErrors = {
|
|
1672
1882
|
/**
|
|
1673
1883
|
* Validation error. Request shape did not match the spec.
|
|
1674
1884
|
*/
|
|
@@ -1695,32 +1905,29 @@ export type AgentsRunsExpectedRenameErrors = {
|
|
|
1695
1905
|
500: ApiErrorEnvelope;
|
|
1696
1906
|
};
|
|
1697
1907
|
|
|
1698
|
-
export type
|
|
1699
|
-
AgentsRunsExpectedRenameErrors[keyof AgentsRunsExpectedRenameErrors];
|
|
1908
|
+
export type RunsFeedbackGetError = RunsFeedbackGetErrors[keyof RunsFeedbackGetErrors];
|
|
1700
1909
|
|
|
1701
|
-
export type
|
|
1910
|
+
export type RunsFeedbackGetResponses = {
|
|
1702
1911
|
/**
|
|
1703
|
-
*
|
|
1912
|
+
* Feedback artifacts
|
|
1704
1913
|
*/
|
|
1705
|
-
200:
|
|
1914
|
+
200: {
|
|
1915
|
+
[key: string]: unknown;
|
|
1916
|
+
};
|
|
1706
1917
|
};
|
|
1707
1918
|
|
|
1708
|
-
export type
|
|
1709
|
-
AgentsRunsExpectedRenameResponses[keyof AgentsRunsExpectedRenameResponses];
|
|
1919
|
+
export type RunsFeedbackGetResponse = RunsFeedbackGetResponses[keyof RunsFeedbackGetResponses];
|
|
1710
1920
|
|
|
1711
|
-
export type
|
|
1712
|
-
body
|
|
1921
|
+
export type RunsFeedbackUpdateData = {
|
|
1922
|
+
body: RunFeedbackRequest;
|
|
1713
1923
|
path: {
|
|
1714
|
-
|
|
1715
|
-
* Run id
|
|
1716
|
-
*/
|
|
1717
|
-
runId: string;
|
|
1924
|
+
id: string;
|
|
1718
1925
|
};
|
|
1719
1926
|
query?: never;
|
|
1720
|
-
url: '/api/v1/
|
|
1927
|
+
url: '/api/v1/runs/{id}/feedback';
|
|
1721
1928
|
};
|
|
1722
1929
|
|
|
1723
|
-
export type
|
|
1930
|
+
export type RunsFeedbackUpdateErrors = {
|
|
1724
1931
|
/**
|
|
1725
1932
|
* Validation error. Request shape did not match the spec.
|
|
1726
1933
|
*/
|
|
@@ -1747,32 +1954,33 @@ export type AgentsRunsExpectedListErrors = {
|
|
|
1747
1954
|
500: ApiErrorEnvelope;
|
|
1748
1955
|
};
|
|
1749
1956
|
|
|
1750
|
-
export type
|
|
1751
|
-
AgentsRunsExpectedListErrors[keyof AgentsRunsExpectedListErrors];
|
|
1957
|
+
export type RunsFeedbackUpdateError = RunsFeedbackUpdateErrors[keyof RunsFeedbackUpdateErrors];
|
|
1752
1958
|
|
|
1753
|
-
export type
|
|
1959
|
+
export type RunsFeedbackUpdateResponses = {
|
|
1754
1960
|
/**
|
|
1755
|
-
*
|
|
1961
|
+
* Feedback updated
|
|
1756
1962
|
*/
|
|
1757
|
-
200:
|
|
1963
|
+
200: {
|
|
1964
|
+
[key: string]: unknown;
|
|
1965
|
+
};
|
|
1758
1966
|
};
|
|
1759
1967
|
|
|
1760
|
-
export type
|
|
1761
|
-
|
|
1968
|
+
export type RunsFeedbackUpdateResponse =
|
|
1969
|
+
RunsFeedbackUpdateResponses[keyof RunsFeedbackUpdateResponses];
|
|
1762
1970
|
|
|
1763
|
-
export type
|
|
1764
|
-
body
|
|
1971
|
+
export type RunsFilesZipGetData = {
|
|
1972
|
+
body?: never;
|
|
1765
1973
|
path: {
|
|
1766
|
-
|
|
1767
|
-
* Run id
|
|
1768
|
-
*/
|
|
1769
|
-
runId: string;
|
|
1974
|
+
id: string;
|
|
1770
1975
|
};
|
|
1771
|
-
query?:
|
|
1772
|
-
|
|
1976
|
+
query?: {
|
|
1977
|
+
files?: string;
|
|
1978
|
+
token?: string;
|
|
1979
|
+
};
|
|
1980
|
+
url: '/api/v1/runs/{id}/files-zip';
|
|
1773
1981
|
};
|
|
1774
1982
|
|
|
1775
|
-
export type
|
|
1983
|
+
export type RunsFilesZipGetErrors = {
|
|
1776
1984
|
/**
|
|
1777
1985
|
* Validation error. Request shape did not match the spec.
|
|
1778
1986
|
*/
|
|
@@ -1799,34 +2007,26 @@ export type AgentsRunsExpectedCreateErrors = {
|
|
|
1799
2007
|
500: ApiErrorEnvelope;
|
|
1800
2008
|
};
|
|
1801
2009
|
|
|
1802
|
-
export type
|
|
1803
|
-
AgentsRunsExpectedCreateErrors[keyof AgentsRunsExpectedCreateErrors];
|
|
2010
|
+
export type RunsFilesZipGetError = RunsFilesZipGetErrors[keyof RunsFilesZipGetErrors];
|
|
1804
2011
|
|
|
1805
|
-
export type
|
|
2012
|
+
export type RunsFilesZipGetResponses = {
|
|
1806
2013
|
/**
|
|
1807
|
-
*
|
|
2014
|
+
* Output files zip
|
|
1808
2015
|
*/
|
|
1809
|
-
|
|
1810
|
-
name: string;
|
|
1811
|
-
};
|
|
2016
|
+
200: unknown;
|
|
1812
2017
|
};
|
|
1813
2018
|
|
|
1814
|
-
export type
|
|
1815
|
-
AgentsRunsExpectedCreateResponses[keyof AgentsRunsExpectedCreateResponses];
|
|
1816
|
-
|
|
1817
|
-
export type AgentsRunsFeedbackDeleteData = {
|
|
2019
|
+
export type RunsFilesDeleteData = {
|
|
1818
2020
|
body?: never;
|
|
1819
2021
|
path: {
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
*/
|
|
1823
|
-
runId: string;
|
|
2022
|
+
id: string;
|
|
2023
|
+
fileId: string;
|
|
1824
2024
|
};
|
|
1825
2025
|
query?: never;
|
|
1826
|
-
url: '/api/v1/
|
|
2026
|
+
url: '/api/v1/runs/{id}/files/{fileId}';
|
|
1827
2027
|
};
|
|
1828
2028
|
|
|
1829
|
-
export type
|
|
2029
|
+
export type RunsFilesDeleteErrors = {
|
|
1830
2030
|
/**
|
|
1831
2031
|
* Validation error. Request shape did not match the spec.
|
|
1832
2032
|
*/
|
|
@@ -1853,32 +2053,27 @@ export type AgentsRunsFeedbackDeleteErrors = {
|
|
|
1853
2053
|
500: ApiErrorEnvelope;
|
|
1854
2054
|
};
|
|
1855
2055
|
|
|
1856
|
-
export type
|
|
1857
|
-
AgentsRunsFeedbackDeleteErrors[keyof AgentsRunsFeedbackDeleteErrors];
|
|
2056
|
+
export type RunsFilesDeleteError = RunsFilesDeleteErrors[keyof RunsFilesDeleteErrors];
|
|
1858
2057
|
|
|
1859
|
-
export type
|
|
2058
|
+
export type RunsFilesDeleteResponses = {
|
|
1860
2059
|
/**
|
|
1861
|
-
*
|
|
2060
|
+
* Deleted
|
|
1862
2061
|
*/
|
|
1863
|
-
|
|
2062
|
+
204: void;
|
|
1864
2063
|
};
|
|
1865
2064
|
|
|
1866
|
-
export type
|
|
1867
|
-
AgentsRunsFeedbackDeleteResponses[keyof AgentsRunsFeedbackDeleteResponses];
|
|
2065
|
+
export type RunsFilesDeleteResponse = RunsFilesDeleteResponses[keyof RunsFilesDeleteResponses];
|
|
1868
2066
|
|
|
1869
|
-
export type
|
|
2067
|
+
export type RunsFilesListData = {
|
|
1870
2068
|
body?: never;
|
|
1871
2069
|
path: {
|
|
1872
|
-
|
|
1873
|
-
* Run id
|
|
1874
|
-
*/
|
|
1875
|
-
runId: string;
|
|
2070
|
+
id: string;
|
|
1876
2071
|
};
|
|
1877
2072
|
query?: never;
|
|
1878
|
-
url: '/api/v1/
|
|
2073
|
+
url: '/api/v1/runs/{id}/files';
|
|
1879
2074
|
};
|
|
1880
2075
|
|
|
1881
|
-
export type
|
|
2076
|
+
export type RunsFilesListErrors = {
|
|
1882
2077
|
/**
|
|
1883
2078
|
* Validation error. Request shape did not match the spec.
|
|
1884
2079
|
*/
|
|
@@ -1905,32 +2100,27 @@ export type AgentsRunsFeedbackGetErrors = {
|
|
|
1905
2100
|
500: ApiErrorEnvelope;
|
|
1906
2101
|
};
|
|
1907
2102
|
|
|
1908
|
-
export type
|
|
1909
|
-
AgentsRunsFeedbackGetErrors[keyof AgentsRunsFeedbackGetErrors];
|
|
2103
|
+
export type RunsFilesListError = RunsFilesListErrors[keyof RunsFilesListErrors];
|
|
1910
2104
|
|
|
1911
|
-
export type
|
|
2105
|
+
export type RunsFilesListResponses = {
|
|
1912
2106
|
/**
|
|
1913
|
-
* Run
|
|
2107
|
+
* Run files
|
|
1914
2108
|
*/
|
|
1915
|
-
200:
|
|
2109
|
+
200: RunFilesResponse;
|
|
1916
2110
|
};
|
|
1917
2111
|
|
|
1918
|
-
export type
|
|
1919
|
-
AgentsRunsFeedbackGetResponses[keyof AgentsRunsFeedbackGetResponses];
|
|
2112
|
+
export type RunsFilesListResponse = RunsFilesListResponses[keyof RunsFilesListResponses];
|
|
1920
2113
|
|
|
1921
|
-
export type
|
|
1922
|
-
body:
|
|
2114
|
+
export type RunsFilesUploadData = {
|
|
2115
|
+
body: RunsFilesUploadBody;
|
|
1923
2116
|
path: {
|
|
1924
|
-
|
|
1925
|
-
* Run id
|
|
1926
|
-
*/
|
|
1927
|
-
runId: string;
|
|
2117
|
+
id: string;
|
|
1928
2118
|
};
|
|
1929
2119
|
query?: never;
|
|
1930
|
-
url: '/api/v1/
|
|
2120
|
+
url: '/api/v1/runs/{id}/files';
|
|
1931
2121
|
};
|
|
1932
2122
|
|
|
1933
|
-
export type
|
|
2123
|
+
export type RunsFilesUploadErrors = {
|
|
1934
2124
|
/**
|
|
1935
2125
|
* Validation error. Request shape did not match the spec.
|
|
1936
2126
|
*/
|
|
@@ -1957,30 +2147,29 @@ export type AgentsRunsFeedbackUpdateErrors = {
|
|
|
1957
2147
|
500: ApiErrorEnvelope;
|
|
1958
2148
|
};
|
|
1959
2149
|
|
|
1960
|
-
export type
|
|
1961
|
-
AgentsRunsFeedbackUpdateErrors[keyof AgentsRunsFeedbackUpdateErrors];
|
|
2150
|
+
export type RunsFilesUploadError = RunsFilesUploadErrors[keyof RunsFilesUploadErrors];
|
|
1962
2151
|
|
|
1963
|
-
export type
|
|
2152
|
+
export type RunsFilesUploadResponses = {
|
|
1964
2153
|
/**
|
|
1965
|
-
*
|
|
2154
|
+
* Uploaded file
|
|
1966
2155
|
*/
|
|
1967
|
-
|
|
2156
|
+
201: {
|
|
2157
|
+
[key: string]: unknown;
|
|
2158
|
+
};
|
|
1968
2159
|
};
|
|
1969
2160
|
|
|
1970
|
-
export type
|
|
1971
|
-
AgentsRunsFeedbackUpdateResponses[keyof AgentsRunsFeedbackUpdateResponses];
|
|
2161
|
+
export type RunsFilesUploadResponse = RunsFilesUploadResponses[keyof RunsFilesUploadResponses];
|
|
1972
2162
|
|
|
1973
|
-
export type
|
|
1974
|
-
body
|
|
2163
|
+
export type RunsRerunData = {
|
|
2164
|
+
body: RunRerunRequest;
|
|
1975
2165
|
path: {
|
|
1976
|
-
|
|
1977
|
-
path: Array<string>;
|
|
2166
|
+
id: string;
|
|
1978
2167
|
};
|
|
1979
2168
|
query?: never;
|
|
1980
|
-
url: '/api/v1/
|
|
2169
|
+
url: '/api/v1/runs/{id}/rerun';
|
|
1981
2170
|
};
|
|
1982
2171
|
|
|
1983
|
-
export type
|
|
2172
|
+
export type RunsRerunErrors = {
|
|
1984
2173
|
/**
|
|
1985
2174
|
* Validation error. Request shape did not match the spec.
|
|
1986
2175
|
*/
|
|
@@ -2007,29 +2196,34 @@ export type AgentsRunsFilesDownloadErrors = {
|
|
|
2007
2196
|
500: ApiErrorEnvelope;
|
|
2008
2197
|
};
|
|
2009
2198
|
|
|
2010
|
-
export type
|
|
2011
|
-
AgentsRunsFilesDownloadErrors[keyof AgentsRunsFilesDownloadErrors];
|
|
2199
|
+
export type RunsRerunError = RunsRerunErrors[keyof RunsRerunErrors];
|
|
2012
2200
|
|
|
2013
|
-
export type
|
|
2201
|
+
export type RunsRerunResponses = {
|
|
2014
2202
|
/**
|
|
2015
|
-
*
|
|
2203
|
+
* Rerun started
|
|
2016
2204
|
*/
|
|
2017
|
-
200:
|
|
2205
|
+
200: RunRerunResponse;
|
|
2206
|
+
/**
|
|
2207
|
+
* Rerun started
|
|
2208
|
+
*/
|
|
2209
|
+
201: RunRerunResponse;
|
|
2018
2210
|
};
|
|
2019
2211
|
|
|
2020
|
-
export type
|
|
2021
|
-
|
|
2212
|
+
export type RunsRerunResponse = RunsRerunResponses[keyof RunsRerunResponses];
|
|
2213
|
+
|
|
2214
|
+
export type RunsResumeData = {
|
|
2215
|
+
body?: never;
|
|
2022
2216
|
path: {
|
|
2023
2217
|
/**
|
|
2024
|
-
*
|
|
2218
|
+
* Run id
|
|
2025
2219
|
*/
|
|
2026
|
-
|
|
2220
|
+
id: string;
|
|
2027
2221
|
};
|
|
2028
2222
|
query?: never;
|
|
2029
|
-
url: '/api/v1/
|
|
2223
|
+
url: '/api/v1/runs/{id}/resume';
|
|
2030
2224
|
};
|
|
2031
2225
|
|
|
2032
|
-
export type
|
|
2226
|
+
export type RunsResumeErrors = {
|
|
2033
2227
|
/**
|
|
2034
2228
|
* Validation error. Request shape did not match the spec.
|
|
2035
2229
|
*/
|
|
@@ -2056,35 +2250,35 @@ export type AgentsRunsRerunErrors = {
|
|
|
2056
2250
|
500: ApiErrorEnvelope;
|
|
2057
2251
|
};
|
|
2058
2252
|
|
|
2059
|
-
export type
|
|
2253
|
+
export type RunsResumeError = RunsResumeErrors[keyof RunsResumeErrors];
|
|
2060
2254
|
|
|
2061
|
-
export type
|
|
2255
|
+
export type RunsResumeResponses = {
|
|
2062
2256
|
/**
|
|
2063
|
-
*
|
|
2257
|
+
* Run resumed
|
|
2064
2258
|
*/
|
|
2065
|
-
|
|
2259
|
+
200: RunResumeResponse;
|
|
2066
2260
|
};
|
|
2067
2261
|
|
|
2068
|
-
export type
|
|
2262
|
+
export type RunsResumeResponse = RunsResumeResponses[keyof RunsResumeResponses];
|
|
2069
2263
|
|
|
2070
|
-
export type
|
|
2264
|
+
export type RunsGetData = {
|
|
2071
2265
|
body?: never;
|
|
2072
2266
|
path: {
|
|
2073
2267
|
/**
|
|
2074
2268
|
* Run id
|
|
2075
2269
|
*/
|
|
2076
|
-
|
|
2270
|
+
id: string;
|
|
2077
2271
|
};
|
|
2078
2272
|
query?: {
|
|
2079
2273
|
/**
|
|
2080
|
-
* Comma-separated
|
|
2274
|
+
* Comma-separated sections. Include `detail` for rich payload.
|
|
2081
2275
|
*/
|
|
2082
2276
|
include?: string;
|
|
2083
2277
|
};
|
|
2084
|
-
url: '/api/v1/
|
|
2278
|
+
url: '/api/v1/runs/{id}';
|
|
2085
2279
|
};
|
|
2086
2280
|
|
|
2087
|
-
export type
|
|
2281
|
+
export type RunsGetErrors = {
|
|
2088
2282
|
/**
|
|
2089
2283
|
* Validation error. Request shape did not match the spec.
|
|
2090
2284
|
*/
|
|
@@ -2111,25 +2305,27 @@ export type AgentsRunsGetErrors = {
|
|
|
2111
2305
|
500: ApiErrorEnvelope;
|
|
2112
2306
|
};
|
|
2113
2307
|
|
|
2114
|
-
export type
|
|
2308
|
+
export type RunsGetError = RunsGetErrors[keyof RunsGetErrors];
|
|
2115
2309
|
|
|
2116
|
-
export type
|
|
2310
|
+
export type RunsGetResponses = {
|
|
2117
2311
|
/**
|
|
2118
|
-
*
|
|
2312
|
+
* Run
|
|
2119
2313
|
*/
|
|
2120
|
-
200:
|
|
2314
|
+
200: RunEnvelope;
|
|
2121
2315
|
};
|
|
2122
2316
|
|
|
2123
|
-
export type
|
|
2317
|
+
export type RunsGetResponse = RunsGetResponses[keyof RunsGetResponses];
|
|
2124
2318
|
|
|
2125
|
-
export type
|
|
2319
|
+
export type RunsTraceGetData = {
|
|
2126
2320
|
body?: never;
|
|
2127
|
-
path
|
|
2321
|
+
path: {
|
|
2322
|
+
id: string;
|
|
2323
|
+
};
|
|
2128
2324
|
query?: never;
|
|
2129
|
-
url: '/api/v1/
|
|
2325
|
+
url: '/api/v1/runs/{id}/trace';
|
|
2130
2326
|
};
|
|
2131
2327
|
|
|
2132
|
-
export type
|
|
2328
|
+
export type RunsTraceGetErrors = {
|
|
2133
2329
|
/**
|
|
2134
2330
|
* Validation error. Request shape did not match the spec.
|
|
2135
2331
|
*/
|
|
@@ -2156,31 +2352,47 @@ export type AgentsTriggersEmailListErrors = {
|
|
|
2156
2352
|
500: ApiErrorEnvelope;
|
|
2157
2353
|
};
|
|
2158
2354
|
|
|
2159
|
-
export type
|
|
2160
|
-
AgentsTriggersEmailListErrors[keyof AgentsTriggersEmailListErrors];
|
|
2355
|
+
export type RunsTraceGetError = RunsTraceGetErrors[keyof RunsTraceGetErrors];
|
|
2161
2356
|
|
|
2162
|
-
export type
|
|
2357
|
+
export type RunsTraceGetResponses = {
|
|
2163
2358
|
/**
|
|
2164
|
-
*
|
|
2359
|
+
* Run trace events
|
|
2165
2360
|
*/
|
|
2166
2361
|
200: {
|
|
2167
|
-
|
|
2362
|
+
events: Array<unknown>;
|
|
2168
2363
|
};
|
|
2169
2364
|
};
|
|
2170
2365
|
|
|
2171
|
-
export type
|
|
2172
|
-
AgentsTriggersEmailListResponses[keyof AgentsTriggersEmailListResponses];
|
|
2366
|
+
export type RunsTraceGetResponse = RunsTraceGetResponses[keyof RunsTraceGetResponses];
|
|
2173
2367
|
|
|
2174
|
-
export type
|
|
2368
|
+
export type RunsListData = {
|
|
2175
2369
|
body?: never;
|
|
2176
|
-
path
|
|
2177
|
-
|
|
2370
|
+
path?: never;
|
|
2371
|
+
query?: {
|
|
2372
|
+
type?: string;
|
|
2373
|
+
source?: string;
|
|
2374
|
+
status?: string;
|
|
2375
|
+
trigger?: string;
|
|
2376
|
+
triggeredBy?: string;
|
|
2377
|
+
sourceRef?: string;
|
|
2378
|
+
batchId?: string;
|
|
2379
|
+
exampleId?: string;
|
|
2380
|
+
exampleIdContains?: string;
|
|
2381
|
+
from?: string;
|
|
2382
|
+
to?: string;
|
|
2383
|
+
createdAfter?: string;
|
|
2384
|
+
createdBefore?: string;
|
|
2385
|
+
completedAfter?: string;
|
|
2386
|
+
completedBefore?: string;
|
|
2387
|
+
cursor?: string;
|
|
2388
|
+
offset?: number;
|
|
2389
|
+
limit?: number;
|
|
2390
|
+
ids?: string;
|
|
2178
2391
|
};
|
|
2179
|
-
|
|
2180
|
-
url: '/api/v1/automations/{automation}/sync';
|
|
2392
|
+
url: '/api/v1/runs';
|
|
2181
2393
|
};
|
|
2182
2394
|
|
|
2183
|
-
export type
|
|
2395
|
+
export type RunsListErrors = {
|
|
2184
2396
|
/**
|
|
2185
2397
|
* Validation error. Request shape did not match the spec.
|
|
2186
2398
|
*/
|
|
@@ -2207,16 +2419,16 @@ export type AutomationsSyncErrors = {
|
|
|
2207
2419
|
500: ApiErrorEnvelope;
|
|
2208
2420
|
};
|
|
2209
2421
|
|
|
2210
|
-
export type
|
|
2422
|
+
export type RunsListError = RunsListErrors[keyof RunsListErrors];
|
|
2211
2423
|
|
|
2212
|
-
export type
|
|
2424
|
+
export type RunsListResponses = {
|
|
2213
2425
|
/**
|
|
2214
|
-
*
|
|
2426
|
+
* Runs page
|
|
2215
2427
|
*/
|
|
2216
|
-
200:
|
|
2428
|
+
200: RunsListResponse;
|
|
2217
2429
|
};
|
|
2218
2430
|
|
|
2219
|
-
export type
|
|
2431
|
+
export type RunsListResponse2 = RunsListResponses[keyof RunsListResponses];
|
|
2220
2432
|
|
|
2221
2433
|
export type SourceLockfilePreviewData = {
|
|
2222
2434
|
body?: never;
|
|
@@ -2502,77 +2714,6 @@ export type SourceSecretsEncryptResponses = {
|
|
|
2502
2714
|
export type SourceSecretsEncryptResponse2 =
|
|
2503
2715
|
SourceSecretsEncryptResponses[keyof SourceSecretsEncryptResponses];
|
|
2504
2716
|
|
|
2505
|
-
export type WorkflowsExecutionsListData = {
|
|
2506
|
-
body?: never;
|
|
2507
|
-
path: {
|
|
2508
|
-
/**
|
|
2509
|
-
* Workflow id (e.g. wf_abc123)
|
|
2510
|
-
*/
|
|
2511
|
-
id: string;
|
|
2512
|
-
};
|
|
2513
|
-
query?: {
|
|
2514
|
-
/**
|
|
2515
|
-
* Comma-separated list of execution statuses to filter by
|
|
2516
|
-
*/
|
|
2517
|
-
status?: string;
|
|
2518
|
-
/**
|
|
2519
|
-
* ISO-8601 timestamp or relative expression (e.g. "now()-7d") for the lower bound on `createdAt`
|
|
2520
|
-
*/
|
|
2521
|
-
fromDate?: string;
|
|
2522
|
-
/**
|
|
2523
|
-
* Upper bound on `createdAt`
|
|
2524
|
-
*/
|
|
2525
|
-
toDate?: string;
|
|
2526
|
-
/**
|
|
2527
|
-
* Filter to executions launched from a specific eval example
|
|
2528
|
-
*/
|
|
2529
|
-
exampleId?: string;
|
|
2530
|
-
limit?: number;
|
|
2531
|
-
offset?: number;
|
|
2532
|
-
};
|
|
2533
|
-
url: '/api/v1/workflows/{id}/executions';
|
|
2534
|
-
};
|
|
2535
|
-
|
|
2536
|
-
export type WorkflowsExecutionsListErrors = {
|
|
2537
|
-
/**
|
|
2538
|
-
* Validation error. Request shape did not match the spec.
|
|
2539
|
-
*/
|
|
2540
|
-
400: ApiErrorEnvelope;
|
|
2541
|
-
/**
|
|
2542
|
-
* Missing or invalid API key
|
|
2543
|
-
*/
|
|
2544
|
-
401: ApiErrorEnvelope;
|
|
2545
|
-
/**
|
|
2546
|
-
* API key lacks required scope
|
|
2547
|
-
*/
|
|
2548
|
-
403: ApiErrorEnvelope;
|
|
2549
|
-
/**
|
|
2550
|
-
* Resource not found
|
|
2551
|
-
*/
|
|
2552
|
-
404: ApiErrorEnvelope;
|
|
2553
|
-
/**
|
|
2554
|
-
* Rate limit exceeded
|
|
2555
|
-
*/
|
|
2556
|
-
429: ApiErrorEnvelope;
|
|
2557
|
-
/**
|
|
2558
|
-
* Internal server error
|
|
2559
|
-
*/
|
|
2560
|
-
500: ApiErrorEnvelope;
|
|
2561
|
-
};
|
|
2562
|
-
|
|
2563
|
-
export type WorkflowsExecutionsListError =
|
|
2564
|
-
WorkflowsExecutionsListErrors[keyof WorkflowsExecutionsListErrors];
|
|
2565
|
-
|
|
2566
|
-
export type WorkflowsExecutionsListResponses = {
|
|
2567
|
-
/**
|
|
2568
|
-
* Paginated list of workflow executions
|
|
2569
|
-
*/
|
|
2570
|
-
200: ListWorkflowExecutionsResponse;
|
|
2571
|
-
};
|
|
2572
|
-
|
|
2573
|
-
export type WorkflowsExecutionsListResponse =
|
|
2574
|
-
WorkflowsExecutionsListResponses[keyof WorkflowsExecutionsListResponses];
|
|
2575
|
-
|
|
2576
2717
|
export type WorkflowsGetData = {
|
|
2577
2718
|
body?: never;
|
|
2578
2719
|
path: {
|
|
@@ -2675,7 +2816,7 @@ export type WorkflowsRunError = WorkflowsRunErrors[keyof WorkflowsRunErrors];
|
|
|
2675
2816
|
|
|
2676
2817
|
export type WorkflowsRunResponses = {
|
|
2677
2818
|
/**
|
|
2678
|
-
* Execution accepted. Body always includes `executionId`. When `wait_for_completion` is set and the execution completes within the window, `status`/`result`/`error` are also returned; otherwise poll `/api/v1/
|
|
2819
|
+
* Execution accepted. Body always includes `executionId`. When `wait_for_completion` is set and the execution completes within the window, `status`/`result`/`error` are also returned; otherwise poll `/api/v1/runs/{executionId}` for status.
|
|
2679
2820
|
*/
|
|
2680
2821
|
201: RunWorkflowResponse;
|
|
2681
2822
|
};
|
|
@@ -2743,115 +2884,6 @@ export type WorkflowsVersionsListResponses = {
|
|
|
2743
2884
|
export type WorkflowsVersionsListResponse =
|
|
2744
2885
|
WorkflowsVersionsListResponses[keyof WorkflowsVersionsListResponses];
|
|
2745
2886
|
|
|
2746
|
-
export type WorkflowsExecutionsCancelData = {
|
|
2747
|
-
body?: never;
|
|
2748
|
-
path: {
|
|
2749
|
-
/**
|
|
2750
|
-
* Execution id to cancel
|
|
2751
|
-
*/
|
|
2752
|
-
executionId: string;
|
|
2753
|
-
};
|
|
2754
|
-
query?: never;
|
|
2755
|
-
url: '/api/v1/workflows/executions/{executionId}/cancel';
|
|
2756
|
-
};
|
|
2757
|
-
|
|
2758
|
-
export type WorkflowsExecutionsCancelErrors = {
|
|
2759
|
-
/**
|
|
2760
|
-
* Validation error. Request shape did not match the spec.
|
|
2761
|
-
*/
|
|
2762
|
-
400: ApiErrorEnvelope;
|
|
2763
|
-
/**
|
|
2764
|
-
* Missing or invalid API key
|
|
2765
|
-
*/
|
|
2766
|
-
401: ApiErrorEnvelope;
|
|
2767
|
-
/**
|
|
2768
|
-
* API key lacks required scope
|
|
2769
|
-
*/
|
|
2770
|
-
403: ApiErrorEnvelope;
|
|
2771
|
-
/**
|
|
2772
|
-
* Resource not found
|
|
2773
|
-
*/
|
|
2774
|
-
404: ApiErrorEnvelope;
|
|
2775
|
-
/**
|
|
2776
|
-
* Rate limit exceeded
|
|
2777
|
-
*/
|
|
2778
|
-
429: ApiErrorEnvelope;
|
|
2779
|
-
/**
|
|
2780
|
-
* Internal server error
|
|
2781
|
-
*/
|
|
2782
|
-
500: ApiErrorEnvelope;
|
|
2783
|
-
};
|
|
2784
|
-
|
|
2785
|
-
export type WorkflowsExecutionsCancelError =
|
|
2786
|
-
WorkflowsExecutionsCancelErrors[keyof WorkflowsExecutionsCancelErrors];
|
|
2787
|
-
|
|
2788
|
-
export type WorkflowsExecutionsCancelResponses = {
|
|
2789
|
-
/**
|
|
2790
|
-
* Cancellation outcome
|
|
2791
|
-
*/
|
|
2792
|
-
200: CancelWorkflowExecutionResponse;
|
|
2793
|
-
};
|
|
2794
|
-
|
|
2795
|
-
export type WorkflowsExecutionsCancelResponse =
|
|
2796
|
-
WorkflowsExecutionsCancelResponses[keyof WorkflowsExecutionsCancelResponses];
|
|
2797
|
-
|
|
2798
|
-
export type WorkflowsExecutionsGetData = {
|
|
2799
|
-
body?: never;
|
|
2800
|
-
path: {
|
|
2801
|
-
/**
|
|
2802
|
-
* Execution id (e.g. exec_xyz)
|
|
2803
|
-
*/
|
|
2804
|
-
executionId: string;
|
|
2805
|
-
};
|
|
2806
|
-
query?: {
|
|
2807
|
-
/**
|
|
2808
|
-
* When "true", returns the full per-step execution payload instead of the summary
|
|
2809
|
-
*/
|
|
2810
|
-
includeSteps?: 'true' | 'false';
|
|
2811
|
-
};
|
|
2812
|
-
url: '/api/v1/workflows/executions/{executionId}';
|
|
2813
|
-
};
|
|
2814
|
-
|
|
2815
|
-
export type WorkflowsExecutionsGetErrors = {
|
|
2816
|
-
/**
|
|
2817
|
-
* Validation error. Request shape did not match the spec.
|
|
2818
|
-
*/
|
|
2819
|
-
400: ApiErrorEnvelope;
|
|
2820
|
-
/**
|
|
2821
|
-
* Missing or invalid API key
|
|
2822
|
-
*/
|
|
2823
|
-
401: ApiErrorEnvelope;
|
|
2824
|
-
/**
|
|
2825
|
-
* API key lacks required scope
|
|
2826
|
-
*/
|
|
2827
|
-
403: ApiErrorEnvelope;
|
|
2828
|
-
/**
|
|
2829
|
-
* Resource not found
|
|
2830
|
-
*/
|
|
2831
|
-
404: ApiErrorEnvelope;
|
|
2832
|
-
/**
|
|
2833
|
-
* Rate limit exceeded
|
|
2834
|
-
*/
|
|
2835
|
-
429: ApiErrorEnvelope;
|
|
2836
|
-
/**
|
|
2837
|
-
* Internal server error
|
|
2838
|
-
*/
|
|
2839
|
-
500: ApiErrorEnvelope;
|
|
2840
|
-
};
|
|
2841
|
-
|
|
2842
|
-
export type WorkflowsExecutionsGetError =
|
|
2843
|
-
WorkflowsExecutionsGetErrors[keyof WorkflowsExecutionsGetErrors];
|
|
2844
|
-
|
|
2845
|
-
export type WorkflowsExecutionsGetResponses = {
|
|
2846
|
-
/**
|
|
2847
|
-
* Workflow execution status or full per-step payload
|
|
2848
|
-
*/
|
|
2849
|
-
200: WorkflowExecutionStatusResponse | ExecutionSummary;
|
|
2850
|
-
};
|
|
2851
|
-
|
|
2852
|
-
export type WorkflowsExecutionsGetResponse =
|
|
2853
|
-
WorkflowsExecutionsGetResponses[keyof WorkflowsExecutionsGetResponses];
|
|
2854
|
-
|
|
2855
2887
|
export type WorkflowsListData = {
|
|
2856
2888
|
body?: never;
|
|
2857
2889
|
path?: never;
|