@eigenpal/sdk 0.6.9 → 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 +6 -0
- package/README.md +23 -6
- package/package.json +3 -2
- package/src/client.ts +4 -0
- package/src/generated/index.ts +132 -112
- package/src/generated/sdk.gen.ts +272 -227
- package/src/generated/types.gen.ts +711 -737
- 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,110 +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
|
-
observability?: ExecutionObservability;
|
|
270
|
-
[key: string]: unknown;
|
|
271
|
-
};
|
|
272
|
-
|
|
273
|
-
export type ExecutionObservability = {
|
|
274
|
-
phases: Array<{
|
|
275
|
-
executionId: string;
|
|
276
|
-
phase:
|
|
277
|
-
| 'queued'
|
|
278
|
-
| 'starting'
|
|
279
|
-
| 'preparing_inputs'
|
|
280
|
-
| 'preparing_environment'
|
|
281
|
-
| 'installing_dependencies'
|
|
282
|
-
| 'running'
|
|
283
|
-
| 'collecting_outputs'
|
|
284
|
-
| 'finalizing';
|
|
285
|
-
phaseOrder: number;
|
|
286
|
-
status: 'pending' | 'running' | 'completed' | 'failed' | 'skipped' | 'cancelled';
|
|
287
|
-
startedAt?: string | null;
|
|
288
|
-
completedAt?: string | null;
|
|
289
|
-
message?: string | null;
|
|
290
|
-
failureCode?: string | null;
|
|
291
|
-
durationMs?: number | null;
|
|
292
|
-
}>;
|
|
293
|
-
currentPhase?:
|
|
294
|
-
| 'queued'
|
|
295
|
-
| 'starting'
|
|
296
|
-
| 'preparing_inputs'
|
|
297
|
-
| 'preparing_environment'
|
|
298
|
-
| 'installing_dependencies'
|
|
299
|
-
| 'running'
|
|
300
|
-
| 'collecting_outputs'
|
|
301
|
-
| 'finalizing';
|
|
302
|
-
failure?: {
|
|
303
|
-
phase:
|
|
304
|
-
| 'queued'
|
|
305
|
-
| 'starting'
|
|
306
|
-
| 'preparing_inputs'
|
|
307
|
-
| 'preparing_environment'
|
|
308
|
-
| 'installing_dependencies'
|
|
309
|
-
| 'running'
|
|
310
|
-
| 'collecting_outputs'
|
|
311
|
-
| 'finalizing';
|
|
312
|
-
code: string;
|
|
313
|
-
category: 'input' | 'source' | 'environment' | 'runtime' | 'output' | 'finalization' | 'system';
|
|
314
|
-
provider?: string;
|
|
315
|
-
retryable: boolean;
|
|
316
|
-
userMessage: string;
|
|
317
|
-
occurredAt: string;
|
|
318
|
-
};
|
|
319
|
-
derived: boolean;
|
|
320
|
-
};
|
|
321
|
-
|
|
322
216
|
export type ListAgentVersionsResponse = {
|
|
323
217
|
agentId: string;
|
|
324
218
|
slug: string;
|
|
@@ -353,58 +247,6 @@ export type CreateAgentResponse = {
|
|
|
353
247
|
recoveryKind?: 'existing' | 'legacy_hydrate' | 'minimal_scaffold';
|
|
354
248
|
};
|
|
355
249
|
|
|
356
|
-
export type CancelAgentExecutionResponse = {
|
|
357
|
-
run: AgentExecutionSummary;
|
|
358
|
-
};
|
|
359
|
-
|
|
360
|
-
export type RenameExpectedFileResponse = {
|
|
361
|
-
name: string;
|
|
362
|
-
};
|
|
363
|
-
|
|
364
|
-
export type AgentExecutionExpectedArtifacts = {
|
|
365
|
-
expected: unknown | null;
|
|
366
|
-
files: Array<{
|
|
367
|
-
name: string;
|
|
368
|
-
}>;
|
|
369
|
-
};
|
|
370
|
-
|
|
371
|
-
export type AgentExecutionFeedbackDetail = {
|
|
372
|
-
feedback: AgentExecutionFeedback | null;
|
|
373
|
-
expected: unknown | null;
|
|
374
|
-
expectedFiles: Array<{
|
|
375
|
-
name: string;
|
|
376
|
-
}>;
|
|
377
|
-
};
|
|
378
|
-
|
|
379
|
-
export type AgentExecutionFeedback = {
|
|
380
|
-
rating: 'pass' | 'fail' | 'partial' | null;
|
|
381
|
-
status: 'open' | 'resolved' | 'ignored' | null;
|
|
382
|
-
createdAt: string | null;
|
|
383
|
-
createdBy: string | null;
|
|
384
|
-
createdByEmail: string | null;
|
|
385
|
-
updatedAt: string | null;
|
|
386
|
-
resolvedAt: string | null;
|
|
387
|
-
resolvedBy: string | null;
|
|
388
|
-
resolvedByEmail: string | null;
|
|
389
|
-
resolvedBySessionId: string | null;
|
|
390
|
-
promotedExampleName: string | null;
|
|
391
|
-
body: string;
|
|
392
|
-
};
|
|
393
|
-
|
|
394
|
-
export type RerunAgentRunResponse = {
|
|
395
|
-
runId: string;
|
|
396
|
-
sourceRunId: string;
|
|
397
|
-
status: ExecutionStatus;
|
|
398
|
-
requestedSourceRef?: string | null;
|
|
399
|
-
resolvedGitRef?: string | null;
|
|
400
|
-
resolvedGitTag?: string | null;
|
|
401
|
-
resolvedCommitSha?: string | null;
|
|
402
|
-
};
|
|
403
|
-
|
|
404
|
-
export type AgentRunResponse = {
|
|
405
|
-
run: AgentExecutionSummary;
|
|
406
|
-
};
|
|
407
|
-
|
|
408
250
|
export type AutomationSyncResponse = {
|
|
409
251
|
automation: {
|
|
410
252
|
id: string;
|
|
@@ -421,6 +263,82 @@ export type AutomationSyncResponse = {
|
|
|
421
263
|
warnings: Array<string>;
|
|
422
264
|
};
|
|
423
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
|
+
|
|
424
342
|
export type SourceLockfileResponse = {
|
|
425
343
|
lockfileVersion: 1;
|
|
426
344
|
eigenpalVersion: string;
|
|
@@ -475,50 +393,6 @@ export type SourceSecretsEncryptResponse = {
|
|
|
475
393
|
};
|
|
476
394
|
};
|
|
477
395
|
|
|
478
|
-
export type ListWorkflowExecutionsResponse = {
|
|
479
|
-
data: Array<ExecutionSummary>;
|
|
480
|
-
total: number;
|
|
481
|
-
limit: number;
|
|
482
|
-
offset: number;
|
|
483
|
-
};
|
|
484
|
-
|
|
485
|
-
export type ExecutionSummary = {
|
|
486
|
-
id: string;
|
|
487
|
-
workflowId: string;
|
|
488
|
-
status: ExecutionStatus;
|
|
489
|
-
/**
|
|
490
|
-
* "api" | "scheduled" | "manual" | …
|
|
491
|
-
*/
|
|
492
|
-
triggerType?: string | null;
|
|
493
|
-
/**
|
|
494
|
-
* Original input map. Useful for replay.
|
|
495
|
-
*/
|
|
496
|
-
triggerInput?: unknown | null;
|
|
497
|
-
/**
|
|
498
|
-
* Workflow output (status=completed).
|
|
499
|
-
*/
|
|
500
|
-
result?: unknown | null;
|
|
501
|
-
/**
|
|
502
|
-
* Error message (status=failed).
|
|
503
|
-
*/
|
|
504
|
-
error?: string | null;
|
|
505
|
-
createdAt: string;
|
|
506
|
-
startedAt?: string | null;
|
|
507
|
-
completedAt?: string | null;
|
|
508
|
-
/**
|
|
509
|
-
* Total wall-clock duration in milliseconds. Only set after the execution reaches a terminal status.
|
|
510
|
-
*/
|
|
511
|
-
durationMs?: number | null;
|
|
512
|
-
/**
|
|
513
|
-
* Owning workflow (null when the workflow has been deleted)
|
|
514
|
-
*/
|
|
515
|
-
workflow?: {
|
|
516
|
-
id: string;
|
|
517
|
-
name: string;
|
|
518
|
-
} | null;
|
|
519
|
-
observability?: ExecutionObservability;
|
|
520
|
-
};
|
|
521
|
-
|
|
522
396
|
export type WorkflowDetail = {
|
|
523
397
|
/**
|
|
524
398
|
* Workflow id (e.g. wf_abc123).
|
|
@@ -587,40 +461,6 @@ export type WorkflowVersion = {
|
|
|
587
461
|
createdAt?: string;
|
|
588
462
|
};
|
|
589
463
|
|
|
590
|
-
export type CancelWorkflowExecutionResponse = {
|
|
591
|
-
executionId: string;
|
|
592
|
-
/**
|
|
593
|
-
* Outcome. `cancelled` (transitioned), `cancellation-requested` (worker will observe), or `already-terminal` (no-op).
|
|
594
|
-
*/
|
|
595
|
-
status: 'cancelled' | 'cancellation-requested' | 'already-terminal';
|
|
596
|
-
/**
|
|
597
|
-
* Status at the moment of the cancel request
|
|
598
|
-
*/
|
|
599
|
-
wasStatus: ExecutionStatus;
|
|
600
|
-
};
|
|
601
|
-
|
|
602
|
-
export type WorkflowExecutionStatusResponse = {
|
|
603
|
-
executionId: string;
|
|
604
|
-
status: ExecutionStatus;
|
|
605
|
-
/**
|
|
606
|
-
* ISO-8601 creation timestamp
|
|
607
|
-
*/
|
|
608
|
-
createdAt: string;
|
|
609
|
-
/**
|
|
610
|
-
* ISO-8601 completion timestamp; only set in terminal states
|
|
611
|
-
*/
|
|
612
|
-
completedAt?: string | null;
|
|
613
|
-
/**
|
|
614
|
-
* Workflow output (status=completed)
|
|
615
|
-
*/
|
|
616
|
-
result?: unknown | null;
|
|
617
|
-
/**
|
|
618
|
-
* Error message (status=failed)
|
|
619
|
-
*/
|
|
620
|
-
error?: string | null;
|
|
621
|
-
observability?: ExecutionObservability;
|
|
622
|
-
};
|
|
623
|
-
|
|
624
464
|
export type ListWorkflowsResponse = {
|
|
625
465
|
data: Array<WorkflowSummary>;
|
|
626
466
|
total: number;
|
|
@@ -984,119 +824,6 @@ export type AgentsRunResponses = {
|
|
|
984
824
|
|
|
985
825
|
export type AgentsRunResponse = AgentsRunResponses[keyof AgentsRunResponses];
|
|
986
826
|
|
|
987
|
-
export type AgentsRunsListData = {
|
|
988
|
-
body?: never;
|
|
989
|
-
path: {
|
|
990
|
-
/**
|
|
991
|
-
* Agent id or slug
|
|
992
|
-
*/
|
|
993
|
-
agentId: string;
|
|
994
|
-
};
|
|
995
|
-
query?: {
|
|
996
|
-
/**
|
|
997
|
-
* Run status filter
|
|
998
|
-
*/
|
|
999
|
-
status?: string;
|
|
1000
|
-
/**
|
|
1001
|
-
* Experiment batch id filter
|
|
1002
|
-
*/
|
|
1003
|
-
batchId?: string;
|
|
1004
|
-
/**
|
|
1005
|
-
* Exact dataset example id (folder name) filter
|
|
1006
|
-
*/
|
|
1007
|
-
exampleId?: string;
|
|
1008
|
-
/**
|
|
1009
|
-
* Substring match on dataset example id
|
|
1010
|
-
*/
|
|
1011
|
-
exampleIdContains?: string;
|
|
1012
|
-
/**
|
|
1013
|
-
* Only runs created at/after this ISO timestamp
|
|
1014
|
-
*/
|
|
1015
|
-
createdAfter?: string;
|
|
1016
|
-
/**
|
|
1017
|
-
* Only runs created at/before this ISO timestamp
|
|
1018
|
-
*/
|
|
1019
|
-
createdBefore?: string;
|
|
1020
|
-
/**
|
|
1021
|
-
* Only runs completed at/after this ISO timestamp
|
|
1022
|
-
*/
|
|
1023
|
-
completedAfter?: string;
|
|
1024
|
-
/**
|
|
1025
|
-
* Only runs completed at/before this ISO timestamp
|
|
1026
|
-
*/
|
|
1027
|
-
completedBefore?: string;
|
|
1028
|
-
/**
|
|
1029
|
-
* Filter by the source ref requested when the run was created
|
|
1030
|
-
*/
|
|
1031
|
-
sourceRef?: string;
|
|
1032
|
-
feedbackStatus?: 'open' | 'resolved' | 'ignored';
|
|
1033
|
-
feedbackRating?: 'pass' | 'fail' | 'partial' | 'none';
|
|
1034
|
-
hasFeedback?: boolean;
|
|
1035
|
-
noFeedback?: boolean;
|
|
1036
|
-
hasExpected?: boolean;
|
|
1037
|
-
hasExpectedJson?: boolean;
|
|
1038
|
-
hasExpectedFiles?: boolean;
|
|
1039
|
-
feedbackBodyContains?: string;
|
|
1040
|
-
feedbackCreatedAfter?: string;
|
|
1041
|
-
feedbackCreatedBefore?: string;
|
|
1042
|
-
feedbackUpdatedAfter?: string;
|
|
1043
|
-
feedbackUpdatedBefore?: string;
|
|
1044
|
-
feedbackResolvedAfter?: string;
|
|
1045
|
-
feedbackResolvedBefore?: string;
|
|
1046
|
-
promotedToExample?: boolean;
|
|
1047
|
-
promotedExampleName?: string;
|
|
1048
|
-
sinceLastResolved?: boolean;
|
|
1049
|
-
/**
|
|
1050
|
-
* Comma-separated extra parts: feedback, expected, files
|
|
1051
|
-
*/
|
|
1052
|
-
include?: string;
|
|
1053
|
-
sort?: 'createdAt' | 'completedAt' | 'status' | 'exampleId';
|
|
1054
|
-
order?: 'asc' | 'desc';
|
|
1055
|
-
scanLimit?: number;
|
|
1056
|
-
limit?: number;
|
|
1057
|
-
offset?: number;
|
|
1058
|
-
};
|
|
1059
|
-
url: '/api/v1/agents/{agentId}/runs';
|
|
1060
|
-
};
|
|
1061
|
-
|
|
1062
|
-
export type AgentsRunsListErrors = {
|
|
1063
|
-
/**
|
|
1064
|
-
* Validation error. Request shape did not match the spec.
|
|
1065
|
-
*/
|
|
1066
|
-
400: ApiErrorEnvelope;
|
|
1067
|
-
/**
|
|
1068
|
-
* Missing or invalid API key
|
|
1069
|
-
*/
|
|
1070
|
-
401: ApiErrorEnvelope;
|
|
1071
|
-
/**
|
|
1072
|
-
* API key lacks required scope
|
|
1073
|
-
*/
|
|
1074
|
-
403: ApiErrorEnvelope;
|
|
1075
|
-
/**
|
|
1076
|
-
* Resource not found
|
|
1077
|
-
*/
|
|
1078
|
-
404: ApiErrorEnvelope;
|
|
1079
|
-
/**
|
|
1080
|
-
* Rate limit exceeded
|
|
1081
|
-
*/
|
|
1082
|
-
429: ApiErrorEnvelope;
|
|
1083
|
-
/**
|
|
1084
|
-
* Internal server error
|
|
1085
|
-
*/
|
|
1086
|
-
500: ApiErrorEnvelope;
|
|
1087
|
-
};
|
|
1088
|
-
|
|
1089
|
-
export type AgentsRunsListError = AgentsRunsListErrors[keyof AgentsRunsListErrors];
|
|
1090
|
-
|
|
1091
|
-
export type AgentsRunsListResponses = {
|
|
1092
|
-
/**
|
|
1093
|
-
* List of agent runs
|
|
1094
|
-
*/
|
|
1095
|
-
200: ListAgentRunsResponse;
|
|
1096
|
-
};
|
|
1097
|
-
|
|
1098
|
-
export type AgentsRunsListResponse = AgentsRunsListResponses[keyof AgentsRunsListResponses];
|
|
1099
|
-
|
|
1100
827
|
export type AgentsTriggersEmailDeleteAliasData = {
|
|
1101
828
|
body?: never;
|
|
1102
829
|
path: {
|
|
@@ -1551,19 +1278,14 @@ export type AgentsCreateResponses = {
|
|
|
1551
1278
|
|
|
1552
1279
|
export type AgentsCreateResponse = AgentsCreateResponses[keyof AgentsCreateResponses];
|
|
1553
1280
|
|
|
1554
|
-
export type
|
|
1281
|
+
export type AgentsTriggersEmailListData = {
|
|
1555
1282
|
body?: never;
|
|
1556
|
-
path
|
|
1557
|
-
/**
|
|
1558
|
-
* Run id
|
|
1559
|
-
*/
|
|
1560
|
-
runId: string;
|
|
1561
|
-
};
|
|
1283
|
+
path?: never;
|
|
1562
1284
|
query?: never;
|
|
1563
|
-
url: '/api/v1/agents/
|
|
1285
|
+
url: '/api/v1/agents/triggers/email';
|
|
1564
1286
|
};
|
|
1565
1287
|
|
|
1566
|
-
export type
|
|
1288
|
+
export type AgentsTriggersEmailListErrors = {
|
|
1567
1289
|
/**
|
|
1568
1290
|
* Validation error. Request shape did not match the spec.
|
|
1569
1291
|
*/
|
|
@@ -1590,34 +1312,31 @@ export type AgentsRunsCancelErrors = {
|
|
|
1590
1312
|
500: ApiErrorEnvelope;
|
|
1591
1313
|
};
|
|
1592
1314
|
|
|
1593
|
-
export type
|
|
1315
|
+
export type AgentsTriggersEmailListError =
|
|
1316
|
+
AgentsTriggersEmailListErrors[keyof AgentsTriggersEmailListErrors];
|
|
1594
1317
|
|
|
1595
|
-
export type
|
|
1318
|
+
export type AgentsTriggersEmailListResponses = {
|
|
1596
1319
|
/**
|
|
1597
|
-
*
|
|
1320
|
+
* Email trigger aliases
|
|
1598
1321
|
*/
|
|
1599
|
-
200:
|
|
1322
|
+
200: {
|
|
1323
|
+
emails: Array<unknown>;
|
|
1324
|
+
};
|
|
1600
1325
|
};
|
|
1601
1326
|
|
|
1602
|
-
export type
|
|
1327
|
+
export type AgentsTriggersEmailListResponse =
|
|
1328
|
+
AgentsTriggersEmailListResponses[keyof AgentsTriggersEmailListResponses];
|
|
1603
1329
|
|
|
1604
|
-
export type
|
|
1330
|
+
export type AutomationsSyncData = {
|
|
1605
1331
|
body?: never;
|
|
1606
1332
|
path: {
|
|
1607
|
-
|
|
1608
|
-
* Run id
|
|
1609
|
-
*/
|
|
1610
|
-
runId: string;
|
|
1611
|
-
/**
|
|
1612
|
-
* Expected artifact path
|
|
1613
|
-
*/
|
|
1614
|
-
filename: string;
|
|
1333
|
+
automation: string;
|
|
1615
1334
|
};
|
|
1616
1335
|
query?: never;
|
|
1617
|
-
url: '/api/v1/
|
|
1336
|
+
url: '/api/v1/automations/{automation}/sync';
|
|
1618
1337
|
};
|
|
1619
1338
|
|
|
1620
|
-
export type
|
|
1339
|
+
export type AutomationsSyncErrors = {
|
|
1621
1340
|
/**
|
|
1622
1341
|
* Validation error. Request shape did not match the spec.
|
|
1623
1342
|
*/
|
|
@@ -1644,36 +1363,472 @@ export type AgentsRunsExpectedDeleteErrors = {
|
|
|
1644
1363
|
500: ApiErrorEnvelope;
|
|
1645
1364
|
};
|
|
1646
1365
|
|
|
1647
|
-
export type
|
|
1648
|
-
AgentsRunsExpectedDeleteErrors[keyof AgentsRunsExpectedDeleteErrors];
|
|
1366
|
+
export type AutomationsSyncError = AutomationsSyncErrors[keyof AutomationsSyncErrors];
|
|
1649
1367
|
|
|
1650
|
-
export type
|
|
1368
|
+
export type AutomationsSyncResponses = {
|
|
1651
1369
|
/**
|
|
1652
|
-
*
|
|
1370
|
+
* Automation synced
|
|
1653
1371
|
*/
|
|
1654
|
-
|
|
1372
|
+
200: AutomationSyncResponse;
|
|
1655
1373
|
};
|
|
1656
1374
|
|
|
1657
|
-
export type
|
|
1658
|
-
AgentsRunsExpectedDeleteResponses[keyof AgentsRunsExpectedDeleteResponses];
|
|
1375
|
+
export type AutomationsSyncResponse = AutomationsSyncResponses[keyof AutomationsSyncResponses];
|
|
1659
1376
|
|
|
1660
|
-
export type
|
|
1377
|
+
export type RunsArtifactGetData = {
|
|
1661
1378
|
body?: never;
|
|
1662
1379
|
path: {
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1380
|
+
id: string;
|
|
1381
|
+
path: string;
|
|
1382
|
+
};
|
|
1383
|
+
query?: never;
|
|
1384
|
+
url: '/api/v1/runs/{id}/artifact/{path}';
|
|
1385
|
+
};
|
|
1386
|
+
|
|
1387
|
+
export type RunsArtifactGetErrors = {
|
|
1388
|
+
/**
|
|
1389
|
+
* Validation error. Request shape did not match the spec.
|
|
1390
|
+
*/
|
|
1391
|
+
400: ApiErrorEnvelope;
|
|
1392
|
+
/**
|
|
1393
|
+
* Missing or invalid API key
|
|
1394
|
+
*/
|
|
1395
|
+
401: ApiErrorEnvelope;
|
|
1396
|
+
/**
|
|
1397
|
+
* API key lacks required scope
|
|
1398
|
+
*/
|
|
1399
|
+
403: ApiErrorEnvelope;
|
|
1400
|
+
/**
|
|
1401
|
+
* Resource not found
|
|
1402
|
+
*/
|
|
1403
|
+
404: ApiErrorEnvelope;
|
|
1404
|
+
/**
|
|
1405
|
+
* Rate limit exceeded
|
|
1406
|
+
*/
|
|
1407
|
+
429: ApiErrorEnvelope;
|
|
1408
|
+
/**
|
|
1409
|
+
* Internal server error
|
|
1410
|
+
*/
|
|
1411
|
+
500: ApiErrorEnvelope;
|
|
1412
|
+
};
|
|
1413
|
+
|
|
1414
|
+
export type RunsArtifactGetError = RunsArtifactGetErrors[keyof RunsArtifactGetErrors];
|
|
1415
|
+
|
|
1416
|
+
export type RunsArtifactGetResponses = {
|
|
1417
|
+
/**
|
|
1418
|
+
* Run artifact
|
|
1419
|
+
*/
|
|
1420
|
+
200: unknown;
|
|
1421
|
+
};
|
|
1422
|
+
|
|
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;
|
|
1670
1673
|
filename: string;
|
|
1671
1674
|
};
|
|
1672
1675
|
query?: never;
|
|
1673
|
-
url: '/api/v1/
|
|
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';
|
|
1674
1829
|
};
|
|
1675
1830
|
|
|
1676
|
-
export type
|
|
1831
|
+
export type RunsFeedbackClearErrors = {
|
|
1677
1832
|
/**
|
|
1678
1833
|
* Validation error. Request shape did not match the spec.
|
|
1679
1834
|
*/
|
|
@@ -1700,33 +1855,30 @@ export type AgentsRunsExpectedDownloadErrors = {
|
|
|
1700
1855
|
500: ApiErrorEnvelope;
|
|
1701
1856
|
};
|
|
1702
1857
|
|
|
1703
|
-
export type
|
|
1704
|
-
AgentsRunsExpectedDownloadErrors[keyof AgentsRunsExpectedDownloadErrors];
|
|
1858
|
+
export type RunsFeedbackClearError = RunsFeedbackClearErrors[keyof RunsFeedbackClearErrors];
|
|
1705
1859
|
|
|
1706
|
-
export type
|
|
1860
|
+
export type RunsFeedbackClearResponses = {
|
|
1707
1861
|
/**
|
|
1708
|
-
*
|
|
1862
|
+
* Feedback cleared
|
|
1709
1863
|
*/
|
|
1710
|
-
200:
|
|
1864
|
+
200: {
|
|
1865
|
+
[key: string]: unknown;
|
|
1866
|
+
};
|
|
1711
1867
|
};
|
|
1712
1868
|
|
|
1713
|
-
export type
|
|
1714
|
-
|
|
1869
|
+
export type RunsFeedbackClearResponse =
|
|
1870
|
+
RunsFeedbackClearResponses[keyof RunsFeedbackClearResponses];
|
|
1871
|
+
|
|
1872
|
+
export type RunsFeedbackGetData = {
|
|
1873
|
+
body?: never;
|
|
1715
1874
|
path: {
|
|
1716
|
-
|
|
1717
|
-
* Run id
|
|
1718
|
-
*/
|
|
1719
|
-
runId: string;
|
|
1720
|
-
/**
|
|
1721
|
-
* Expected artifact path
|
|
1722
|
-
*/
|
|
1723
|
-
filename: string;
|
|
1875
|
+
id: string;
|
|
1724
1876
|
};
|
|
1725
1877
|
query?: never;
|
|
1726
|
-
url: '/api/v1/
|
|
1878
|
+
url: '/api/v1/runs/{id}/feedback';
|
|
1727
1879
|
};
|
|
1728
1880
|
|
|
1729
|
-
export type
|
|
1881
|
+
export type RunsFeedbackGetErrors = {
|
|
1730
1882
|
/**
|
|
1731
1883
|
* Validation error. Request shape did not match the spec.
|
|
1732
1884
|
*/
|
|
@@ -1753,32 +1905,29 @@ export type AgentsRunsExpectedRenameErrors = {
|
|
|
1753
1905
|
500: ApiErrorEnvelope;
|
|
1754
1906
|
};
|
|
1755
1907
|
|
|
1756
|
-
export type
|
|
1757
|
-
AgentsRunsExpectedRenameErrors[keyof AgentsRunsExpectedRenameErrors];
|
|
1908
|
+
export type RunsFeedbackGetError = RunsFeedbackGetErrors[keyof RunsFeedbackGetErrors];
|
|
1758
1909
|
|
|
1759
|
-
export type
|
|
1910
|
+
export type RunsFeedbackGetResponses = {
|
|
1760
1911
|
/**
|
|
1761
|
-
*
|
|
1912
|
+
* Feedback artifacts
|
|
1762
1913
|
*/
|
|
1763
|
-
200:
|
|
1914
|
+
200: {
|
|
1915
|
+
[key: string]: unknown;
|
|
1916
|
+
};
|
|
1764
1917
|
};
|
|
1765
1918
|
|
|
1766
|
-
export type
|
|
1767
|
-
AgentsRunsExpectedRenameResponses[keyof AgentsRunsExpectedRenameResponses];
|
|
1919
|
+
export type RunsFeedbackGetResponse = RunsFeedbackGetResponses[keyof RunsFeedbackGetResponses];
|
|
1768
1920
|
|
|
1769
|
-
export type
|
|
1770
|
-
body
|
|
1921
|
+
export type RunsFeedbackUpdateData = {
|
|
1922
|
+
body: RunFeedbackRequest;
|
|
1771
1923
|
path: {
|
|
1772
|
-
|
|
1773
|
-
* Run id
|
|
1774
|
-
*/
|
|
1775
|
-
runId: string;
|
|
1924
|
+
id: string;
|
|
1776
1925
|
};
|
|
1777
1926
|
query?: never;
|
|
1778
|
-
url: '/api/v1/
|
|
1927
|
+
url: '/api/v1/runs/{id}/feedback';
|
|
1779
1928
|
};
|
|
1780
1929
|
|
|
1781
|
-
export type
|
|
1930
|
+
export type RunsFeedbackUpdateErrors = {
|
|
1782
1931
|
/**
|
|
1783
1932
|
* Validation error. Request shape did not match the spec.
|
|
1784
1933
|
*/
|
|
@@ -1805,32 +1954,33 @@ export type AgentsRunsExpectedListErrors = {
|
|
|
1805
1954
|
500: ApiErrorEnvelope;
|
|
1806
1955
|
};
|
|
1807
1956
|
|
|
1808
|
-
export type
|
|
1809
|
-
AgentsRunsExpectedListErrors[keyof AgentsRunsExpectedListErrors];
|
|
1957
|
+
export type RunsFeedbackUpdateError = RunsFeedbackUpdateErrors[keyof RunsFeedbackUpdateErrors];
|
|
1810
1958
|
|
|
1811
|
-
export type
|
|
1959
|
+
export type RunsFeedbackUpdateResponses = {
|
|
1812
1960
|
/**
|
|
1813
|
-
*
|
|
1961
|
+
* Feedback updated
|
|
1814
1962
|
*/
|
|
1815
|
-
200:
|
|
1963
|
+
200: {
|
|
1964
|
+
[key: string]: unknown;
|
|
1965
|
+
};
|
|
1816
1966
|
};
|
|
1817
1967
|
|
|
1818
|
-
export type
|
|
1819
|
-
|
|
1968
|
+
export type RunsFeedbackUpdateResponse =
|
|
1969
|
+
RunsFeedbackUpdateResponses[keyof RunsFeedbackUpdateResponses];
|
|
1820
1970
|
|
|
1821
|
-
export type
|
|
1822
|
-
body
|
|
1971
|
+
export type RunsFilesZipGetData = {
|
|
1972
|
+
body?: never;
|
|
1823
1973
|
path: {
|
|
1824
|
-
|
|
1825
|
-
* Run id
|
|
1826
|
-
*/
|
|
1827
|
-
runId: string;
|
|
1974
|
+
id: string;
|
|
1828
1975
|
};
|
|
1829
|
-
query?:
|
|
1830
|
-
|
|
1976
|
+
query?: {
|
|
1977
|
+
files?: string;
|
|
1978
|
+
token?: string;
|
|
1979
|
+
};
|
|
1980
|
+
url: '/api/v1/runs/{id}/files-zip';
|
|
1831
1981
|
};
|
|
1832
1982
|
|
|
1833
|
-
export type
|
|
1983
|
+
export type RunsFilesZipGetErrors = {
|
|
1834
1984
|
/**
|
|
1835
1985
|
* Validation error. Request shape did not match the spec.
|
|
1836
1986
|
*/
|
|
@@ -1857,34 +2007,26 @@ export type AgentsRunsExpectedCreateErrors = {
|
|
|
1857
2007
|
500: ApiErrorEnvelope;
|
|
1858
2008
|
};
|
|
1859
2009
|
|
|
1860
|
-
export type
|
|
1861
|
-
AgentsRunsExpectedCreateErrors[keyof AgentsRunsExpectedCreateErrors];
|
|
2010
|
+
export type RunsFilesZipGetError = RunsFilesZipGetErrors[keyof RunsFilesZipGetErrors];
|
|
1862
2011
|
|
|
1863
|
-
export type
|
|
2012
|
+
export type RunsFilesZipGetResponses = {
|
|
1864
2013
|
/**
|
|
1865
|
-
*
|
|
2014
|
+
* Output files zip
|
|
1866
2015
|
*/
|
|
1867
|
-
|
|
1868
|
-
name: string;
|
|
1869
|
-
};
|
|
2016
|
+
200: unknown;
|
|
1870
2017
|
};
|
|
1871
2018
|
|
|
1872
|
-
export type
|
|
1873
|
-
AgentsRunsExpectedCreateResponses[keyof AgentsRunsExpectedCreateResponses];
|
|
1874
|
-
|
|
1875
|
-
export type AgentsRunsFeedbackDeleteData = {
|
|
2019
|
+
export type RunsFilesDeleteData = {
|
|
1876
2020
|
body?: never;
|
|
1877
2021
|
path: {
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
*/
|
|
1881
|
-
runId: string;
|
|
2022
|
+
id: string;
|
|
2023
|
+
fileId: string;
|
|
1882
2024
|
};
|
|
1883
2025
|
query?: never;
|
|
1884
|
-
url: '/api/v1/
|
|
2026
|
+
url: '/api/v1/runs/{id}/files/{fileId}';
|
|
1885
2027
|
};
|
|
1886
2028
|
|
|
1887
|
-
export type
|
|
2029
|
+
export type RunsFilesDeleteErrors = {
|
|
1888
2030
|
/**
|
|
1889
2031
|
* Validation error. Request shape did not match the spec.
|
|
1890
2032
|
*/
|
|
@@ -1911,32 +2053,27 @@ export type AgentsRunsFeedbackDeleteErrors = {
|
|
|
1911
2053
|
500: ApiErrorEnvelope;
|
|
1912
2054
|
};
|
|
1913
2055
|
|
|
1914
|
-
export type
|
|
1915
|
-
AgentsRunsFeedbackDeleteErrors[keyof AgentsRunsFeedbackDeleteErrors];
|
|
2056
|
+
export type RunsFilesDeleteError = RunsFilesDeleteErrors[keyof RunsFilesDeleteErrors];
|
|
1916
2057
|
|
|
1917
|
-
export type
|
|
2058
|
+
export type RunsFilesDeleteResponses = {
|
|
1918
2059
|
/**
|
|
1919
|
-
*
|
|
2060
|
+
* Deleted
|
|
1920
2061
|
*/
|
|
1921
|
-
|
|
2062
|
+
204: void;
|
|
1922
2063
|
};
|
|
1923
2064
|
|
|
1924
|
-
export type
|
|
1925
|
-
AgentsRunsFeedbackDeleteResponses[keyof AgentsRunsFeedbackDeleteResponses];
|
|
2065
|
+
export type RunsFilesDeleteResponse = RunsFilesDeleteResponses[keyof RunsFilesDeleteResponses];
|
|
1926
2066
|
|
|
1927
|
-
export type
|
|
2067
|
+
export type RunsFilesListData = {
|
|
1928
2068
|
body?: never;
|
|
1929
2069
|
path: {
|
|
1930
|
-
|
|
1931
|
-
* Run id
|
|
1932
|
-
*/
|
|
1933
|
-
runId: string;
|
|
2070
|
+
id: string;
|
|
1934
2071
|
};
|
|
1935
2072
|
query?: never;
|
|
1936
|
-
url: '/api/v1/
|
|
2073
|
+
url: '/api/v1/runs/{id}/files';
|
|
1937
2074
|
};
|
|
1938
2075
|
|
|
1939
|
-
export type
|
|
2076
|
+
export type RunsFilesListErrors = {
|
|
1940
2077
|
/**
|
|
1941
2078
|
* Validation error. Request shape did not match the spec.
|
|
1942
2079
|
*/
|
|
@@ -1963,32 +2100,27 @@ export type AgentsRunsFeedbackGetErrors = {
|
|
|
1963
2100
|
500: ApiErrorEnvelope;
|
|
1964
2101
|
};
|
|
1965
2102
|
|
|
1966
|
-
export type
|
|
1967
|
-
AgentsRunsFeedbackGetErrors[keyof AgentsRunsFeedbackGetErrors];
|
|
2103
|
+
export type RunsFilesListError = RunsFilesListErrors[keyof RunsFilesListErrors];
|
|
1968
2104
|
|
|
1969
|
-
export type
|
|
2105
|
+
export type RunsFilesListResponses = {
|
|
1970
2106
|
/**
|
|
1971
|
-
* Run
|
|
2107
|
+
* Run files
|
|
1972
2108
|
*/
|
|
1973
|
-
200:
|
|
2109
|
+
200: RunFilesResponse;
|
|
1974
2110
|
};
|
|
1975
2111
|
|
|
1976
|
-
export type
|
|
1977
|
-
AgentsRunsFeedbackGetResponses[keyof AgentsRunsFeedbackGetResponses];
|
|
2112
|
+
export type RunsFilesListResponse = RunsFilesListResponses[keyof RunsFilesListResponses];
|
|
1978
2113
|
|
|
1979
|
-
export type
|
|
1980
|
-
body:
|
|
2114
|
+
export type RunsFilesUploadData = {
|
|
2115
|
+
body: RunsFilesUploadBody;
|
|
1981
2116
|
path: {
|
|
1982
|
-
|
|
1983
|
-
* Run id
|
|
1984
|
-
*/
|
|
1985
|
-
runId: string;
|
|
2117
|
+
id: string;
|
|
1986
2118
|
};
|
|
1987
2119
|
query?: never;
|
|
1988
|
-
url: '/api/v1/
|
|
2120
|
+
url: '/api/v1/runs/{id}/files';
|
|
1989
2121
|
};
|
|
1990
2122
|
|
|
1991
|
-
export type
|
|
2123
|
+
export type RunsFilesUploadErrors = {
|
|
1992
2124
|
/**
|
|
1993
2125
|
* Validation error. Request shape did not match the spec.
|
|
1994
2126
|
*/
|
|
@@ -2015,30 +2147,29 @@ export type AgentsRunsFeedbackUpdateErrors = {
|
|
|
2015
2147
|
500: ApiErrorEnvelope;
|
|
2016
2148
|
};
|
|
2017
2149
|
|
|
2018
|
-
export type
|
|
2019
|
-
AgentsRunsFeedbackUpdateErrors[keyof AgentsRunsFeedbackUpdateErrors];
|
|
2150
|
+
export type RunsFilesUploadError = RunsFilesUploadErrors[keyof RunsFilesUploadErrors];
|
|
2020
2151
|
|
|
2021
|
-
export type
|
|
2152
|
+
export type RunsFilesUploadResponses = {
|
|
2022
2153
|
/**
|
|
2023
|
-
*
|
|
2154
|
+
* Uploaded file
|
|
2024
2155
|
*/
|
|
2025
|
-
|
|
2156
|
+
201: {
|
|
2157
|
+
[key: string]: unknown;
|
|
2158
|
+
};
|
|
2026
2159
|
};
|
|
2027
2160
|
|
|
2028
|
-
export type
|
|
2029
|
-
AgentsRunsFeedbackUpdateResponses[keyof AgentsRunsFeedbackUpdateResponses];
|
|
2161
|
+
export type RunsFilesUploadResponse = RunsFilesUploadResponses[keyof RunsFilesUploadResponses];
|
|
2030
2162
|
|
|
2031
|
-
export type
|
|
2032
|
-
body
|
|
2163
|
+
export type RunsRerunData = {
|
|
2164
|
+
body: RunRerunRequest;
|
|
2033
2165
|
path: {
|
|
2034
|
-
|
|
2035
|
-
path: Array<string>;
|
|
2166
|
+
id: string;
|
|
2036
2167
|
};
|
|
2037
2168
|
query?: never;
|
|
2038
|
-
url: '/api/v1/
|
|
2169
|
+
url: '/api/v1/runs/{id}/rerun';
|
|
2039
2170
|
};
|
|
2040
2171
|
|
|
2041
|
-
export type
|
|
2172
|
+
export type RunsRerunErrors = {
|
|
2042
2173
|
/**
|
|
2043
2174
|
* Validation error. Request shape did not match the spec.
|
|
2044
2175
|
*/
|
|
@@ -2065,29 +2196,34 @@ export type AgentsRunsFilesDownloadErrors = {
|
|
|
2065
2196
|
500: ApiErrorEnvelope;
|
|
2066
2197
|
};
|
|
2067
2198
|
|
|
2068
|
-
export type
|
|
2069
|
-
AgentsRunsFilesDownloadErrors[keyof AgentsRunsFilesDownloadErrors];
|
|
2199
|
+
export type RunsRerunError = RunsRerunErrors[keyof RunsRerunErrors];
|
|
2070
2200
|
|
|
2071
|
-
export type
|
|
2201
|
+
export type RunsRerunResponses = {
|
|
2072
2202
|
/**
|
|
2073
|
-
*
|
|
2203
|
+
* Rerun started
|
|
2074
2204
|
*/
|
|
2075
|
-
200:
|
|
2205
|
+
200: RunRerunResponse;
|
|
2206
|
+
/**
|
|
2207
|
+
* Rerun started
|
|
2208
|
+
*/
|
|
2209
|
+
201: RunRerunResponse;
|
|
2076
2210
|
};
|
|
2077
2211
|
|
|
2078
|
-
export type
|
|
2079
|
-
|
|
2212
|
+
export type RunsRerunResponse = RunsRerunResponses[keyof RunsRerunResponses];
|
|
2213
|
+
|
|
2214
|
+
export type RunsResumeData = {
|
|
2215
|
+
body?: never;
|
|
2080
2216
|
path: {
|
|
2081
2217
|
/**
|
|
2082
|
-
*
|
|
2218
|
+
* Run id
|
|
2083
2219
|
*/
|
|
2084
|
-
|
|
2220
|
+
id: string;
|
|
2085
2221
|
};
|
|
2086
2222
|
query?: never;
|
|
2087
|
-
url: '/api/v1/
|
|
2223
|
+
url: '/api/v1/runs/{id}/resume';
|
|
2088
2224
|
};
|
|
2089
2225
|
|
|
2090
|
-
export type
|
|
2226
|
+
export type RunsResumeErrors = {
|
|
2091
2227
|
/**
|
|
2092
2228
|
* Validation error. Request shape did not match the spec.
|
|
2093
2229
|
*/
|
|
@@ -2114,35 +2250,35 @@ export type AgentsRunsRerunErrors = {
|
|
|
2114
2250
|
500: ApiErrorEnvelope;
|
|
2115
2251
|
};
|
|
2116
2252
|
|
|
2117
|
-
export type
|
|
2253
|
+
export type RunsResumeError = RunsResumeErrors[keyof RunsResumeErrors];
|
|
2118
2254
|
|
|
2119
|
-
export type
|
|
2255
|
+
export type RunsResumeResponses = {
|
|
2120
2256
|
/**
|
|
2121
|
-
*
|
|
2257
|
+
* Run resumed
|
|
2122
2258
|
*/
|
|
2123
|
-
|
|
2259
|
+
200: RunResumeResponse;
|
|
2124
2260
|
};
|
|
2125
2261
|
|
|
2126
|
-
export type
|
|
2262
|
+
export type RunsResumeResponse = RunsResumeResponses[keyof RunsResumeResponses];
|
|
2127
2263
|
|
|
2128
|
-
export type
|
|
2264
|
+
export type RunsGetData = {
|
|
2129
2265
|
body?: never;
|
|
2130
2266
|
path: {
|
|
2131
2267
|
/**
|
|
2132
2268
|
* Run id
|
|
2133
2269
|
*/
|
|
2134
|
-
|
|
2270
|
+
id: string;
|
|
2135
2271
|
};
|
|
2136
2272
|
query?: {
|
|
2137
2273
|
/**
|
|
2138
|
-
* Comma-separated
|
|
2274
|
+
* Comma-separated sections. Include `detail` for rich payload.
|
|
2139
2275
|
*/
|
|
2140
2276
|
include?: string;
|
|
2141
2277
|
};
|
|
2142
|
-
url: '/api/v1/
|
|
2278
|
+
url: '/api/v1/runs/{id}';
|
|
2143
2279
|
};
|
|
2144
2280
|
|
|
2145
|
-
export type
|
|
2281
|
+
export type RunsGetErrors = {
|
|
2146
2282
|
/**
|
|
2147
2283
|
* Validation error. Request shape did not match the spec.
|
|
2148
2284
|
*/
|
|
@@ -2169,25 +2305,27 @@ export type AgentsRunsGetErrors = {
|
|
|
2169
2305
|
500: ApiErrorEnvelope;
|
|
2170
2306
|
};
|
|
2171
2307
|
|
|
2172
|
-
export type
|
|
2308
|
+
export type RunsGetError = RunsGetErrors[keyof RunsGetErrors];
|
|
2173
2309
|
|
|
2174
|
-
export type
|
|
2310
|
+
export type RunsGetResponses = {
|
|
2175
2311
|
/**
|
|
2176
|
-
*
|
|
2312
|
+
* Run
|
|
2177
2313
|
*/
|
|
2178
|
-
200:
|
|
2314
|
+
200: RunEnvelope;
|
|
2179
2315
|
};
|
|
2180
2316
|
|
|
2181
|
-
export type
|
|
2317
|
+
export type RunsGetResponse = RunsGetResponses[keyof RunsGetResponses];
|
|
2182
2318
|
|
|
2183
|
-
export type
|
|
2319
|
+
export type RunsTraceGetData = {
|
|
2184
2320
|
body?: never;
|
|
2185
|
-
path
|
|
2321
|
+
path: {
|
|
2322
|
+
id: string;
|
|
2323
|
+
};
|
|
2186
2324
|
query?: never;
|
|
2187
|
-
url: '/api/v1/
|
|
2325
|
+
url: '/api/v1/runs/{id}/trace';
|
|
2188
2326
|
};
|
|
2189
2327
|
|
|
2190
|
-
export type
|
|
2328
|
+
export type RunsTraceGetErrors = {
|
|
2191
2329
|
/**
|
|
2192
2330
|
* Validation error. Request shape did not match the spec.
|
|
2193
2331
|
*/
|
|
@@ -2214,31 +2352,47 @@ export type AgentsTriggersEmailListErrors = {
|
|
|
2214
2352
|
500: ApiErrorEnvelope;
|
|
2215
2353
|
};
|
|
2216
2354
|
|
|
2217
|
-
export type
|
|
2218
|
-
AgentsTriggersEmailListErrors[keyof AgentsTriggersEmailListErrors];
|
|
2355
|
+
export type RunsTraceGetError = RunsTraceGetErrors[keyof RunsTraceGetErrors];
|
|
2219
2356
|
|
|
2220
|
-
export type
|
|
2357
|
+
export type RunsTraceGetResponses = {
|
|
2221
2358
|
/**
|
|
2222
|
-
*
|
|
2359
|
+
* Run trace events
|
|
2223
2360
|
*/
|
|
2224
2361
|
200: {
|
|
2225
|
-
|
|
2362
|
+
events: Array<unknown>;
|
|
2226
2363
|
};
|
|
2227
2364
|
};
|
|
2228
2365
|
|
|
2229
|
-
export type
|
|
2230
|
-
AgentsTriggersEmailListResponses[keyof AgentsTriggersEmailListResponses];
|
|
2366
|
+
export type RunsTraceGetResponse = RunsTraceGetResponses[keyof RunsTraceGetResponses];
|
|
2231
2367
|
|
|
2232
|
-
export type
|
|
2368
|
+
export type RunsListData = {
|
|
2233
2369
|
body?: never;
|
|
2234
|
-
path
|
|
2235
|
-
|
|
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;
|
|
2236
2391
|
};
|
|
2237
|
-
|
|
2238
|
-
url: '/api/v1/automations/{automation}/sync';
|
|
2392
|
+
url: '/api/v1/runs';
|
|
2239
2393
|
};
|
|
2240
2394
|
|
|
2241
|
-
export type
|
|
2395
|
+
export type RunsListErrors = {
|
|
2242
2396
|
/**
|
|
2243
2397
|
* Validation error. Request shape did not match the spec.
|
|
2244
2398
|
*/
|
|
@@ -2265,16 +2419,16 @@ export type AutomationsSyncErrors = {
|
|
|
2265
2419
|
500: ApiErrorEnvelope;
|
|
2266
2420
|
};
|
|
2267
2421
|
|
|
2268
|
-
export type
|
|
2422
|
+
export type RunsListError = RunsListErrors[keyof RunsListErrors];
|
|
2269
2423
|
|
|
2270
|
-
export type
|
|
2424
|
+
export type RunsListResponses = {
|
|
2271
2425
|
/**
|
|
2272
|
-
*
|
|
2426
|
+
* Runs page
|
|
2273
2427
|
*/
|
|
2274
|
-
200:
|
|
2428
|
+
200: RunsListResponse;
|
|
2275
2429
|
};
|
|
2276
2430
|
|
|
2277
|
-
export type
|
|
2431
|
+
export type RunsListResponse2 = RunsListResponses[keyof RunsListResponses];
|
|
2278
2432
|
|
|
2279
2433
|
export type SourceLockfilePreviewData = {
|
|
2280
2434
|
body?: never;
|
|
@@ -2560,77 +2714,6 @@ export type SourceSecretsEncryptResponses = {
|
|
|
2560
2714
|
export type SourceSecretsEncryptResponse2 =
|
|
2561
2715
|
SourceSecretsEncryptResponses[keyof SourceSecretsEncryptResponses];
|
|
2562
2716
|
|
|
2563
|
-
export type WorkflowsExecutionsListData = {
|
|
2564
|
-
body?: never;
|
|
2565
|
-
path: {
|
|
2566
|
-
/**
|
|
2567
|
-
* Workflow id (e.g. wf_abc123)
|
|
2568
|
-
*/
|
|
2569
|
-
id: string;
|
|
2570
|
-
};
|
|
2571
|
-
query?: {
|
|
2572
|
-
/**
|
|
2573
|
-
* Comma-separated list of execution statuses to filter by
|
|
2574
|
-
*/
|
|
2575
|
-
status?: string;
|
|
2576
|
-
/**
|
|
2577
|
-
* ISO-8601 timestamp or relative expression (e.g. "now()-7d") for the lower bound on `createdAt`
|
|
2578
|
-
*/
|
|
2579
|
-
fromDate?: string;
|
|
2580
|
-
/**
|
|
2581
|
-
* Upper bound on `createdAt`
|
|
2582
|
-
*/
|
|
2583
|
-
toDate?: string;
|
|
2584
|
-
/**
|
|
2585
|
-
* Filter to executions launched from a specific eval example
|
|
2586
|
-
*/
|
|
2587
|
-
exampleId?: string;
|
|
2588
|
-
limit?: number;
|
|
2589
|
-
offset?: number;
|
|
2590
|
-
};
|
|
2591
|
-
url: '/api/v1/workflows/{id}/executions';
|
|
2592
|
-
};
|
|
2593
|
-
|
|
2594
|
-
export type WorkflowsExecutionsListErrors = {
|
|
2595
|
-
/**
|
|
2596
|
-
* Validation error. Request shape did not match the spec.
|
|
2597
|
-
*/
|
|
2598
|
-
400: ApiErrorEnvelope;
|
|
2599
|
-
/**
|
|
2600
|
-
* Missing or invalid API key
|
|
2601
|
-
*/
|
|
2602
|
-
401: ApiErrorEnvelope;
|
|
2603
|
-
/**
|
|
2604
|
-
* API key lacks required scope
|
|
2605
|
-
*/
|
|
2606
|
-
403: ApiErrorEnvelope;
|
|
2607
|
-
/**
|
|
2608
|
-
* Resource not found
|
|
2609
|
-
*/
|
|
2610
|
-
404: ApiErrorEnvelope;
|
|
2611
|
-
/**
|
|
2612
|
-
* Rate limit exceeded
|
|
2613
|
-
*/
|
|
2614
|
-
429: ApiErrorEnvelope;
|
|
2615
|
-
/**
|
|
2616
|
-
* Internal server error
|
|
2617
|
-
*/
|
|
2618
|
-
500: ApiErrorEnvelope;
|
|
2619
|
-
};
|
|
2620
|
-
|
|
2621
|
-
export type WorkflowsExecutionsListError =
|
|
2622
|
-
WorkflowsExecutionsListErrors[keyof WorkflowsExecutionsListErrors];
|
|
2623
|
-
|
|
2624
|
-
export type WorkflowsExecutionsListResponses = {
|
|
2625
|
-
/**
|
|
2626
|
-
* Paginated list of workflow executions
|
|
2627
|
-
*/
|
|
2628
|
-
200: ListWorkflowExecutionsResponse;
|
|
2629
|
-
};
|
|
2630
|
-
|
|
2631
|
-
export type WorkflowsExecutionsListResponse =
|
|
2632
|
-
WorkflowsExecutionsListResponses[keyof WorkflowsExecutionsListResponses];
|
|
2633
|
-
|
|
2634
2717
|
export type WorkflowsGetData = {
|
|
2635
2718
|
body?: never;
|
|
2636
2719
|
path: {
|
|
@@ -2733,7 +2816,7 @@ export type WorkflowsRunError = WorkflowsRunErrors[keyof WorkflowsRunErrors];
|
|
|
2733
2816
|
|
|
2734
2817
|
export type WorkflowsRunResponses = {
|
|
2735
2818
|
/**
|
|
2736
|
-
* 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.
|
|
2737
2820
|
*/
|
|
2738
2821
|
201: RunWorkflowResponse;
|
|
2739
2822
|
};
|
|
@@ -2801,115 +2884,6 @@ export type WorkflowsVersionsListResponses = {
|
|
|
2801
2884
|
export type WorkflowsVersionsListResponse =
|
|
2802
2885
|
WorkflowsVersionsListResponses[keyof WorkflowsVersionsListResponses];
|
|
2803
2886
|
|
|
2804
|
-
export type WorkflowsExecutionsCancelData = {
|
|
2805
|
-
body?: never;
|
|
2806
|
-
path: {
|
|
2807
|
-
/**
|
|
2808
|
-
* Execution id to cancel
|
|
2809
|
-
*/
|
|
2810
|
-
executionId: string;
|
|
2811
|
-
};
|
|
2812
|
-
query?: never;
|
|
2813
|
-
url: '/api/v1/workflows/executions/{executionId}/cancel';
|
|
2814
|
-
};
|
|
2815
|
-
|
|
2816
|
-
export type WorkflowsExecutionsCancelErrors = {
|
|
2817
|
-
/**
|
|
2818
|
-
* Validation error. Request shape did not match the spec.
|
|
2819
|
-
*/
|
|
2820
|
-
400: ApiErrorEnvelope;
|
|
2821
|
-
/**
|
|
2822
|
-
* Missing or invalid API key
|
|
2823
|
-
*/
|
|
2824
|
-
401: ApiErrorEnvelope;
|
|
2825
|
-
/**
|
|
2826
|
-
* API key lacks required scope
|
|
2827
|
-
*/
|
|
2828
|
-
403: ApiErrorEnvelope;
|
|
2829
|
-
/**
|
|
2830
|
-
* Resource not found
|
|
2831
|
-
*/
|
|
2832
|
-
404: ApiErrorEnvelope;
|
|
2833
|
-
/**
|
|
2834
|
-
* Rate limit exceeded
|
|
2835
|
-
*/
|
|
2836
|
-
429: ApiErrorEnvelope;
|
|
2837
|
-
/**
|
|
2838
|
-
* Internal server error
|
|
2839
|
-
*/
|
|
2840
|
-
500: ApiErrorEnvelope;
|
|
2841
|
-
};
|
|
2842
|
-
|
|
2843
|
-
export type WorkflowsExecutionsCancelError =
|
|
2844
|
-
WorkflowsExecutionsCancelErrors[keyof WorkflowsExecutionsCancelErrors];
|
|
2845
|
-
|
|
2846
|
-
export type WorkflowsExecutionsCancelResponses = {
|
|
2847
|
-
/**
|
|
2848
|
-
* Cancellation outcome
|
|
2849
|
-
*/
|
|
2850
|
-
200: CancelWorkflowExecutionResponse;
|
|
2851
|
-
};
|
|
2852
|
-
|
|
2853
|
-
export type WorkflowsExecutionsCancelResponse =
|
|
2854
|
-
WorkflowsExecutionsCancelResponses[keyof WorkflowsExecutionsCancelResponses];
|
|
2855
|
-
|
|
2856
|
-
export type WorkflowsExecutionsGetData = {
|
|
2857
|
-
body?: never;
|
|
2858
|
-
path: {
|
|
2859
|
-
/**
|
|
2860
|
-
* Execution id (e.g. exec_xyz)
|
|
2861
|
-
*/
|
|
2862
|
-
executionId: string;
|
|
2863
|
-
};
|
|
2864
|
-
query?: {
|
|
2865
|
-
/**
|
|
2866
|
-
* When "true", returns the full per-step execution payload instead of the summary
|
|
2867
|
-
*/
|
|
2868
|
-
includeSteps?: 'true' | 'false';
|
|
2869
|
-
};
|
|
2870
|
-
url: '/api/v1/workflows/executions/{executionId}';
|
|
2871
|
-
};
|
|
2872
|
-
|
|
2873
|
-
export type WorkflowsExecutionsGetErrors = {
|
|
2874
|
-
/**
|
|
2875
|
-
* Validation error. Request shape did not match the spec.
|
|
2876
|
-
*/
|
|
2877
|
-
400: ApiErrorEnvelope;
|
|
2878
|
-
/**
|
|
2879
|
-
* Missing or invalid API key
|
|
2880
|
-
*/
|
|
2881
|
-
401: ApiErrorEnvelope;
|
|
2882
|
-
/**
|
|
2883
|
-
* API key lacks required scope
|
|
2884
|
-
*/
|
|
2885
|
-
403: ApiErrorEnvelope;
|
|
2886
|
-
/**
|
|
2887
|
-
* Resource not found
|
|
2888
|
-
*/
|
|
2889
|
-
404: ApiErrorEnvelope;
|
|
2890
|
-
/**
|
|
2891
|
-
* Rate limit exceeded
|
|
2892
|
-
*/
|
|
2893
|
-
429: ApiErrorEnvelope;
|
|
2894
|
-
/**
|
|
2895
|
-
* Internal server error
|
|
2896
|
-
*/
|
|
2897
|
-
500: ApiErrorEnvelope;
|
|
2898
|
-
};
|
|
2899
|
-
|
|
2900
|
-
export type WorkflowsExecutionsGetError =
|
|
2901
|
-
WorkflowsExecutionsGetErrors[keyof WorkflowsExecutionsGetErrors];
|
|
2902
|
-
|
|
2903
|
-
export type WorkflowsExecutionsGetResponses = {
|
|
2904
|
-
/**
|
|
2905
|
-
* Workflow execution status or full per-step payload
|
|
2906
|
-
*/
|
|
2907
|
-
200: WorkflowExecutionStatusResponse | ExecutionSummary;
|
|
2908
|
-
};
|
|
2909
|
-
|
|
2910
|
-
export type WorkflowsExecutionsGetResponse =
|
|
2911
|
-
WorkflowsExecutionsGetResponses[keyof WorkflowsExecutionsGetResponses];
|
|
2912
|
-
|
|
2913
2887
|
export type WorkflowsListData = {
|
|
2914
2888
|
body?: never;
|
|
2915
2889
|
path?: never;
|