@eigenpal/sdk 0.7.1 → 0.8.0
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 +70 -3
- package/README.md +56 -152
- package/package.json +1 -1
- package/src/client.ts +34 -19
- package/src/generated/index.ts +2 -2
- package/src/generated/sdk.gen.ts +161 -284
- package/src/generated/types.gen.ts +1008 -1273
- package/src/index.ts +20 -44
- package/src/resources/auth.ts +18 -0
- package/src/resources/automations.ts +284 -7
- package/src/resources/files.ts +51 -0
- package/src/resources/runs.ts +66 -463
- package/src/telemetry.ts +1 -1
- package/src/resources/agents.ts +0 -221
- package/src/resources/executions.ts +0 -142
- package/src/resources/source.ts +0 -101
- package/src/resources/workflows.ts +0 -82
|
@@ -4,21 +4,60 @@ export type ClientOptions = {
|
|
|
4
4
|
baseUrl: 'https://studio.eigenpal.com' | (string & {});
|
|
5
5
|
};
|
|
6
6
|
|
|
7
|
-
export type
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
export type AutomationDatasetImportMultipartRequest = {
|
|
8
|
+
/**
|
|
9
|
+
* Dataset ZIP file
|
|
10
|
+
*/
|
|
11
|
+
file: Blob | File;
|
|
12
|
+
mode?: 'append' | 'replace';
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export type EvaluatorConfigUpdate = {
|
|
16
|
+
yaml: string;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
export type DatasetExampleUpdate = {
|
|
20
|
+
input?: {
|
|
11
21
|
[key: string]: unknown;
|
|
12
|
-
};
|
|
22
|
+
} | null;
|
|
23
|
+
expected?: unknown | null;
|
|
24
|
+
metadata?: {
|
|
25
|
+
[key: string]: unknown;
|
|
26
|
+
} | null;
|
|
27
|
+
annotation?: string | null;
|
|
28
|
+
rowOrder?: number | null;
|
|
29
|
+
overrides?: {
|
|
30
|
+
[key: string]: unknown;
|
|
31
|
+
} | null;
|
|
13
32
|
};
|
|
14
33
|
|
|
15
|
-
export type
|
|
16
|
-
name
|
|
17
|
-
|
|
18
|
-
description?: string;
|
|
19
|
-
config?: {
|
|
34
|
+
export type DatasetExampleMutation = {
|
|
35
|
+
name?: string | null;
|
|
36
|
+
input?: {
|
|
20
37
|
[key: string]: unknown;
|
|
21
|
-
};
|
|
38
|
+
} | null;
|
|
39
|
+
expected?: unknown | null;
|
|
40
|
+
metadata?: {
|
|
41
|
+
[key: string]: unknown;
|
|
42
|
+
} | null;
|
|
43
|
+
annotation?: string | null;
|
|
44
|
+
rowOrder?: number | null;
|
|
45
|
+
overrides?: {
|
|
46
|
+
[key: string]: unknown;
|
|
47
|
+
} | null;
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
export type ExperimentCreate = {
|
|
51
|
+
examples?: Array<string>;
|
|
52
|
+
batchConcurrency?: number | null;
|
|
53
|
+
sourceRef?: string;
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
export type CreateFileMultipartRequest = {
|
|
57
|
+
/**
|
|
58
|
+
* Binary file field
|
|
59
|
+
*/
|
|
60
|
+
file: Blob | File;
|
|
22
61
|
};
|
|
23
62
|
|
|
24
63
|
/**
|
|
@@ -69,6 +108,26 @@ export type RunStartBody = {
|
|
|
69
108
|
};
|
|
70
109
|
};
|
|
71
110
|
|
|
111
|
+
export type RunStartMultipartRequest = {
|
|
112
|
+
/**
|
|
113
|
+
* Automation target, e.g. `workflows.invoice`.
|
|
114
|
+
*/
|
|
115
|
+
target: string;
|
|
116
|
+
/**
|
|
117
|
+
* JSON-encoded scalar input object.
|
|
118
|
+
*/
|
|
119
|
+
input?: string;
|
|
120
|
+
/**
|
|
121
|
+
* JSON-encoded step overrides.
|
|
122
|
+
*/
|
|
123
|
+
overrides?: string;
|
|
124
|
+
/**
|
|
125
|
+
* JSON-encoded run metadata.
|
|
126
|
+
*/
|
|
127
|
+
metadata?: string;
|
|
128
|
+
[key: string]: unknown;
|
|
129
|
+
};
|
|
130
|
+
|
|
72
131
|
export type RunFeedbackRequest = {
|
|
73
132
|
body?: string | null;
|
|
74
133
|
feedback?: string | null;
|
|
@@ -79,49 +138,21 @@ export type RunFeedbackRequest = {
|
|
|
79
138
|
expected?: unknown | null;
|
|
80
139
|
};
|
|
81
140
|
|
|
82
|
-
export type
|
|
83
|
-
|
|
84
|
-
* File contents
|
|
85
|
-
*/
|
|
86
|
-
file: Blob | File;
|
|
87
|
-
};
|
|
88
|
-
|
|
89
|
-
export type SourceSecretsDecryptBody = {
|
|
90
|
-
organizationId?: string;
|
|
91
|
-
executionId?: string;
|
|
92
|
-
sourcePath?: string;
|
|
93
|
-
sourceCommit?: string;
|
|
94
|
-
secretName?: string;
|
|
95
|
-
encrypted?: {
|
|
96
|
-
algorithm: 'aes-256-gcm';
|
|
97
|
-
keyId: string;
|
|
98
|
-
nonce: string;
|
|
99
|
-
ciphertext: string;
|
|
100
|
-
tag: string;
|
|
101
|
-
};
|
|
102
|
-
secrets?: Array<{
|
|
103
|
-
sourcePath: string;
|
|
104
|
-
secretName: string;
|
|
105
|
-
encrypted: {
|
|
106
|
-
algorithm: 'aes-256-gcm';
|
|
107
|
-
keyId: string;
|
|
108
|
-
nonce: string;
|
|
109
|
-
ciphertext: string;
|
|
110
|
-
tag: string;
|
|
111
|
-
};
|
|
112
|
-
}>;
|
|
141
|
+
export type PromoteRunRequest = {
|
|
142
|
+
name?: string;
|
|
113
143
|
};
|
|
114
144
|
|
|
115
|
-
export type
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
145
|
+
export type AuthCheckResponse = {
|
|
146
|
+
ok: true;
|
|
147
|
+
tenantId: string;
|
|
148
|
+
tenantSlug: string;
|
|
149
|
+
tenantName: string | null;
|
|
150
|
+
userId: string | null;
|
|
151
|
+
keyId: string;
|
|
152
|
+
email: string | null;
|
|
153
|
+
name: string | null;
|
|
154
|
+
scope: Array<string>;
|
|
155
|
+
wildcardGranted: boolean;
|
|
125
156
|
};
|
|
126
157
|
|
|
127
158
|
export type ApiErrorEnvelope = {
|
|
@@ -159,99 +190,217 @@ export type ApiErrorIssue = {
|
|
|
159
190
|
severity: 'error' | 'warning';
|
|
160
191
|
};
|
|
161
192
|
|
|
162
|
-
export type
|
|
163
|
-
|
|
193
|
+
export type DatasetImportResponse = {
|
|
194
|
+
mode: 'append';
|
|
195
|
+
created: number;
|
|
196
|
+
expectedSet: number;
|
|
197
|
+
skipped: number;
|
|
198
|
+
issues: Array<unknown>;
|
|
199
|
+
} | {
|
|
200
|
+
mode: 'replace';
|
|
201
|
+
created: number;
|
|
202
|
+
expectedSet: number;
|
|
203
|
+
deleted: number;
|
|
204
|
+
filesDeleted: number;
|
|
205
|
+
};
|
|
206
|
+
|
|
207
|
+
export type EvaluatorConfigResponse = {
|
|
208
|
+
automationId: string;
|
|
209
|
+
automationType: AutomationType;
|
|
210
|
+
yaml: string;
|
|
211
|
+
config: {
|
|
212
|
+
evaluators: Array<unknown>;
|
|
213
|
+
passThreshold: number;
|
|
214
|
+
};
|
|
164
215
|
};
|
|
165
216
|
|
|
166
|
-
export type
|
|
217
|
+
export type AutomationType = 'workflow' | 'agent';
|
|
218
|
+
|
|
219
|
+
export type DatasetExample = {
|
|
220
|
+
/**
|
|
221
|
+
* Stable public example id. Workflow examples use DB ids; agent examples use deterministic name-derived ids.
|
|
222
|
+
*/
|
|
167
223
|
id: string;
|
|
168
|
-
slug: string;
|
|
169
224
|
name: string;
|
|
170
|
-
|
|
225
|
+
automationId: string;
|
|
226
|
+
automationType: AutomationType;
|
|
227
|
+
input: {
|
|
228
|
+
[key: string]: unknown;
|
|
229
|
+
} | null;
|
|
230
|
+
expected: unknown | null;
|
|
231
|
+
expectedFiles: Array<{
|
|
232
|
+
name: string;
|
|
233
|
+
}>;
|
|
234
|
+
metadata: {
|
|
235
|
+
[key: string]: unknown;
|
|
236
|
+
} | null;
|
|
237
|
+
annotation: string | null;
|
|
238
|
+
rowOrder: number | null;
|
|
239
|
+
overrides: {
|
|
240
|
+
[key: string]: unknown;
|
|
241
|
+
} | null;
|
|
242
|
+
latestRunId: string | null;
|
|
243
|
+
createdAt?: string;
|
|
244
|
+
updatedAt?: string | null;
|
|
245
|
+
};
|
|
246
|
+
|
|
247
|
+
export type ExampleRunResponse = {
|
|
248
|
+
id: string;
|
|
249
|
+
type: 'workflow' | 'agent';
|
|
250
|
+
batchId: string | null;
|
|
251
|
+
finished: false;
|
|
252
|
+
};
|
|
253
|
+
|
|
254
|
+
export type DatasetExampleList = {
|
|
255
|
+
data: Array<DatasetExample>;
|
|
256
|
+
total: number;
|
|
257
|
+
limit: number;
|
|
258
|
+
offset: number;
|
|
259
|
+
};
|
|
260
|
+
|
|
261
|
+
export type Experiment = {
|
|
262
|
+
id: string;
|
|
263
|
+
automationId: string;
|
|
264
|
+
automationType: AutomationType;
|
|
265
|
+
status: 'queued' | 'running' | 'completed';
|
|
266
|
+
runCount: number;
|
|
267
|
+
completedCount: number;
|
|
268
|
+
passedCount: number;
|
|
269
|
+
failedCount: number;
|
|
270
|
+
avgScore: number | null;
|
|
271
|
+
createdAt: string;
|
|
272
|
+
completedAt: string | null;
|
|
273
|
+
version: string | null;
|
|
274
|
+
};
|
|
275
|
+
|
|
276
|
+
export type ExperimentCreateResponse = {
|
|
277
|
+
id: string;
|
|
278
|
+
runs: Array<{
|
|
279
|
+
id: string;
|
|
280
|
+
exampleId: string | null;
|
|
281
|
+
}>;
|
|
282
|
+
total: number;
|
|
283
|
+
};
|
|
284
|
+
|
|
285
|
+
export type ExperimentDetail = {
|
|
286
|
+
id: string;
|
|
287
|
+
automationId: string;
|
|
288
|
+
automationType: AutomationType;
|
|
289
|
+
status: 'queued' | 'running' | 'completed';
|
|
290
|
+
runCount: number;
|
|
291
|
+
completedCount: number;
|
|
292
|
+
passedCount: number;
|
|
293
|
+
failedCount: number;
|
|
294
|
+
avgScore: number | null;
|
|
295
|
+
createdAt: string;
|
|
296
|
+
completedAt: string | null;
|
|
297
|
+
version: string | null;
|
|
298
|
+
runs: Array<{
|
|
299
|
+
id: string;
|
|
300
|
+
status: string;
|
|
301
|
+
exampleId: string | null;
|
|
302
|
+
exampleName: string | null;
|
|
303
|
+
createdAt: string;
|
|
304
|
+
completedAt: string | null;
|
|
305
|
+
}>;
|
|
306
|
+
resultsByRun: {
|
|
307
|
+
[key: string]: Array<unknown>;
|
|
308
|
+
};
|
|
309
|
+
};
|
|
310
|
+
|
|
311
|
+
export type AutomationDetail = {
|
|
171
312
|
/**
|
|
172
|
-
*
|
|
313
|
+
* Implementation id for the automation. Workflow automations use workflow ids; agent automations use agent workflow ids.
|
|
173
314
|
*/
|
|
174
|
-
|
|
315
|
+
id: string;
|
|
316
|
+
type: AutomationType;
|
|
317
|
+
slug: string;
|
|
318
|
+
name: string | null;
|
|
319
|
+
description?: string | null;
|
|
320
|
+
status?: string;
|
|
321
|
+
version?: string | null;
|
|
322
|
+
triggers?: AutomationTriggerState;
|
|
175
323
|
/**
|
|
176
|
-
*
|
|
324
|
+
* False when the automations registry row exists but the workflow/agent implementation row is missing.
|
|
177
325
|
*/
|
|
178
|
-
|
|
179
|
-
api: boolean;
|
|
180
|
-
email: boolean;
|
|
181
|
-
manual: boolean;
|
|
182
|
-
cron: boolean;
|
|
183
|
-
};
|
|
184
|
-
sourceIntegrity?: 'healthy' | 'source_missing' | 'unregistered';
|
|
185
|
-
latestVersion?: string | null;
|
|
186
|
-
latestCommit?: string | null;
|
|
187
|
-
config?: {
|
|
188
|
-
[key: string]: unknown;
|
|
189
|
-
};
|
|
326
|
+
implementationAvailable?: boolean;
|
|
190
327
|
createdAt: string;
|
|
191
328
|
updatedAt?: string;
|
|
192
|
-
|
|
193
|
-
exampleCount?: number;
|
|
194
|
-
totalExecutions?: number;
|
|
195
|
-
lastExecutionAt?: string | null;
|
|
196
|
-
avgDurationMs?: number | null;
|
|
197
|
-
avgCredits?: number | null;
|
|
329
|
+
inputSchema?: {
|
|
198
330
|
[key: string]: unknown;
|
|
199
|
-
};
|
|
200
|
-
|
|
331
|
+
} | null;
|
|
332
|
+
outputSchema?: {
|
|
333
|
+
[key: string]: unknown;
|
|
334
|
+
} | null;
|
|
201
335
|
};
|
|
202
336
|
|
|
203
|
-
export type
|
|
204
|
-
|
|
337
|
+
export type AutomationTriggerState = {
|
|
338
|
+
api: boolean;
|
|
339
|
+
email: boolean;
|
|
340
|
+
manual: boolean;
|
|
341
|
+
cron: boolean;
|
|
205
342
|
};
|
|
206
343
|
|
|
207
|
-
export type
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
versions: Array<{
|
|
212
|
-
version: string;
|
|
213
|
-
sourceRef: string;
|
|
214
|
-
tag: string;
|
|
215
|
-
commit: string;
|
|
216
|
-
notes: string | null;
|
|
217
|
-
createdAt: string | null;
|
|
218
|
-
createdByUser: {
|
|
219
|
-
id: string;
|
|
220
|
-
email: string;
|
|
221
|
-
name: string | null;
|
|
222
|
-
image: string | null;
|
|
223
|
-
} | null;
|
|
224
|
-
latest: boolean;
|
|
225
|
-
}>;
|
|
344
|
+
export type AutomationTriggersResponse = {
|
|
345
|
+
automationId: string;
|
|
346
|
+
type: AutomationType;
|
|
347
|
+
triggers: AutomationTriggerState;
|
|
226
348
|
};
|
|
227
349
|
|
|
228
|
-
export type
|
|
229
|
-
data: Array<
|
|
350
|
+
export type ListAutomationVersionsResponse = {
|
|
351
|
+
data: Array<AutomationVersion>;
|
|
230
352
|
total: number;
|
|
231
353
|
limit: number;
|
|
232
354
|
offset: number;
|
|
233
355
|
};
|
|
234
356
|
|
|
235
|
-
export type
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
357
|
+
export type AutomationVersion = {
|
|
358
|
+
id: string;
|
|
359
|
+
automationId: string;
|
|
360
|
+
version: string | null;
|
|
361
|
+
sourceRef?: string | null;
|
|
362
|
+
isCurrent?: boolean;
|
|
363
|
+
createdAt?: string;
|
|
239
364
|
};
|
|
240
365
|
|
|
241
|
-
export type
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
366
|
+
export type ListAutomationsResponse = {
|
|
367
|
+
data: Array<AutomationSummary>;
|
|
368
|
+
total: number;
|
|
369
|
+
limit: number;
|
|
370
|
+
offset: number;
|
|
371
|
+
};
|
|
372
|
+
|
|
373
|
+
export type AutomationSummary = {
|
|
374
|
+
/**
|
|
375
|
+
* Implementation id for the automation. Workflow automations use workflow ids; agent automations use agent workflow ids.
|
|
376
|
+
*/
|
|
377
|
+
id: string;
|
|
378
|
+
type: AutomationType;
|
|
379
|
+
slug: string;
|
|
380
|
+
name: string | null;
|
|
381
|
+
description?: string | null;
|
|
382
|
+
status?: string;
|
|
383
|
+
version?: string | null;
|
|
384
|
+
triggers?: AutomationTriggerState;
|
|
385
|
+
/**
|
|
386
|
+
* False when the automations registry row exists but the workflow/agent implementation row is missing.
|
|
387
|
+
*/
|
|
388
|
+
implementationAvailable?: boolean;
|
|
389
|
+
createdAt: string;
|
|
390
|
+
updatedAt?: string;
|
|
391
|
+
};
|
|
392
|
+
|
|
393
|
+
export type File = {
|
|
394
|
+
id: string;
|
|
395
|
+
filename: string;
|
|
396
|
+
contentType: string | null;
|
|
397
|
+
size: number | null;
|
|
398
|
+
purpose?: string | null;
|
|
399
|
+
createdAt: string;
|
|
400
|
+
};
|
|
401
|
+
|
|
402
|
+
export type DeleteFileResponse = {
|
|
403
|
+
deleted: boolean;
|
|
255
404
|
};
|
|
256
405
|
|
|
257
406
|
export type RunStartResponse = RunAccepted | Run;
|
|
@@ -289,6 +438,18 @@ export type RunSource = {
|
|
|
289
438
|
* Git provenance (agent runs only).
|
|
290
439
|
*/
|
|
291
440
|
git?: RunSourceGit | null;
|
|
441
|
+
/**
|
|
442
|
+
* Whether the live workflow/agent implementation still exists (`GET /api/v1/runs/:id` detail only).
|
|
443
|
+
*/
|
|
444
|
+
implementationAvailable?: boolean;
|
|
445
|
+
/**
|
|
446
|
+
* Whether the owning automation registry row still exists (`GET /api/v1/runs/:id` detail only).
|
|
447
|
+
*/
|
|
448
|
+
automationFound?: boolean;
|
|
449
|
+
/**
|
|
450
|
+
* Current released workflow version label when the source is live (`GET /api/v1/runs/:id` detail only).
|
|
451
|
+
*/
|
|
452
|
+
currentVersion?: string | null;
|
|
292
453
|
};
|
|
293
454
|
|
|
294
455
|
export type RunSourceGit = {
|
|
@@ -383,6 +544,10 @@ export type RunEval = {
|
|
|
383
544
|
|
|
384
545
|
export type RunArtifact = {
|
|
385
546
|
name: string;
|
|
547
|
+
/**
|
|
548
|
+
* `input`, `output`, `debug`, `report`, or another stable artifact role.
|
|
549
|
+
*/
|
|
550
|
+
role: string;
|
|
386
551
|
/**
|
|
387
552
|
* Canonical artifact path for GET /api/v1/runs/:id/artifacts/:path.
|
|
388
553
|
*/
|
|
@@ -449,10 +614,6 @@ export type RunExecutionMeta = {
|
|
|
449
614
|
* Experiment batch id when the run is part of a batch.
|
|
450
615
|
*/
|
|
451
616
|
batchId: string | null;
|
|
452
|
-
/**
|
|
453
|
-
* Free-form note attached to the run (workflow runs).
|
|
454
|
-
*/
|
|
455
|
-
annotation: string | null;
|
|
456
617
|
retry: RunExecutionRetry;
|
|
457
618
|
};
|
|
458
619
|
|
|
@@ -488,42 +649,11 @@ export type WorkflowRunExecution = {
|
|
|
488
649
|
* Experiment batch id when the run is part of a batch.
|
|
489
650
|
*/
|
|
490
651
|
batchId: string | null;
|
|
491
|
-
/**
|
|
492
|
-
* Free-form note attached to the run (workflow runs).
|
|
493
|
-
*/
|
|
494
|
-
annotation: string | null;
|
|
495
652
|
retry: RunExecutionRetry;
|
|
496
653
|
/**
|
|
497
654
|
* Per-step executions of the workflow run.
|
|
498
655
|
*/
|
|
499
656
|
steps: Array<unknown>;
|
|
500
|
-
/**
|
|
501
|
-
* Ground-truth expected output (eval runs).
|
|
502
|
-
*/
|
|
503
|
-
expected?: unknown;
|
|
504
|
-
};
|
|
505
|
-
|
|
506
|
-
export type AgentRunExecution = {
|
|
507
|
-
status: ExecutionStatus;
|
|
508
|
-
/**
|
|
509
|
-
* Whether the completed output matched the workflow or agent output schema.
|
|
510
|
-
*/
|
|
511
|
-
schemaValid: boolean | null;
|
|
512
|
-
/**
|
|
513
|
-
* Experiment batch id when the run is part of a batch.
|
|
514
|
-
*/
|
|
515
|
-
batchId: string | null;
|
|
516
|
-
/**
|
|
517
|
-
* Free-form note attached to the run (workflow runs).
|
|
518
|
-
*/
|
|
519
|
-
annotation: string | null;
|
|
520
|
-
retry: RunExecutionRetry;
|
|
521
|
-
files: {
|
|
522
|
-
/**
|
|
523
|
-
* Output artifacts the agent produced.
|
|
524
|
-
*/
|
|
525
|
-
output: Array<RunFile>;
|
|
526
|
-
};
|
|
527
657
|
feedback?: RunFeedback | null;
|
|
528
658
|
/**
|
|
529
659
|
* Ground-truth expected output and files.
|
|
@@ -555,6 +685,33 @@ export type RunFeedback = {
|
|
|
555
685
|
promotedExampleName: string | null;
|
|
556
686
|
};
|
|
557
687
|
|
|
688
|
+
export type AgentRunExecution = {
|
|
689
|
+
status: ExecutionStatus;
|
|
690
|
+
/**
|
|
691
|
+
* Whether the completed output matched the workflow or agent output schema.
|
|
692
|
+
*/
|
|
693
|
+
schemaValid: boolean | null;
|
|
694
|
+
/**
|
|
695
|
+
* Experiment batch id when the run is part of a batch.
|
|
696
|
+
*/
|
|
697
|
+
batchId: string | null;
|
|
698
|
+
retry: RunExecutionRetry;
|
|
699
|
+
files: {
|
|
700
|
+
/**
|
|
701
|
+
* Output artifacts the agent produced.
|
|
702
|
+
*/
|
|
703
|
+
output: Array<RunFile>;
|
|
704
|
+
};
|
|
705
|
+
feedback?: RunFeedback | null;
|
|
706
|
+
/**
|
|
707
|
+
* Ground-truth expected output and files.
|
|
708
|
+
*/
|
|
709
|
+
expected?: {
|
|
710
|
+
output?: unknown;
|
|
711
|
+
files?: Array<RunFile>;
|
|
712
|
+
};
|
|
713
|
+
};
|
|
714
|
+
|
|
558
715
|
export type RunDebug = {
|
|
559
716
|
/**
|
|
560
717
|
* Execution phase timeline and structured failure.
|
|
@@ -618,184 +775,76 @@ export type RunCancelResponse = {
|
|
|
618
775
|
};
|
|
619
776
|
};
|
|
620
777
|
|
|
621
|
-
export type
|
|
622
|
-
|
|
623
|
-
* The workflow definition snapshot captured when the run was created.
|
|
624
|
-
*/
|
|
625
|
-
definition: unknown;
|
|
778
|
+
export type EvalResultsResponse = {
|
|
779
|
+
results: Array<EvalResult>;
|
|
626
780
|
};
|
|
627
781
|
|
|
628
|
-
export type
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
782
|
+
export type EvalResult = {
|
|
783
|
+
id: string;
|
|
784
|
+
runId: string;
|
|
785
|
+
automationId: string | null;
|
|
786
|
+
evaluatorName: string;
|
|
787
|
+
evaluatorType: string;
|
|
788
|
+
score: number | null;
|
|
789
|
+
passed: boolean | null;
|
|
790
|
+
label: string | null;
|
|
791
|
+
weight: number | null;
|
|
792
|
+
passThreshold: number | null;
|
|
793
|
+
description: string | null;
|
|
794
|
+
details: unknown | null;
|
|
795
|
+
error: string | null;
|
|
796
|
+
createdAt: string;
|
|
637
797
|
};
|
|
638
798
|
|
|
639
|
-
export type
|
|
640
|
-
|
|
641
|
-
export type SourceLockfileResponse = {
|
|
642
|
-
lockfileVersion: 1;
|
|
643
|
-
eigenpalVersion: string;
|
|
644
|
-
inputHash: string;
|
|
645
|
-
root: Schema0;
|
|
799
|
+
export type RunEventsResponse = {
|
|
800
|
+
events: Array<RunEvent>;
|
|
646
801
|
};
|
|
647
802
|
|
|
648
|
-
export type
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
803
|
+
export type RunEvent = {
|
|
804
|
+
type: string;
|
|
805
|
+
timestamp: string;
|
|
806
|
+
status?: string | null;
|
|
807
|
+
message?: string | null;
|
|
808
|
+
metadata?: {
|
|
809
|
+
[key: string]: unknown;
|
|
810
|
+
};
|
|
653
811
|
};
|
|
654
812
|
|
|
655
|
-
export type
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
commit: string;
|
|
813
|
+
export type RunFeedbackDetail = {
|
|
814
|
+
feedback: RunFeedback | null;
|
|
815
|
+
expected: unknown | null;
|
|
816
|
+
expectedFiles: Array<{
|
|
817
|
+
name: string;
|
|
661
818
|
}>;
|
|
662
819
|
};
|
|
663
820
|
|
|
664
|
-
export type
|
|
665
|
-
|
|
666
|
-
|
|
821
|
+
export type PromoteRunResponse = {
|
|
822
|
+
automationId: string;
|
|
823
|
+
automationType: 'workflow' | 'agent';
|
|
824
|
+
exampleId: string;
|
|
825
|
+
name: string | null;
|
|
667
826
|
};
|
|
668
827
|
|
|
669
|
-
export type
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
};
|
|
828
|
+
export type RunRerunResponse = RunStartResponse;
|
|
829
|
+
|
|
830
|
+
export type RunStepsResponse = {
|
|
831
|
+
steps: Array<unknown>;
|
|
674
832
|
};
|
|
675
833
|
|
|
676
|
-
export type
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
[key: string]: {
|
|
686
|
-
algorithm: 'aes-256-gcm';
|
|
687
|
-
keyId: string;
|
|
688
|
-
nonce: string;
|
|
689
|
-
ciphertext: string;
|
|
690
|
-
tag: string;
|
|
691
|
-
};
|
|
692
|
-
};
|
|
834
|
+
export type RunUsageResponse = {
|
|
835
|
+
usage: RunUsage | null;
|
|
836
|
+
};
|
|
837
|
+
|
|
838
|
+
export type AuthCheckData = {
|
|
839
|
+
body?: never;
|
|
840
|
+
path?: never;
|
|
841
|
+
query?: never;
|
|
842
|
+
url: '/api/v1/auth/check';
|
|
693
843
|
};
|
|
694
844
|
|
|
695
|
-
export type
|
|
845
|
+
export type AuthCheckErrors = {
|
|
696
846
|
/**
|
|
697
|
-
*
|
|
698
|
-
*/
|
|
699
|
-
id: string;
|
|
700
|
-
/**
|
|
701
|
-
* Human-readable workflow name from the YAML (e.g. "extract-invoice"). Null when no version is published yet.
|
|
702
|
-
*/
|
|
703
|
-
name?: string | null;
|
|
704
|
-
/**
|
|
705
|
-
* Current release tag (e.g. "1.2.4"). Null until a version is published.
|
|
706
|
-
*/
|
|
707
|
-
version?: string | null;
|
|
708
|
-
createdAt: string;
|
|
709
|
-
updatedAt?: string;
|
|
710
|
-
/**
|
|
711
|
-
* YAML for the current version. Null until a version is published. Heavy; only returned on single-workflow GET, not on list.
|
|
712
|
-
*/
|
|
713
|
-
yamlContent?: string | null;
|
|
714
|
-
};
|
|
715
|
-
|
|
716
|
-
export type ListVersionsResponse = {
|
|
717
|
-
data: Array<WorkflowVersion>;
|
|
718
|
-
total: number;
|
|
719
|
-
limit: number;
|
|
720
|
-
offset: number;
|
|
721
|
-
};
|
|
722
|
-
|
|
723
|
-
export type WorkflowVersion = {
|
|
724
|
-
/**
|
|
725
|
-
* Version id (e.g. wfh_xyz). Stable for SDK pinning.
|
|
726
|
-
*/
|
|
727
|
-
id: string;
|
|
728
|
-
workflowId: string;
|
|
729
|
-
/**
|
|
730
|
-
* Release tag for this version.
|
|
731
|
-
*/
|
|
732
|
-
version?: string | null;
|
|
733
|
-
/**
|
|
734
|
-
* Workflow YAML at this version.
|
|
735
|
-
*/
|
|
736
|
-
yamlContent?: string;
|
|
737
|
-
/**
|
|
738
|
-
* True when this is the workflow’s currently published version.
|
|
739
|
-
*/
|
|
740
|
-
isCurrent?: boolean;
|
|
741
|
-
createdAt?: string;
|
|
742
|
-
};
|
|
743
|
-
|
|
744
|
-
export type ListWorkflowsResponse = {
|
|
745
|
-
data: Array<WorkflowSummary>;
|
|
746
|
-
total: number;
|
|
747
|
-
limit: number;
|
|
748
|
-
offset: number;
|
|
749
|
-
};
|
|
750
|
-
|
|
751
|
-
export type WorkflowSummary = {
|
|
752
|
-
/**
|
|
753
|
-
* Workflow id (e.g. wf_abc123).
|
|
754
|
-
*/
|
|
755
|
-
id: string;
|
|
756
|
-
/**
|
|
757
|
-
* Human-readable workflow name from the YAML (e.g. "extract-invoice"). Null when no version is published yet.
|
|
758
|
-
*/
|
|
759
|
-
name?: string | null;
|
|
760
|
-
/**
|
|
761
|
-
* Current release tag (e.g. "1.2.4"). Null until a version is published.
|
|
762
|
-
*/
|
|
763
|
-
version?: string | null;
|
|
764
|
-
createdAt: string;
|
|
765
|
-
updatedAt?: string;
|
|
766
|
-
};
|
|
767
|
-
|
|
768
|
-
export type Schema0 = {
|
|
769
|
-
packagePath: string;
|
|
770
|
-
requestedRef: string;
|
|
771
|
-
resolvedRef: string;
|
|
772
|
-
resolvedTag?: string;
|
|
773
|
-
commit: string;
|
|
774
|
-
dependencies: Array<Schema0>;
|
|
775
|
-
};
|
|
776
|
-
|
|
777
|
-
export type AgentsFilesListOrGetData = {
|
|
778
|
-
body?: never;
|
|
779
|
-
path: {
|
|
780
|
-
/**
|
|
781
|
-
* Agent id or slug
|
|
782
|
-
*/
|
|
783
|
-
agentId: string;
|
|
784
|
-
};
|
|
785
|
-
query?: {
|
|
786
|
-
path?: string;
|
|
787
|
-
prefix?: string;
|
|
788
|
-
/**
|
|
789
|
-
* Git ref (default main)
|
|
790
|
-
*/
|
|
791
|
-
ref?: string;
|
|
792
|
-
};
|
|
793
|
-
url: '/api/v1/agents/{agentId}/files';
|
|
794
|
-
};
|
|
795
|
-
|
|
796
|
-
export type AgentsFilesListOrGetErrors = {
|
|
797
|
-
/**
|
|
798
|
-
* Validation error. Request shape did not match the spec.
|
|
847
|
+
* Validation error. Request shape did not match the spec.
|
|
799
848
|
*/
|
|
800
849
|
400: ApiErrorEnvelope;
|
|
801
850
|
/**
|
|
@@ -811,61 +860,9 @@ export type AgentsFilesListOrGetErrors = {
|
|
|
811
860
|
*/
|
|
812
861
|
404: ApiErrorEnvelope;
|
|
813
862
|
/**
|
|
814
|
-
*
|
|
815
|
-
*/
|
|
816
|
-
429: ApiErrorEnvelope;
|
|
817
|
-
/**
|
|
818
|
-
* Internal server error
|
|
819
|
-
*/
|
|
820
|
-
500: ApiErrorEnvelope;
|
|
821
|
-
};
|
|
822
|
-
|
|
823
|
-
export type AgentsFilesListOrGetError = AgentsFilesListOrGetErrors[keyof AgentsFilesListOrGetErrors];
|
|
824
|
-
|
|
825
|
-
export type AgentsFilesListOrGetResponses = {
|
|
826
|
-
/**
|
|
827
|
-
* Agent source files or one file payload
|
|
863
|
+
* Payload too large. Upload exceeded the per-request size cap.
|
|
828
864
|
*/
|
|
829
|
-
|
|
830
|
-
};
|
|
831
|
-
|
|
832
|
-
export type AgentsFilesUploadBatchData = {
|
|
833
|
-
body: {
|
|
834
|
-
[key: string]: unknown;
|
|
835
|
-
};
|
|
836
|
-
path: {
|
|
837
|
-
/**
|
|
838
|
-
* Agent id or slug
|
|
839
|
-
*/
|
|
840
|
-
agentId: string;
|
|
841
|
-
};
|
|
842
|
-
query?: never;
|
|
843
|
-
url: '/api/v1/agents/{agentId}/files';
|
|
844
|
-
};
|
|
845
|
-
|
|
846
|
-
export type AgentsFilesUploadBatchErrors = {
|
|
847
|
-
/**
|
|
848
|
-
* Validation error. Request shape did not match the spec.
|
|
849
|
-
*/
|
|
850
|
-
400: ApiErrorEnvelope;
|
|
851
|
-
/**
|
|
852
|
-
* Missing or invalid API key
|
|
853
|
-
*/
|
|
854
|
-
401: ApiErrorEnvelope;
|
|
855
|
-
/**
|
|
856
|
-
* API key lacks required scope
|
|
857
|
-
*/
|
|
858
|
-
403: ApiErrorEnvelope;
|
|
859
|
-
/**
|
|
860
|
-
* Resource not found
|
|
861
|
-
*/
|
|
862
|
-
404: ApiErrorEnvelope;
|
|
863
|
-
/**
|
|
864
|
-
* Git-backed source — S3 writes disabled
|
|
865
|
-
*/
|
|
866
|
-
409: {
|
|
867
|
-
error: string;
|
|
868
|
-
};
|
|
865
|
+
413: ApiErrorEnvelope;
|
|
869
866
|
/**
|
|
870
867
|
* Rate limit exceeded
|
|
871
868
|
*/
|
|
@@ -876,82 +873,29 @@ export type AgentsFilesUploadBatchErrors = {
|
|
|
876
873
|
500: ApiErrorEnvelope;
|
|
877
874
|
};
|
|
878
875
|
|
|
879
|
-
export type
|
|
876
|
+
export type AuthCheckError = AuthCheckErrors[keyof AuthCheckErrors];
|
|
880
877
|
|
|
881
|
-
export type
|
|
882
|
-
body: {
|
|
883
|
-
[key: string]: unknown;
|
|
884
|
-
};
|
|
885
|
-
path: {
|
|
886
|
-
/**
|
|
887
|
-
* Agent id or slug
|
|
888
|
-
*/
|
|
889
|
-
agentId: string;
|
|
890
|
-
};
|
|
891
|
-
query?: {
|
|
892
|
-
path?: string;
|
|
893
|
-
prefix?: string;
|
|
894
|
-
/**
|
|
895
|
-
* Git ref (default main)
|
|
896
|
-
*/
|
|
897
|
-
ref?: string;
|
|
898
|
-
};
|
|
899
|
-
url: '/api/v1/agents/{agentId}/files';
|
|
900
|
-
};
|
|
901
|
-
|
|
902
|
-
export type AgentsFilesPutErrors = {
|
|
903
|
-
/**
|
|
904
|
-
* Validation error. Request shape did not match the spec.
|
|
905
|
-
*/
|
|
906
|
-
400: ApiErrorEnvelope;
|
|
907
|
-
/**
|
|
908
|
-
* Missing or invalid API key
|
|
909
|
-
*/
|
|
910
|
-
401: ApiErrorEnvelope;
|
|
911
|
-
/**
|
|
912
|
-
* API key lacks required scope
|
|
913
|
-
*/
|
|
914
|
-
403: ApiErrorEnvelope;
|
|
915
|
-
/**
|
|
916
|
-
* Resource not found
|
|
917
|
-
*/
|
|
918
|
-
404: ApiErrorEnvelope;
|
|
919
|
-
/**
|
|
920
|
-
* Git-backed source — S3 writes disabled
|
|
921
|
-
*/
|
|
922
|
-
409: {
|
|
923
|
-
error: string;
|
|
924
|
-
};
|
|
878
|
+
export type AuthCheckResponses = {
|
|
925
879
|
/**
|
|
926
|
-
*
|
|
880
|
+
* Authenticated identity
|
|
927
881
|
*/
|
|
928
|
-
|
|
929
|
-
/**
|
|
930
|
-
* Internal server error
|
|
931
|
-
*/
|
|
932
|
-
500: ApiErrorEnvelope;
|
|
882
|
+
200: AuthCheckResponse;
|
|
933
883
|
};
|
|
934
884
|
|
|
935
|
-
export type
|
|
885
|
+
export type AuthCheckResponse2 = AuthCheckResponses[keyof AuthCheckResponses];
|
|
936
886
|
|
|
937
|
-
export type
|
|
887
|
+
export type AutomationsDatasetExportData = {
|
|
938
888
|
body?: never;
|
|
939
889
|
path: {
|
|
940
|
-
|
|
941
|
-
* Agent id or slug
|
|
942
|
-
*/
|
|
943
|
-
agentId: string;
|
|
890
|
+
id: string;
|
|
944
891
|
};
|
|
945
892
|
query?: {
|
|
946
|
-
|
|
947
|
-
* Comma-separated optional sections, e.g. files,dataset
|
|
948
|
-
*/
|
|
949
|
-
include?: string;
|
|
893
|
+
exampleIds?: string;
|
|
950
894
|
};
|
|
951
|
-
url: '/api/v1/
|
|
895
|
+
url: '/api/v1/automations/{id}/dataset/export';
|
|
952
896
|
};
|
|
953
897
|
|
|
954
|
-
export type
|
|
898
|
+
export type AutomationsDatasetExportErrors = {
|
|
955
899
|
/**
|
|
956
900
|
* Validation error. Request shape did not match the spec.
|
|
957
901
|
*/
|
|
@@ -969,55 +913,9 @@ export type AgentsGetErrors = {
|
|
|
969
913
|
*/
|
|
970
914
|
404: ApiErrorEnvelope;
|
|
971
915
|
/**
|
|
972
|
-
*
|
|
916
|
+
* Payload too large. Upload exceeded the per-request size cap.
|
|
973
917
|
*/
|
|
974
|
-
|
|
975
|
-
/**
|
|
976
|
-
* Internal server error
|
|
977
|
-
*/
|
|
978
|
-
500: ApiErrorEnvelope;
|
|
979
|
-
};
|
|
980
|
-
|
|
981
|
-
export type AgentsGetError = AgentsGetErrors[keyof AgentsGetErrors];
|
|
982
|
-
|
|
983
|
-
export type AgentsGetResponses = {
|
|
984
|
-
/**
|
|
985
|
-
* Agent
|
|
986
|
-
*/
|
|
987
|
-
200: GetAgentResponse;
|
|
988
|
-
};
|
|
989
|
-
|
|
990
|
-
export type AgentsGetResponse = AgentsGetResponses[keyof AgentsGetResponses];
|
|
991
|
-
|
|
992
|
-
export type AgentsUpdateData = {
|
|
993
|
-
body: PatchAgentBody;
|
|
994
|
-
path: {
|
|
995
|
-
/**
|
|
996
|
-
* Agent id or slug
|
|
997
|
-
*/
|
|
998
|
-
agentId: string;
|
|
999
|
-
};
|
|
1000
|
-
query?: never;
|
|
1001
|
-
url: '/api/v1/agents/{agentId}';
|
|
1002
|
-
};
|
|
1003
|
-
|
|
1004
|
-
export type AgentsUpdateErrors = {
|
|
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;
|
|
918
|
+
413: ApiErrorEnvelope;
|
|
1021
919
|
/**
|
|
1022
920
|
* Rate limit exceeded
|
|
1023
921
|
*/
|
|
@@ -1028,34 +926,27 @@ export type AgentsUpdateErrors = {
|
|
|
1028
926
|
500: ApiErrorEnvelope;
|
|
1029
927
|
};
|
|
1030
928
|
|
|
1031
|
-
export type
|
|
929
|
+
export type AutomationsDatasetExportError = AutomationsDatasetExportErrors[keyof AutomationsDatasetExportErrors];
|
|
1032
930
|
|
|
1033
|
-
export type
|
|
931
|
+
export type AutomationsDatasetExportResponses = {
|
|
1034
932
|
/**
|
|
1035
|
-
*
|
|
933
|
+
* ZIP archive
|
|
1036
934
|
*/
|
|
1037
|
-
200:
|
|
935
|
+
200: string;
|
|
1038
936
|
};
|
|
1039
937
|
|
|
1040
|
-
export type
|
|
938
|
+
export type AutomationsDatasetExportResponse = AutomationsDatasetExportResponses[keyof AutomationsDatasetExportResponses];
|
|
1041
939
|
|
|
1042
|
-
export type
|
|
1043
|
-
body
|
|
940
|
+
export type AutomationsDatasetImportData = {
|
|
941
|
+
body: AutomationDatasetImportMultipartRequest;
|
|
1044
942
|
path: {
|
|
1045
|
-
|
|
1046
|
-
* Agent id or slug
|
|
1047
|
-
*/
|
|
1048
|
-
agentId: string;
|
|
1049
|
-
/**
|
|
1050
|
-
* Email trigger alias id
|
|
1051
|
-
*/
|
|
1052
|
-
emailId: string;
|
|
943
|
+
id: string;
|
|
1053
944
|
};
|
|
1054
945
|
query?: never;
|
|
1055
|
-
url: '/api/v1/
|
|
946
|
+
url: '/api/v1/automations/{id}/dataset/import';
|
|
1056
947
|
};
|
|
1057
948
|
|
|
1058
|
-
export type
|
|
949
|
+
export type AutomationsDatasetImportErrors = {
|
|
1059
950
|
/**
|
|
1060
951
|
* Validation error. Request shape did not match the spec.
|
|
1061
952
|
*/
|
|
@@ -1073,71 +964,9 @@ export type AgentsTriggersEmailDeleteAliasErrors = {
|
|
|
1073
964
|
*/
|
|
1074
965
|
404: ApiErrorEnvelope;
|
|
1075
966
|
/**
|
|
1076
|
-
*
|
|
1077
|
-
*/
|
|
1078
|
-
429: ApiErrorEnvelope;
|
|
1079
|
-
/**
|
|
1080
|
-
* Internal server error
|
|
1081
|
-
*/
|
|
1082
|
-
500: ApiErrorEnvelope;
|
|
1083
|
-
};
|
|
1084
|
-
|
|
1085
|
-
export type AgentsTriggersEmailDeleteAliasError = AgentsTriggersEmailDeleteAliasErrors[keyof AgentsTriggersEmailDeleteAliasErrors];
|
|
1086
|
-
|
|
1087
|
-
export type AgentsTriggersEmailDeleteAliasResponses = {
|
|
1088
|
-
/**
|
|
1089
|
-
* Removed email alias
|
|
1090
|
-
*/
|
|
1091
|
-
200: {
|
|
1092
|
-
removed: true;
|
|
1093
|
-
};
|
|
1094
|
-
};
|
|
1095
|
-
|
|
1096
|
-
export type AgentsTriggersEmailDeleteAliasResponse = AgentsTriggersEmailDeleteAliasResponses[keyof AgentsTriggersEmailDeleteAliasResponses];
|
|
1097
|
-
|
|
1098
|
-
export type AgentsTriggersEmailUpdateAliasData = {
|
|
1099
|
-
body: {
|
|
1100
|
-
label?: string | null;
|
|
1101
|
-
allowlist?: Array<string>;
|
|
1102
|
-
allow?: Array<string>;
|
|
1103
|
-
status?: 'active' | 'disabled';
|
|
1104
|
-
replyConfig?: {
|
|
1105
|
-
[key: string]: unknown;
|
|
1106
|
-
};
|
|
1107
|
-
requireSenderAuth?: boolean;
|
|
1108
|
-
[key: string]: unknown;
|
|
1109
|
-
};
|
|
1110
|
-
path: {
|
|
1111
|
-
/**
|
|
1112
|
-
* Agent id or slug
|
|
1113
|
-
*/
|
|
1114
|
-
agentId: string;
|
|
1115
|
-
/**
|
|
1116
|
-
* Email trigger alias id
|
|
1117
|
-
*/
|
|
1118
|
-
emailId: string;
|
|
1119
|
-
};
|
|
1120
|
-
query?: never;
|
|
1121
|
-
url: '/api/v1/agents/{agentId}/triggers/email/{emailId}';
|
|
1122
|
-
};
|
|
1123
|
-
|
|
1124
|
-
export type AgentsTriggersEmailUpdateAliasErrors = {
|
|
1125
|
-
/**
|
|
1126
|
-
* Validation error. Request shape did not match the spec.
|
|
1127
|
-
*/
|
|
1128
|
-
400: ApiErrorEnvelope;
|
|
1129
|
-
/**
|
|
1130
|
-
* Missing or invalid API key
|
|
1131
|
-
*/
|
|
1132
|
-
401: ApiErrorEnvelope;
|
|
1133
|
-
/**
|
|
1134
|
-
* API key lacks required scope
|
|
1135
|
-
*/
|
|
1136
|
-
403: ApiErrorEnvelope;
|
|
1137
|
-
/**
|
|
1138
|
-
* Resource not found
|
|
967
|
+
* Payload too large. Upload exceeded the per-request size cap.
|
|
1139
968
|
*/
|
|
1140
|
-
|
|
969
|
+
413: ApiErrorEnvelope;
|
|
1141
970
|
/**
|
|
1142
971
|
* Rate limit exceeded
|
|
1143
972
|
*/
|
|
@@ -1148,32 +977,27 @@ export type AgentsTriggersEmailUpdateAliasErrors = {
|
|
|
1148
977
|
500: ApiErrorEnvelope;
|
|
1149
978
|
};
|
|
1150
979
|
|
|
1151
|
-
export type
|
|
980
|
+
export type AutomationsDatasetImportError = AutomationsDatasetImportErrors[keyof AutomationsDatasetImportErrors];
|
|
1152
981
|
|
|
1153
|
-
export type
|
|
982
|
+
export type AutomationsDatasetImportResponses = {
|
|
1154
983
|
/**
|
|
1155
|
-
*
|
|
984
|
+
* Import result
|
|
1156
985
|
*/
|
|
1157
|
-
200:
|
|
1158
|
-
email: unknown;
|
|
1159
|
-
};
|
|
986
|
+
200: DatasetImportResponse;
|
|
1160
987
|
};
|
|
1161
988
|
|
|
1162
|
-
export type
|
|
989
|
+
export type AutomationsDatasetImportResponse = AutomationsDatasetImportResponses[keyof AutomationsDatasetImportResponses];
|
|
1163
990
|
|
|
1164
|
-
export type
|
|
991
|
+
export type AutomationsEvaluatorsGetData = {
|
|
1165
992
|
body?: never;
|
|
1166
993
|
path: {
|
|
1167
|
-
|
|
1168
|
-
* Agent id or slug
|
|
1169
|
-
*/
|
|
1170
|
-
agentId: string;
|
|
994
|
+
id: string;
|
|
1171
995
|
};
|
|
1172
996
|
query?: never;
|
|
1173
|
-
url: '/api/v1/
|
|
997
|
+
url: '/api/v1/automations/{id}/evaluators';
|
|
1174
998
|
};
|
|
1175
999
|
|
|
1176
|
-
export type
|
|
1000
|
+
export type AutomationsEvaluatorsGetErrors = {
|
|
1177
1001
|
/**
|
|
1178
1002
|
* Validation error. Request shape did not match the spec.
|
|
1179
1003
|
*/
|
|
@@ -1191,60 +1015,9 @@ export type AgentsTriggersEmailGetErrors = {
|
|
|
1191
1015
|
*/
|
|
1192
1016
|
404: ApiErrorEnvelope;
|
|
1193
1017
|
/**
|
|
1194
|
-
*
|
|
1018
|
+
* Payload too large. Upload exceeded the per-request size cap.
|
|
1195
1019
|
*/
|
|
1196
|
-
|
|
1197
|
-
/**
|
|
1198
|
-
* Internal server error
|
|
1199
|
-
*/
|
|
1200
|
-
500: ApiErrorEnvelope;
|
|
1201
|
-
};
|
|
1202
|
-
|
|
1203
|
-
export type AgentsTriggersEmailGetError = AgentsTriggersEmailGetErrors[keyof AgentsTriggersEmailGetErrors];
|
|
1204
|
-
|
|
1205
|
-
export type AgentsTriggersEmailGetResponses = {
|
|
1206
|
-
/**
|
|
1207
|
-
* Email trigger state
|
|
1208
|
-
*/
|
|
1209
|
-
200: {
|
|
1210
|
-
trigger: unknown;
|
|
1211
|
-
emails: Array<unknown>;
|
|
1212
|
-
};
|
|
1213
|
-
};
|
|
1214
|
-
|
|
1215
|
-
export type AgentsTriggersEmailGetResponse = AgentsTriggersEmailGetResponses[keyof AgentsTriggersEmailGetResponses];
|
|
1216
|
-
|
|
1217
|
-
export type AgentsTriggersEmailUpdateData = {
|
|
1218
|
-
body: {
|
|
1219
|
-
enabled: boolean;
|
|
1220
|
-
};
|
|
1221
|
-
path: {
|
|
1222
|
-
/**
|
|
1223
|
-
* Agent id or slug
|
|
1224
|
-
*/
|
|
1225
|
-
agentId: string;
|
|
1226
|
-
};
|
|
1227
|
-
query?: never;
|
|
1228
|
-
url: '/api/v1/agents/{agentId}/triggers/email';
|
|
1229
|
-
};
|
|
1230
|
-
|
|
1231
|
-
export type AgentsTriggersEmailUpdateErrors = {
|
|
1232
|
-
/**
|
|
1233
|
-
* Validation error. Request shape did not match the spec.
|
|
1234
|
-
*/
|
|
1235
|
-
400: ApiErrorEnvelope;
|
|
1236
|
-
/**
|
|
1237
|
-
* Missing or invalid API key
|
|
1238
|
-
*/
|
|
1239
|
-
401: ApiErrorEnvelope;
|
|
1240
|
-
/**
|
|
1241
|
-
* API key lacks required scope
|
|
1242
|
-
*/
|
|
1243
|
-
403: ApiErrorEnvelope;
|
|
1244
|
-
/**
|
|
1245
|
-
* Resource not found
|
|
1246
|
-
*/
|
|
1247
|
-
404: ApiErrorEnvelope;
|
|
1020
|
+
413: ApiErrorEnvelope;
|
|
1248
1021
|
/**
|
|
1249
1022
|
* Rate limit exceeded
|
|
1250
1023
|
*/
|
|
@@ -1255,42 +1028,27 @@ export type AgentsTriggersEmailUpdateErrors = {
|
|
|
1255
1028
|
500: ApiErrorEnvelope;
|
|
1256
1029
|
};
|
|
1257
1030
|
|
|
1258
|
-
export type
|
|
1031
|
+
export type AutomationsEvaluatorsGetError = AutomationsEvaluatorsGetErrors[keyof AutomationsEvaluatorsGetErrors];
|
|
1259
1032
|
|
|
1260
|
-
export type
|
|
1033
|
+
export type AutomationsEvaluatorsGetResponses = {
|
|
1261
1034
|
/**
|
|
1262
|
-
*
|
|
1035
|
+
* Evaluator config
|
|
1263
1036
|
*/
|
|
1264
|
-
200:
|
|
1265
|
-
trigger: unknown;
|
|
1266
|
-
};
|
|
1037
|
+
200: EvaluatorConfigResponse;
|
|
1267
1038
|
};
|
|
1268
1039
|
|
|
1269
|
-
export type
|
|
1040
|
+
export type AutomationsEvaluatorsGetResponse = AutomationsEvaluatorsGetResponses[keyof AutomationsEvaluatorsGetResponses];
|
|
1270
1041
|
|
|
1271
|
-
export type
|
|
1272
|
-
body:
|
|
1273
|
-
email?: string;
|
|
1274
|
-
alias?: string;
|
|
1275
|
-
label?: string;
|
|
1276
|
-
allowlist?: Array<string>;
|
|
1277
|
-
allow?: Array<string>;
|
|
1278
|
-
replyConfig?: {
|
|
1279
|
-
[key: string]: unknown;
|
|
1280
|
-
};
|
|
1281
|
-
[key: string]: unknown;
|
|
1282
|
-
};
|
|
1042
|
+
export type AutomationsEvaluatorsUpdateData = {
|
|
1043
|
+
body: EvaluatorConfigUpdate;
|
|
1283
1044
|
path: {
|
|
1284
|
-
|
|
1285
|
-
* Agent id or slug
|
|
1286
|
-
*/
|
|
1287
|
-
agentId: string;
|
|
1045
|
+
id: string;
|
|
1288
1046
|
};
|
|
1289
1047
|
query?: never;
|
|
1290
|
-
url: '/api/v1/
|
|
1048
|
+
url: '/api/v1/automations/{id}/evaluators';
|
|
1291
1049
|
};
|
|
1292
1050
|
|
|
1293
|
-
export type
|
|
1051
|
+
export type AutomationsEvaluatorsUpdateErrors = {
|
|
1294
1052
|
/**
|
|
1295
1053
|
* Validation error. Request shape did not match the spec.
|
|
1296
1054
|
*/
|
|
@@ -1307,6 +1065,10 @@ export type AgentsTriggersEmailCreateAliasErrors = {
|
|
|
1307
1065
|
* Resource not found
|
|
1308
1066
|
*/
|
|
1309
1067
|
404: ApiErrorEnvelope;
|
|
1068
|
+
/**
|
|
1069
|
+
* Payload too large. Upload exceeded the per-request size cap.
|
|
1070
|
+
*/
|
|
1071
|
+
413: ApiErrorEnvelope;
|
|
1310
1072
|
/**
|
|
1311
1073
|
* Rate limit exceeded
|
|
1312
1074
|
*/
|
|
@@ -1317,32 +1079,28 @@ export type AgentsTriggersEmailCreateAliasErrors = {
|
|
|
1317
1079
|
500: ApiErrorEnvelope;
|
|
1318
1080
|
};
|
|
1319
1081
|
|
|
1320
|
-
export type
|
|
1082
|
+
export type AutomationsEvaluatorsUpdateError = AutomationsEvaluatorsUpdateErrors[keyof AutomationsEvaluatorsUpdateErrors];
|
|
1321
1083
|
|
|
1322
|
-
export type
|
|
1084
|
+
export type AutomationsEvaluatorsUpdateResponses = {
|
|
1323
1085
|
/**
|
|
1324
|
-
*
|
|
1086
|
+
* Evaluator config
|
|
1325
1087
|
*/
|
|
1326
|
-
|
|
1327
|
-
email: unknown;
|
|
1328
|
-
};
|
|
1088
|
+
200: EvaluatorConfigResponse;
|
|
1329
1089
|
};
|
|
1330
1090
|
|
|
1331
|
-
export type
|
|
1091
|
+
export type AutomationsEvaluatorsUpdateResponse = AutomationsEvaluatorsUpdateResponses[keyof AutomationsEvaluatorsUpdateResponses];
|
|
1332
1092
|
|
|
1333
|
-
export type
|
|
1093
|
+
export type AutomationsExamplesDeleteData = {
|
|
1334
1094
|
body?: never;
|
|
1335
1095
|
path: {
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
*/
|
|
1339
|
-
agentId: string;
|
|
1096
|
+
id: string;
|
|
1097
|
+
exampleId: string;
|
|
1340
1098
|
};
|
|
1341
1099
|
query?: never;
|
|
1342
|
-
url: '/api/v1/
|
|
1100
|
+
url: '/api/v1/automations/{id}/examples/{exampleId}';
|
|
1343
1101
|
};
|
|
1344
1102
|
|
|
1345
|
-
export type
|
|
1103
|
+
export type AutomationsExamplesDeleteErrors = {
|
|
1346
1104
|
/**
|
|
1347
1105
|
* Validation error. Request shape did not match the spec.
|
|
1348
1106
|
*/
|
|
@@ -1360,62 +1118,9 @@ export type AgentsVersionsListErrors = {
|
|
|
1360
1118
|
*/
|
|
1361
1119
|
404: ApiErrorEnvelope;
|
|
1362
1120
|
/**
|
|
1363
|
-
*
|
|
1121
|
+
* Payload too large. Upload exceeded the per-request size cap.
|
|
1364
1122
|
*/
|
|
1365
|
-
|
|
1366
|
-
/**
|
|
1367
|
-
* Internal server error
|
|
1368
|
-
*/
|
|
1369
|
-
500: ApiErrorEnvelope;
|
|
1370
|
-
};
|
|
1371
|
-
|
|
1372
|
-
export type AgentsVersionsListError = AgentsVersionsListErrors[keyof AgentsVersionsListErrors];
|
|
1373
|
-
|
|
1374
|
-
export type AgentsVersionsListResponses = {
|
|
1375
|
-
/**
|
|
1376
|
-
* Agent versions
|
|
1377
|
-
*/
|
|
1378
|
-
200: ListAgentVersionsResponse;
|
|
1379
|
-
};
|
|
1380
|
-
|
|
1381
|
-
export type AgentsVersionsListResponse = AgentsVersionsListResponses[keyof AgentsVersionsListResponses];
|
|
1382
|
-
|
|
1383
|
-
export type AgentsListData = {
|
|
1384
|
-
body?: never;
|
|
1385
|
-
path?: never;
|
|
1386
|
-
query?: {
|
|
1387
|
-
/**
|
|
1388
|
-
* Substring match against agent fields
|
|
1389
|
-
*/
|
|
1390
|
-
search?: string;
|
|
1391
|
-
/**
|
|
1392
|
-
* Return a single agent by slug
|
|
1393
|
-
*/
|
|
1394
|
-
slug?: string;
|
|
1395
|
-
limit?: number;
|
|
1396
|
-
offset?: number;
|
|
1397
|
-
includeArchived?: boolean;
|
|
1398
|
-
};
|
|
1399
|
-
url: '/api/v1/agents';
|
|
1400
|
-
};
|
|
1401
|
-
|
|
1402
|
-
export type AgentsListErrors = {
|
|
1403
|
-
/**
|
|
1404
|
-
* Validation error. Request shape did not match the spec.
|
|
1405
|
-
*/
|
|
1406
|
-
400: ApiErrorEnvelope;
|
|
1407
|
-
/**
|
|
1408
|
-
* Missing or invalid API key
|
|
1409
|
-
*/
|
|
1410
|
-
401: ApiErrorEnvelope;
|
|
1411
|
-
/**
|
|
1412
|
-
* API key lacks required scope
|
|
1413
|
-
*/
|
|
1414
|
-
403: ApiErrorEnvelope;
|
|
1415
|
-
/**
|
|
1416
|
-
* Resource not found
|
|
1417
|
-
*/
|
|
1418
|
-
404: ApiErrorEnvelope;
|
|
1123
|
+
413: ApiErrorEnvelope;
|
|
1419
1124
|
/**
|
|
1420
1125
|
* Rate limit exceeded
|
|
1421
1126
|
*/
|
|
@@ -1426,25 +1131,28 @@ export type AgentsListErrors = {
|
|
|
1426
1131
|
500: ApiErrorEnvelope;
|
|
1427
1132
|
};
|
|
1428
1133
|
|
|
1429
|
-
export type
|
|
1134
|
+
export type AutomationsExamplesDeleteError = AutomationsExamplesDeleteErrors[keyof AutomationsExamplesDeleteErrors];
|
|
1430
1135
|
|
|
1431
|
-
export type
|
|
1136
|
+
export type AutomationsExamplesDeleteResponses = {
|
|
1432
1137
|
/**
|
|
1433
|
-
*
|
|
1138
|
+
* Deleted example
|
|
1434
1139
|
*/
|
|
1435
|
-
200:
|
|
1140
|
+
200: DatasetExample;
|
|
1436
1141
|
};
|
|
1437
1142
|
|
|
1438
|
-
export type
|
|
1143
|
+
export type AutomationsExamplesDeleteResponse = AutomationsExamplesDeleteResponses[keyof AutomationsExamplesDeleteResponses];
|
|
1439
1144
|
|
|
1440
|
-
export type
|
|
1441
|
-
body
|
|
1442
|
-
path
|
|
1145
|
+
export type AutomationsExamplesGetData = {
|
|
1146
|
+
body?: never;
|
|
1147
|
+
path: {
|
|
1148
|
+
id: string;
|
|
1149
|
+
exampleId: string;
|
|
1150
|
+
};
|
|
1443
1151
|
query?: never;
|
|
1444
|
-
url: '/api/v1/
|
|
1152
|
+
url: '/api/v1/automations/{id}/examples/{exampleId}';
|
|
1445
1153
|
};
|
|
1446
1154
|
|
|
1447
|
-
export type
|
|
1155
|
+
export type AutomationsExamplesGetErrors = {
|
|
1448
1156
|
/**
|
|
1449
1157
|
* Validation error. Request shape did not match the spec.
|
|
1450
1158
|
*/
|
|
@@ -1462,50 +1170,9 @@ export type AgentsCreateErrors = {
|
|
|
1462
1170
|
*/
|
|
1463
1171
|
404: ApiErrorEnvelope;
|
|
1464
1172
|
/**
|
|
1465
|
-
*
|
|
1173
|
+
* Payload too large. Upload exceeded the per-request size cap.
|
|
1466
1174
|
*/
|
|
1467
|
-
|
|
1468
|
-
/**
|
|
1469
|
-
* Internal server error
|
|
1470
|
-
*/
|
|
1471
|
-
500: ApiErrorEnvelope;
|
|
1472
|
-
};
|
|
1473
|
-
|
|
1474
|
-
export type AgentsCreateError = AgentsCreateErrors[keyof AgentsCreateErrors];
|
|
1475
|
-
|
|
1476
|
-
export type AgentsCreateResponses = {
|
|
1477
|
-
/**
|
|
1478
|
-
* Created agent
|
|
1479
|
-
*/
|
|
1480
|
-
201: CreateAgentResponse;
|
|
1481
|
-
};
|
|
1482
|
-
|
|
1483
|
-
export type AgentsCreateResponse = AgentsCreateResponses[keyof AgentsCreateResponses];
|
|
1484
|
-
|
|
1485
|
-
export type AgentsTriggersEmailListData = {
|
|
1486
|
-
body?: never;
|
|
1487
|
-
path?: never;
|
|
1488
|
-
query?: never;
|
|
1489
|
-
url: '/api/v1/agents/triggers/email';
|
|
1490
|
-
};
|
|
1491
|
-
|
|
1492
|
-
export type AgentsTriggersEmailListErrors = {
|
|
1493
|
-
/**
|
|
1494
|
-
* Validation error. Request shape did not match the spec.
|
|
1495
|
-
*/
|
|
1496
|
-
400: ApiErrorEnvelope;
|
|
1497
|
-
/**
|
|
1498
|
-
* Missing or invalid API key
|
|
1499
|
-
*/
|
|
1500
|
-
401: ApiErrorEnvelope;
|
|
1501
|
-
/**
|
|
1502
|
-
* API key lacks required scope
|
|
1503
|
-
*/
|
|
1504
|
-
403: ApiErrorEnvelope;
|
|
1505
|
-
/**
|
|
1506
|
-
* Resource not found
|
|
1507
|
-
*/
|
|
1508
|
-
404: ApiErrorEnvelope;
|
|
1175
|
+
413: ApiErrorEnvelope;
|
|
1509
1176
|
/**
|
|
1510
1177
|
* Rate limit exceeded
|
|
1511
1178
|
*/
|
|
@@ -1516,29 +1183,28 @@ export type AgentsTriggersEmailListErrors = {
|
|
|
1516
1183
|
500: ApiErrorEnvelope;
|
|
1517
1184
|
};
|
|
1518
1185
|
|
|
1519
|
-
export type
|
|
1186
|
+
export type AutomationsExamplesGetError = AutomationsExamplesGetErrors[keyof AutomationsExamplesGetErrors];
|
|
1520
1187
|
|
|
1521
|
-
export type
|
|
1188
|
+
export type AutomationsExamplesGetResponses = {
|
|
1522
1189
|
/**
|
|
1523
|
-
*
|
|
1190
|
+
* Example
|
|
1524
1191
|
*/
|
|
1525
|
-
200:
|
|
1526
|
-
emails: Array<unknown>;
|
|
1527
|
-
};
|
|
1192
|
+
200: DatasetExample;
|
|
1528
1193
|
};
|
|
1529
1194
|
|
|
1530
|
-
export type
|
|
1195
|
+
export type AutomationsExamplesGetResponse = AutomationsExamplesGetResponses[keyof AutomationsExamplesGetResponses];
|
|
1531
1196
|
|
|
1532
|
-
export type
|
|
1533
|
-
body
|
|
1197
|
+
export type AutomationsExamplesUpdateData = {
|
|
1198
|
+
body: DatasetExampleUpdate;
|
|
1534
1199
|
path: {
|
|
1535
|
-
|
|
1200
|
+
id: string;
|
|
1201
|
+
exampleId: string;
|
|
1536
1202
|
};
|
|
1537
1203
|
query?: never;
|
|
1538
|
-
url: '/api/v1/automations/{
|
|
1204
|
+
url: '/api/v1/automations/{id}/examples/{exampleId}';
|
|
1539
1205
|
};
|
|
1540
1206
|
|
|
1541
|
-
export type
|
|
1207
|
+
export type AutomationsExamplesUpdateErrors = {
|
|
1542
1208
|
/**
|
|
1543
1209
|
* Validation error. Request shape did not match the spec.
|
|
1544
1210
|
*/
|
|
@@ -1556,108 +1222,41 @@ export type AutomationsSyncErrors = {
|
|
|
1556
1222
|
*/
|
|
1557
1223
|
404: ApiErrorEnvelope;
|
|
1558
1224
|
/**
|
|
1559
|
-
*
|
|
1225
|
+
* Payload too large. Upload exceeded the per-request size cap.
|
|
1560
1226
|
*/
|
|
1561
|
-
|
|
1562
|
-
/**
|
|
1563
|
-
* Internal server error
|
|
1564
|
-
*/
|
|
1565
|
-
500: ApiErrorEnvelope;
|
|
1566
|
-
};
|
|
1567
|
-
|
|
1568
|
-
export type AutomationsSyncError = AutomationsSyncErrors[keyof AutomationsSyncErrors];
|
|
1569
|
-
|
|
1570
|
-
export type AutomationsSyncResponses = {
|
|
1571
|
-
/**
|
|
1572
|
-
* Automation synced
|
|
1573
|
-
*/
|
|
1574
|
-
200: AutomationSyncResponse;
|
|
1575
|
-
};
|
|
1576
|
-
|
|
1577
|
-
export type AutomationsSyncResponse = AutomationsSyncResponses[keyof AutomationsSyncResponses];
|
|
1578
|
-
|
|
1579
|
-
export type RunsListData = {
|
|
1580
|
-
body?: never;
|
|
1581
|
-
path?: never;
|
|
1582
|
-
query?: {
|
|
1583
|
-
type?: string;
|
|
1584
|
-
source?: string;
|
|
1585
|
-
status?: string;
|
|
1586
|
-
trigger?: string;
|
|
1587
|
-
triggeredBy?: string;
|
|
1588
|
-
sourceRef?: string;
|
|
1589
|
-
batchId?: string;
|
|
1590
|
-
exampleId?: string;
|
|
1591
|
-
exampleIdContains?: string;
|
|
1592
|
-
from?: string;
|
|
1593
|
-
to?: string;
|
|
1594
|
-
createdAfter?: string;
|
|
1595
|
-
createdBefore?: string;
|
|
1596
|
-
completedAfter?: string;
|
|
1597
|
-
completedBefore?: string;
|
|
1598
|
-
cursor?: string;
|
|
1599
|
-
offset?: number;
|
|
1600
|
-
limit?: number;
|
|
1601
|
-
ids?: string;
|
|
1602
|
-
};
|
|
1603
|
-
url: '/api/v1/runs';
|
|
1604
|
-
};
|
|
1605
|
-
|
|
1606
|
-
export type RunsListErrors = {
|
|
1607
|
-
/**
|
|
1608
|
-
* Validation error. Request shape did not match the spec.
|
|
1609
|
-
*/
|
|
1610
|
-
400: ApiErrorEnvelope;
|
|
1611
|
-
/**
|
|
1612
|
-
* Missing or invalid API key
|
|
1613
|
-
*/
|
|
1614
|
-
401: ApiErrorEnvelope;
|
|
1615
|
-
/**
|
|
1616
|
-
* API key lacks required scope
|
|
1617
|
-
*/
|
|
1618
|
-
403: ApiErrorEnvelope;
|
|
1619
|
-
/**
|
|
1620
|
-
* Resource not found
|
|
1621
|
-
*/
|
|
1622
|
-
404: ApiErrorEnvelope;
|
|
1227
|
+
413: ApiErrorEnvelope;
|
|
1623
1228
|
/**
|
|
1624
1229
|
* Rate limit exceeded
|
|
1625
1230
|
*/
|
|
1626
1231
|
429: ApiErrorEnvelope;
|
|
1627
1232
|
/**
|
|
1628
1233
|
* Internal server error
|
|
1629
|
-
*/
|
|
1630
|
-
500: ApiErrorEnvelope;
|
|
1631
|
-
};
|
|
1632
|
-
|
|
1633
|
-
export type
|
|
1634
|
-
|
|
1635
|
-
export type
|
|
1636
|
-
/**
|
|
1637
|
-
*
|
|
1638
|
-
*/
|
|
1639
|
-
200:
|
|
1640
|
-
};
|
|
1641
|
-
|
|
1642
|
-
export type
|
|
1643
|
-
|
|
1644
|
-
export type
|
|
1645
|
-
body
|
|
1646
|
-
path
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
* Release or git ref. Defaults to latest.
|
|
1650
|
-
*/
|
|
1651
|
-
version?: string;
|
|
1652
|
-
/**
|
|
1653
|
-
* Seconds to wait before returning (max 600). Omit for async.
|
|
1654
|
-
*/
|
|
1655
|
-
wait_for_completion?: number;
|
|
1234
|
+
*/
|
|
1235
|
+
500: ApiErrorEnvelope;
|
|
1236
|
+
};
|
|
1237
|
+
|
|
1238
|
+
export type AutomationsExamplesUpdateError = AutomationsExamplesUpdateErrors[keyof AutomationsExamplesUpdateErrors];
|
|
1239
|
+
|
|
1240
|
+
export type AutomationsExamplesUpdateResponses = {
|
|
1241
|
+
/**
|
|
1242
|
+
* Updated example
|
|
1243
|
+
*/
|
|
1244
|
+
200: DatasetExample;
|
|
1245
|
+
};
|
|
1246
|
+
|
|
1247
|
+
export type AutomationsExamplesUpdateResponse = AutomationsExamplesUpdateResponses[keyof AutomationsExamplesUpdateResponses];
|
|
1248
|
+
|
|
1249
|
+
export type AutomationsExamplesRunData = {
|
|
1250
|
+
body?: never;
|
|
1251
|
+
path: {
|
|
1252
|
+
id: string;
|
|
1253
|
+
exampleId: string;
|
|
1656
1254
|
};
|
|
1657
|
-
|
|
1255
|
+
query?: never;
|
|
1256
|
+
url: '/api/v1/automations/{id}/examples/{exampleId}/run';
|
|
1658
1257
|
};
|
|
1659
1258
|
|
|
1660
|
-
export type
|
|
1259
|
+
export type AutomationsExamplesRunErrors = {
|
|
1661
1260
|
/**
|
|
1662
1261
|
* Validation error. Request shape did not match the spec.
|
|
1663
1262
|
*/
|
|
@@ -1667,13 +1266,17 @@ export type RunsStartErrors = {
|
|
|
1667
1266
|
*/
|
|
1668
1267
|
401: ApiErrorEnvelope;
|
|
1669
1268
|
/**
|
|
1670
|
-
*
|
|
1269
|
+
* API key lacks required scope
|
|
1671
1270
|
*/
|
|
1672
1271
|
403: ApiErrorEnvelope;
|
|
1673
1272
|
/**
|
|
1674
1273
|
* Resource not found
|
|
1675
1274
|
*/
|
|
1676
1275
|
404: ApiErrorEnvelope;
|
|
1276
|
+
/**
|
|
1277
|
+
* Payload too large. Upload exceeded the per-request size cap.
|
|
1278
|
+
*/
|
|
1279
|
+
413: ApiErrorEnvelope;
|
|
1677
1280
|
/**
|
|
1678
1281
|
* Rate limit exceeded
|
|
1679
1282
|
*/
|
|
@@ -1684,36 +1287,30 @@ export type RunsStartErrors = {
|
|
|
1684
1287
|
500: ApiErrorEnvelope;
|
|
1685
1288
|
};
|
|
1686
1289
|
|
|
1687
|
-
export type
|
|
1290
|
+
export type AutomationsExamplesRunError = AutomationsExamplesRunErrors[keyof AutomationsExamplesRunErrors];
|
|
1688
1291
|
|
|
1689
|
-
export type
|
|
1690
|
-
/**
|
|
1691
|
-
* Run completed while waiting — same body as GET /api/v1/runs/:id
|
|
1692
|
-
*/
|
|
1693
|
-
200: RunStartResponse;
|
|
1694
|
-
/**
|
|
1695
|
-
* Run accepted (async)
|
|
1696
|
-
*/
|
|
1697
|
-
201: RunStartResponse;
|
|
1292
|
+
export type AutomationsExamplesRunResponses = {
|
|
1698
1293
|
/**
|
|
1699
|
-
*
|
|
1294
|
+
* Example run accepted
|
|
1700
1295
|
*/
|
|
1701
|
-
|
|
1296
|
+
201: ExampleRunResponse;
|
|
1702
1297
|
};
|
|
1703
1298
|
|
|
1704
|
-
export type
|
|
1299
|
+
export type AutomationsExamplesRunResponse = AutomationsExamplesRunResponses[keyof AutomationsExamplesRunResponses];
|
|
1705
1300
|
|
|
1706
|
-
export type
|
|
1301
|
+
export type AutomationsExamplesListData = {
|
|
1707
1302
|
body?: never;
|
|
1708
1303
|
path: {
|
|
1709
1304
|
id: string;
|
|
1710
|
-
path: string;
|
|
1711
1305
|
};
|
|
1712
|
-
query?:
|
|
1713
|
-
|
|
1306
|
+
query?: {
|
|
1307
|
+
limit?: number;
|
|
1308
|
+
offset?: number;
|
|
1309
|
+
};
|
|
1310
|
+
url: '/api/v1/automations/{id}/examples';
|
|
1714
1311
|
};
|
|
1715
1312
|
|
|
1716
|
-
export type
|
|
1313
|
+
export type AutomationsExamplesListErrors = {
|
|
1717
1314
|
/**
|
|
1718
1315
|
* Validation error. Request shape did not match the spec.
|
|
1719
1316
|
*/
|
|
@@ -1730,6 +1327,10 @@ export type RunsArtifactsGetErrors = {
|
|
|
1730
1327
|
* Resource not found
|
|
1731
1328
|
*/
|
|
1732
1329
|
404: ApiErrorEnvelope;
|
|
1330
|
+
/**
|
|
1331
|
+
* Payload too large. Upload exceeded the per-request size cap.
|
|
1332
|
+
*/
|
|
1333
|
+
413: ApiErrorEnvelope;
|
|
1733
1334
|
/**
|
|
1734
1335
|
* Rate limit exceeded
|
|
1735
1336
|
*/
|
|
@@ -1740,28 +1341,27 @@ export type RunsArtifactsGetErrors = {
|
|
|
1740
1341
|
500: ApiErrorEnvelope;
|
|
1741
1342
|
};
|
|
1742
1343
|
|
|
1743
|
-
export type
|
|
1344
|
+
export type AutomationsExamplesListError = AutomationsExamplesListErrors[keyof AutomationsExamplesListErrors];
|
|
1744
1345
|
|
|
1745
|
-
export type
|
|
1346
|
+
export type AutomationsExamplesListResponses = {
|
|
1746
1347
|
/**
|
|
1747
|
-
*
|
|
1348
|
+
* Examples
|
|
1748
1349
|
*/
|
|
1749
|
-
200:
|
|
1350
|
+
200: DatasetExampleList;
|
|
1750
1351
|
};
|
|
1751
1352
|
|
|
1752
|
-
export type
|
|
1753
|
-
|
|
1353
|
+
export type AutomationsExamplesListResponse = AutomationsExamplesListResponses[keyof AutomationsExamplesListResponses];
|
|
1354
|
+
|
|
1355
|
+
export type AutomationsExamplesCreateData = {
|
|
1356
|
+
body: DatasetExampleMutation;
|
|
1754
1357
|
path: {
|
|
1755
|
-
/**
|
|
1756
|
-
* Run id
|
|
1757
|
-
*/
|
|
1758
1358
|
id: string;
|
|
1759
1359
|
};
|
|
1760
1360
|
query?: never;
|
|
1761
|
-
url: '/api/v1/
|
|
1361
|
+
url: '/api/v1/automations/{id}/examples';
|
|
1762
1362
|
};
|
|
1763
1363
|
|
|
1764
|
-
export type
|
|
1364
|
+
export type AutomationsExamplesCreateErrors = {
|
|
1765
1365
|
/**
|
|
1766
1366
|
* Validation error. Request shape did not match the spec.
|
|
1767
1367
|
*/
|
|
@@ -1778,6 +1378,10 @@ export type RunsArtifactsListErrors = {
|
|
|
1778
1378
|
* Resource not found
|
|
1779
1379
|
*/
|
|
1780
1380
|
404: ApiErrorEnvelope;
|
|
1381
|
+
/**
|
|
1382
|
+
* Payload too large. Upload exceeded the per-request size cap.
|
|
1383
|
+
*/
|
|
1384
|
+
413: ApiErrorEnvelope;
|
|
1781
1385
|
/**
|
|
1782
1386
|
* Rate limit exceeded
|
|
1783
1387
|
*/
|
|
@@ -1788,27 +1392,30 @@ export type RunsArtifactsListErrors = {
|
|
|
1788
1392
|
500: ApiErrorEnvelope;
|
|
1789
1393
|
};
|
|
1790
1394
|
|
|
1791
|
-
export type
|
|
1395
|
+
export type AutomationsExamplesCreateError = AutomationsExamplesCreateErrors[keyof AutomationsExamplesCreateErrors];
|
|
1792
1396
|
|
|
1793
|
-
export type
|
|
1397
|
+
export type AutomationsExamplesCreateResponses = {
|
|
1794
1398
|
/**
|
|
1795
|
-
*
|
|
1399
|
+
* Created example
|
|
1796
1400
|
*/
|
|
1797
|
-
|
|
1401
|
+
201: DatasetExample;
|
|
1798
1402
|
};
|
|
1799
1403
|
|
|
1800
|
-
export type
|
|
1404
|
+
export type AutomationsExamplesCreateResponse = AutomationsExamplesCreateResponses[keyof AutomationsExamplesCreateResponses];
|
|
1801
1405
|
|
|
1802
|
-
export type
|
|
1406
|
+
export type AutomationsExperimentsListData = {
|
|
1803
1407
|
body?: never;
|
|
1804
1408
|
path: {
|
|
1805
1409
|
id: string;
|
|
1806
1410
|
};
|
|
1807
|
-
query?:
|
|
1808
|
-
|
|
1411
|
+
query?: {
|
|
1412
|
+
limit?: number;
|
|
1413
|
+
offset?: number;
|
|
1414
|
+
};
|
|
1415
|
+
url: '/api/v1/automations/{id}/experiments';
|
|
1809
1416
|
};
|
|
1810
1417
|
|
|
1811
|
-
export type
|
|
1418
|
+
export type AutomationsExperimentsListErrors = {
|
|
1812
1419
|
/**
|
|
1813
1420
|
* Validation error. Request shape did not match the spec.
|
|
1814
1421
|
*/
|
|
@@ -1825,6 +1432,10 @@ export type RunsCancelErrors = {
|
|
|
1825
1432
|
* Resource not found
|
|
1826
1433
|
*/
|
|
1827
1434
|
404: ApiErrorEnvelope;
|
|
1435
|
+
/**
|
|
1436
|
+
* Payload too large. Upload exceeded the per-request size cap.
|
|
1437
|
+
*/
|
|
1438
|
+
413: ApiErrorEnvelope;
|
|
1828
1439
|
/**
|
|
1829
1440
|
* Rate limit exceeded
|
|
1830
1441
|
*/
|
|
@@ -1835,27 +1446,32 @@ export type RunsCancelErrors = {
|
|
|
1835
1446
|
500: ApiErrorEnvelope;
|
|
1836
1447
|
};
|
|
1837
1448
|
|
|
1838
|
-
export type
|
|
1449
|
+
export type AutomationsExperimentsListError = AutomationsExperimentsListErrors[keyof AutomationsExperimentsListErrors];
|
|
1839
1450
|
|
|
1840
|
-
export type
|
|
1451
|
+
export type AutomationsExperimentsListResponses = {
|
|
1841
1452
|
/**
|
|
1842
|
-
*
|
|
1453
|
+
* Experiments
|
|
1843
1454
|
*/
|
|
1844
|
-
200:
|
|
1455
|
+
200: {
|
|
1456
|
+
data: Array<Experiment>;
|
|
1457
|
+
total: number;
|
|
1458
|
+
limit: number;
|
|
1459
|
+
offset: number;
|
|
1460
|
+
};
|
|
1845
1461
|
};
|
|
1846
1462
|
|
|
1847
|
-
export type
|
|
1463
|
+
export type AutomationsExperimentsListResponse = AutomationsExperimentsListResponses[keyof AutomationsExperimentsListResponses];
|
|
1848
1464
|
|
|
1849
|
-
export type
|
|
1850
|
-
body
|
|
1465
|
+
export type AutomationsExperimentsCreateData = {
|
|
1466
|
+
body: ExperimentCreate;
|
|
1851
1467
|
path: {
|
|
1852
1468
|
id: string;
|
|
1853
1469
|
};
|
|
1854
1470
|
query?: never;
|
|
1855
|
-
url: '/api/v1/
|
|
1471
|
+
url: '/api/v1/automations/{id}/experiments';
|
|
1856
1472
|
};
|
|
1857
1473
|
|
|
1858
|
-
export type
|
|
1474
|
+
export type AutomationsExperimentsCreateErrors = {
|
|
1859
1475
|
/**
|
|
1860
1476
|
* Validation error. Request shape did not match the spec.
|
|
1861
1477
|
*/
|
|
@@ -1872,6 +1488,10 @@ export type RunsComparisonGetErrors = {
|
|
|
1872
1488
|
* Resource not found
|
|
1873
1489
|
*/
|
|
1874
1490
|
404: ApiErrorEnvelope;
|
|
1491
|
+
/**
|
|
1492
|
+
* Payload too large. Upload exceeded the per-request size cap.
|
|
1493
|
+
*/
|
|
1494
|
+
413: ApiErrorEnvelope;
|
|
1875
1495
|
/**
|
|
1876
1496
|
* Rate limit exceeded
|
|
1877
1497
|
*/
|
|
@@ -1882,29 +1502,28 @@ export type RunsComparisonGetErrors = {
|
|
|
1882
1502
|
500: ApiErrorEnvelope;
|
|
1883
1503
|
};
|
|
1884
1504
|
|
|
1885
|
-
export type
|
|
1505
|
+
export type AutomationsExperimentsCreateError = AutomationsExperimentsCreateErrors[keyof AutomationsExperimentsCreateErrors];
|
|
1886
1506
|
|
|
1887
|
-
export type
|
|
1507
|
+
export type AutomationsExperimentsCreateResponses = {
|
|
1888
1508
|
/**
|
|
1889
|
-
*
|
|
1509
|
+
* Experiment accepted
|
|
1890
1510
|
*/
|
|
1891
|
-
|
|
1892
|
-
[key: string]: unknown;
|
|
1893
|
-
};
|
|
1511
|
+
202: ExperimentCreateResponse;
|
|
1894
1512
|
};
|
|
1895
1513
|
|
|
1896
|
-
export type
|
|
1514
|
+
export type AutomationsExperimentsCreateResponse = AutomationsExperimentsCreateResponses[keyof AutomationsExperimentsCreateResponses];
|
|
1897
1515
|
|
|
1898
|
-
export type
|
|
1516
|
+
export type AutomationsExperimentsCancelData = {
|
|
1899
1517
|
body?: never;
|
|
1900
1518
|
path: {
|
|
1901
1519
|
id: string;
|
|
1520
|
+
experimentId: string;
|
|
1902
1521
|
};
|
|
1903
1522
|
query?: never;
|
|
1904
|
-
url: '/api/v1/
|
|
1523
|
+
url: '/api/v1/automations/{id}/experiments/{experimentId}/cancel';
|
|
1905
1524
|
};
|
|
1906
1525
|
|
|
1907
|
-
export type
|
|
1526
|
+
export type AutomationsExperimentsCancelErrors = {
|
|
1908
1527
|
/**
|
|
1909
1528
|
* Validation error. Request shape did not match the spec.
|
|
1910
1529
|
*/
|
|
@@ -1921,6 +1540,10 @@ export type RunsConnectErrors = {
|
|
|
1921
1540
|
* Resource not found
|
|
1922
1541
|
*/
|
|
1923
1542
|
404: ApiErrorEnvelope;
|
|
1543
|
+
/**
|
|
1544
|
+
* Payload too large. Upload exceeded the per-request size cap.
|
|
1545
|
+
*/
|
|
1546
|
+
413: ApiErrorEnvelope;
|
|
1924
1547
|
/**
|
|
1925
1548
|
* Rate limit exceeded
|
|
1926
1549
|
*/
|
|
@@ -1931,32 +1554,28 @@ export type RunsConnectErrors = {
|
|
|
1931
1554
|
500: ApiErrorEnvelope;
|
|
1932
1555
|
};
|
|
1933
1556
|
|
|
1934
|
-
export type
|
|
1557
|
+
export type AutomationsExperimentsCancelError = AutomationsExperimentsCancelErrors[keyof AutomationsExperimentsCancelErrors];
|
|
1935
1558
|
|
|
1936
|
-
export type
|
|
1559
|
+
export type AutomationsExperimentsCancelResponses = {
|
|
1937
1560
|
/**
|
|
1938
|
-
*
|
|
1561
|
+
* Experiment after cancellation request
|
|
1939
1562
|
*/
|
|
1940
|
-
200:
|
|
1941
|
-
[key: string]: unknown;
|
|
1942
|
-
};
|
|
1563
|
+
200: ExperimentDetail;
|
|
1943
1564
|
};
|
|
1944
1565
|
|
|
1945
|
-
export type
|
|
1566
|
+
export type AutomationsExperimentsCancelResponse = AutomationsExperimentsCancelResponses[keyof AutomationsExperimentsCancelResponses];
|
|
1946
1567
|
|
|
1947
|
-
export type
|
|
1568
|
+
export type AutomationsExperimentsGetData = {
|
|
1948
1569
|
body?: never;
|
|
1949
1570
|
path: {
|
|
1950
|
-
/**
|
|
1951
|
-
* Run id
|
|
1952
|
-
*/
|
|
1953
1571
|
id: string;
|
|
1572
|
+
experimentId: string;
|
|
1954
1573
|
};
|
|
1955
1574
|
query?: never;
|
|
1956
|
-
url: '/api/v1/
|
|
1575
|
+
url: '/api/v1/automations/{id}/experiments/{experimentId}';
|
|
1957
1576
|
};
|
|
1958
1577
|
|
|
1959
|
-
export type
|
|
1578
|
+
export type AutomationsExperimentsGetErrors = {
|
|
1960
1579
|
/**
|
|
1961
1580
|
* Validation error. Request shape did not match the spec.
|
|
1962
1581
|
*/
|
|
@@ -1973,6 +1592,10 @@ export type RunsDefinitionGetErrors = {
|
|
|
1973
1592
|
* Resource not found
|
|
1974
1593
|
*/
|
|
1975
1594
|
404: ApiErrorEnvelope;
|
|
1595
|
+
/**
|
|
1596
|
+
* Payload too large. Upload exceeded the per-request size cap.
|
|
1597
|
+
*/
|
|
1598
|
+
413: ApiErrorEnvelope;
|
|
1976
1599
|
/**
|
|
1977
1600
|
* Rate limit exceeded
|
|
1978
1601
|
*/
|
|
@@ -1983,28 +1606,30 @@ export type RunsDefinitionGetErrors = {
|
|
|
1983
1606
|
500: ApiErrorEnvelope;
|
|
1984
1607
|
};
|
|
1985
1608
|
|
|
1986
|
-
export type
|
|
1609
|
+
export type AutomationsExperimentsGetError = AutomationsExperimentsGetErrors[keyof AutomationsExperimentsGetErrors];
|
|
1987
1610
|
|
|
1988
|
-
export type
|
|
1611
|
+
export type AutomationsExperimentsGetResponses = {
|
|
1989
1612
|
/**
|
|
1990
|
-
*
|
|
1613
|
+
* Experiment detail
|
|
1991
1614
|
*/
|
|
1992
|
-
200:
|
|
1615
|
+
200: ExperimentDetail;
|
|
1993
1616
|
};
|
|
1994
1617
|
|
|
1995
|
-
export type
|
|
1618
|
+
export type AutomationsExperimentsGetResponse = AutomationsExperimentsGetResponses[keyof AutomationsExperimentsGetResponses];
|
|
1996
1619
|
|
|
1997
|
-
export type
|
|
1620
|
+
export type AutomationsGetData = {
|
|
1998
1621
|
body?: never;
|
|
1999
1622
|
path: {
|
|
1623
|
+
/**
|
|
1624
|
+
* Workflow id, agent id, or typed alias like workflows.slug / agents.slug
|
|
1625
|
+
*/
|
|
2000
1626
|
id: string;
|
|
2001
|
-
filename: string;
|
|
2002
1627
|
};
|
|
2003
1628
|
query?: never;
|
|
2004
|
-
url: '/api/v1/
|
|
1629
|
+
url: '/api/v1/automations/{id}';
|
|
2005
1630
|
};
|
|
2006
1631
|
|
|
2007
|
-
export type
|
|
1632
|
+
export type AutomationsGetErrors = {
|
|
2008
1633
|
/**
|
|
2009
1634
|
* Validation error. Request shape did not match the spec.
|
|
2010
1635
|
*/
|
|
@@ -2021,6 +1646,10 @@ export type RunsExpectedFileDeleteErrors = {
|
|
|
2021
1646
|
* Resource not found
|
|
2022
1647
|
*/
|
|
2023
1648
|
404: ApiErrorEnvelope;
|
|
1649
|
+
/**
|
|
1650
|
+
* Payload too large. Upload exceeded the per-request size cap.
|
|
1651
|
+
*/
|
|
1652
|
+
413: ApiErrorEnvelope;
|
|
2024
1653
|
/**
|
|
2025
1654
|
* Rate limit exceeded
|
|
2026
1655
|
*/
|
|
@@ -2031,28 +1660,30 @@ export type RunsExpectedFileDeleteErrors = {
|
|
|
2031
1660
|
500: ApiErrorEnvelope;
|
|
2032
1661
|
};
|
|
2033
1662
|
|
|
2034
|
-
export type
|
|
1663
|
+
export type AutomationsGetError = AutomationsGetErrors[keyof AutomationsGetErrors];
|
|
2035
1664
|
|
|
2036
|
-
export type
|
|
1665
|
+
export type AutomationsGetResponses = {
|
|
2037
1666
|
/**
|
|
2038
|
-
*
|
|
1667
|
+
* Automation
|
|
2039
1668
|
*/
|
|
2040
|
-
|
|
1669
|
+
200: AutomationDetail;
|
|
2041
1670
|
};
|
|
2042
1671
|
|
|
2043
|
-
export type
|
|
1672
|
+
export type AutomationsGetResponse = AutomationsGetResponses[keyof AutomationsGetResponses];
|
|
2044
1673
|
|
|
2045
|
-
export type
|
|
1674
|
+
export type AutomationsTriggersGetData = {
|
|
2046
1675
|
body?: never;
|
|
2047
1676
|
path: {
|
|
1677
|
+
/**
|
|
1678
|
+
* Workflow id, agent id, or typed alias like workflows.slug / agents.slug
|
|
1679
|
+
*/
|
|
2048
1680
|
id: string;
|
|
2049
|
-
filename: string;
|
|
2050
1681
|
};
|
|
2051
1682
|
query?: never;
|
|
2052
|
-
url: '/api/v1/
|
|
1683
|
+
url: '/api/v1/automations/{id}/triggers';
|
|
2053
1684
|
};
|
|
2054
1685
|
|
|
2055
|
-
export type
|
|
1686
|
+
export type AutomationsTriggersGetErrors = {
|
|
2056
1687
|
/**
|
|
2057
1688
|
* Validation error. Request shape did not match the spec.
|
|
2058
1689
|
*/
|
|
@@ -2069,6 +1700,10 @@ export type RunsExpectedFileGetErrors = {
|
|
|
2069
1700
|
* Resource not found
|
|
2070
1701
|
*/
|
|
2071
1702
|
404: ApiErrorEnvelope;
|
|
1703
|
+
/**
|
|
1704
|
+
* Payload too large. Upload exceeded the per-request size cap.
|
|
1705
|
+
*/
|
|
1706
|
+
413: ApiErrorEnvelope;
|
|
2072
1707
|
/**
|
|
2073
1708
|
* Rate limit exceeded
|
|
2074
1709
|
*/
|
|
@@ -2079,28 +1714,30 @@ export type RunsExpectedFileGetErrors = {
|
|
|
2079
1714
|
500: ApiErrorEnvelope;
|
|
2080
1715
|
};
|
|
2081
1716
|
|
|
2082
|
-
export type
|
|
1717
|
+
export type AutomationsTriggersGetError = AutomationsTriggersGetErrors[keyof AutomationsTriggersGetErrors];
|
|
2083
1718
|
|
|
2084
|
-
export type
|
|
1719
|
+
export type AutomationsTriggersGetResponses = {
|
|
2085
1720
|
/**
|
|
2086
|
-
*
|
|
1721
|
+
* Automation trigger state
|
|
2087
1722
|
*/
|
|
2088
|
-
200:
|
|
1723
|
+
200: AutomationTriggersResponse;
|
|
2089
1724
|
};
|
|
2090
1725
|
|
|
2091
|
-
export type
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
1726
|
+
export type AutomationsTriggersGetResponse = AutomationsTriggersGetResponses[keyof AutomationsTriggersGetResponses];
|
|
1727
|
+
|
|
1728
|
+
export type AutomationsVersionsListData = {
|
|
1729
|
+
body?: never;
|
|
2095
1730
|
path: {
|
|
1731
|
+
/**
|
|
1732
|
+
* Workflow id, agent id, or typed alias like workflows.slug / agents.slug
|
|
1733
|
+
*/
|
|
2096
1734
|
id: string;
|
|
2097
|
-
filename: string;
|
|
2098
1735
|
};
|
|
2099
1736
|
query?: never;
|
|
2100
|
-
url: '/api/v1/
|
|
1737
|
+
url: '/api/v1/automations/{id}/versions';
|
|
2101
1738
|
};
|
|
2102
1739
|
|
|
2103
|
-
export type
|
|
1740
|
+
export type AutomationsVersionsListErrors = {
|
|
2104
1741
|
/**
|
|
2105
1742
|
* Validation error. Request shape did not match the spec.
|
|
2106
1743
|
*/
|
|
@@ -2117,6 +1754,10 @@ export type RunsExpectedFileUpdateErrors = {
|
|
|
2117
1754
|
* Resource not found
|
|
2118
1755
|
*/
|
|
2119
1756
|
404: ApiErrorEnvelope;
|
|
1757
|
+
/**
|
|
1758
|
+
* Payload too large. Upload exceeded the per-request size cap.
|
|
1759
|
+
*/
|
|
1760
|
+
413: ApiErrorEnvelope;
|
|
2120
1761
|
/**
|
|
2121
1762
|
* Rate limit exceeded
|
|
2122
1763
|
*/
|
|
@@ -2127,29 +1768,36 @@ export type RunsExpectedFileUpdateErrors = {
|
|
|
2127
1768
|
500: ApiErrorEnvelope;
|
|
2128
1769
|
};
|
|
2129
1770
|
|
|
2130
|
-
export type
|
|
1771
|
+
export type AutomationsVersionsListError = AutomationsVersionsListErrors[keyof AutomationsVersionsListErrors];
|
|
2131
1772
|
|
|
2132
|
-
export type
|
|
1773
|
+
export type AutomationsVersionsListResponses = {
|
|
2133
1774
|
/**
|
|
2134
|
-
*
|
|
1775
|
+
* Automation versions
|
|
2135
1776
|
*/
|
|
2136
|
-
200:
|
|
2137
|
-
[key: string]: unknown;
|
|
2138
|
-
};
|
|
1777
|
+
200: ListAutomationVersionsResponse;
|
|
2139
1778
|
};
|
|
2140
1779
|
|
|
2141
|
-
export type
|
|
1780
|
+
export type AutomationsVersionsListResponse = AutomationsVersionsListResponses[keyof AutomationsVersionsListResponses];
|
|
2142
1781
|
|
|
2143
|
-
export type
|
|
1782
|
+
export type AutomationsListData = {
|
|
2144
1783
|
body?: never;
|
|
2145
|
-
path
|
|
2146
|
-
|
|
1784
|
+
path?: never;
|
|
1785
|
+
query?: {
|
|
1786
|
+
/**
|
|
1787
|
+
* Substring match against slug, name, or description
|
|
1788
|
+
*/
|
|
1789
|
+
search?: string;
|
|
1790
|
+
/**
|
|
1791
|
+
* Filter by implementation type
|
|
1792
|
+
*/
|
|
1793
|
+
type?: 'workflow' | 'agent';
|
|
1794
|
+
limit?: number;
|
|
1795
|
+
offset?: number;
|
|
2147
1796
|
};
|
|
2148
|
-
|
|
2149
|
-
url: '/api/v1/runs/{id}/expected';
|
|
1797
|
+
url: '/api/v1/automations';
|
|
2150
1798
|
};
|
|
2151
1799
|
|
|
2152
|
-
export type
|
|
1800
|
+
export type AutomationsListErrors = {
|
|
2153
1801
|
/**
|
|
2154
1802
|
* Validation error. Request shape did not match the spec.
|
|
2155
1803
|
*/
|
|
@@ -2166,6 +1814,10 @@ export type RunsExpectedGetErrors = {
|
|
|
2166
1814
|
* Resource not found
|
|
2167
1815
|
*/
|
|
2168
1816
|
404: ApiErrorEnvelope;
|
|
1817
|
+
/**
|
|
1818
|
+
* Payload too large. Upload exceeded the per-request size cap.
|
|
1819
|
+
*/
|
|
1820
|
+
413: ApiErrorEnvelope;
|
|
2169
1821
|
/**
|
|
2170
1822
|
* Rate limit exceeded
|
|
2171
1823
|
*/
|
|
@@ -2176,31 +1828,30 @@ export type RunsExpectedGetErrors = {
|
|
|
2176
1828
|
500: ApiErrorEnvelope;
|
|
2177
1829
|
};
|
|
2178
1830
|
|
|
2179
|
-
export type
|
|
1831
|
+
export type AutomationsListError = AutomationsListErrors[keyof AutomationsListErrors];
|
|
2180
1832
|
|
|
2181
|
-
export type
|
|
1833
|
+
export type AutomationsListResponses = {
|
|
2182
1834
|
/**
|
|
2183
|
-
*
|
|
1835
|
+
* Paginated list of automations
|
|
2184
1836
|
*/
|
|
2185
|
-
200:
|
|
2186
|
-
[key: string]: unknown;
|
|
2187
|
-
};
|
|
1837
|
+
200: ListAutomationsResponse;
|
|
2188
1838
|
};
|
|
2189
1839
|
|
|
2190
|
-
export type
|
|
1840
|
+
export type AutomationsListResponse = AutomationsListResponses[keyof AutomationsListResponses];
|
|
2191
1841
|
|
|
2192
|
-
export type
|
|
2193
|
-
body
|
|
2194
|
-
[key: string]: unknown;
|
|
2195
|
-
};
|
|
1842
|
+
export type FilesContentGetData = {
|
|
1843
|
+
body?: never;
|
|
2196
1844
|
path: {
|
|
1845
|
+
/**
|
|
1846
|
+
* File id
|
|
1847
|
+
*/
|
|
2197
1848
|
id: string;
|
|
2198
1849
|
};
|
|
2199
1850
|
query?: never;
|
|
2200
|
-
url: '/api/v1/
|
|
1851
|
+
url: '/api/v1/files/{id}/content';
|
|
2201
1852
|
};
|
|
2202
1853
|
|
|
2203
|
-
export type
|
|
1854
|
+
export type FilesContentGetErrors = {
|
|
2204
1855
|
/**
|
|
2205
1856
|
* Validation error. Request shape did not match the spec.
|
|
2206
1857
|
*/
|
|
@@ -2217,6 +1868,10 @@ export type RunsExpectedCreateErrors = {
|
|
|
2217
1868
|
* Resource not found
|
|
2218
1869
|
*/
|
|
2219
1870
|
404: ApiErrorEnvelope;
|
|
1871
|
+
/**
|
|
1872
|
+
* Payload too large. Upload exceeded the per-request size cap.
|
|
1873
|
+
*/
|
|
1874
|
+
413: ApiErrorEnvelope;
|
|
2220
1875
|
/**
|
|
2221
1876
|
* Rate limit exceeded
|
|
2222
1877
|
*/
|
|
@@ -2227,29 +1882,28 @@ export type RunsExpectedCreateErrors = {
|
|
|
2227
1882
|
500: ApiErrorEnvelope;
|
|
2228
1883
|
};
|
|
2229
1884
|
|
|
2230
|
-
export type
|
|
1885
|
+
export type FilesContentGetError = FilesContentGetErrors[keyof FilesContentGetErrors];
|
|
2231
1886
|
|
|
2232
|
-
export type
|
|
1887
|
+
export type FilesContentGetResponses = {
|
|
2233
1888
|
/**
|
|
2234
|
-
*
|
|
1889
|
+
* File content
|
|
2235
1890
|
*/
|
|
2236
|
-
|
|
2237
|
-
[key: string]: unknown;
|
|
2238
|
-
};
|
|
1891
|
+
200: unknown;
|
|
2239
1892
|
};
|
|
2240
1893
|
|
|
2241
|
-
export type
|
|
2242
|
-
|
|
2243
|
-
export type RunsFeedbackClearData = {
|
|
1894
|
+
export type FilesDeleteData = {
|
|
2244
1895
|
body?: never;
|
|
2245
1896
|
path: {
|
|
1897
|
+
/**
|
|
1898
|
+
* File id
|
|
1899
|
+
*/
|
|
2246
1900
|
id: string;
|
|
2247
1901
|
};
|
|
2248
1902
|
query?: never;
|
|
2249
|
-
url: '/api/v1/
|
|
1903
|
+
url: '/api/v1/files/{id}';
|
|
2250
1904
|
};
|
|
2251
1905
|
|
|
2252
|
-
export type
|
|
1906
|
+
export type FilesDeleteErrors = {
|
|
2253
1907
|
/**
|
|
2254
1908
|
* Validation error. Request shape did not match the spec.
|
|
2255
1909
|
*/
|
|
@@ -2266,6 +1920,10 @@ export type RunsFeedbackClearErrors = {
|
|
|
2266
1920
|
* Resource not found
|
|
2267
1921
|
*/
|
|
2268
1922
|
404: ApiErrorEnvelope;
|
|
1923
|
+
/**
|
|
1924
|
+
* Payload too large. Upload exceeded the per-request size cap.
|
|
1925
|
+
*/
|
|
1926
|
+
413: ApiErrorEnvelope;
|
|
2269
1927
|
/**
|
|
2270
1928
|
* Rate limit exceeded
|
|
2271
1929
|
*/
|
|
@@ -2276,29 +1934,30 @@ export type RunsFeedbackClearErrors = {
|
|
|
2276
1934
|
500: ApiErrorEnvelope;
|
|
2277
1935
|
};
|
|
2278
1936
|
|
|
2279
|
-
export type
|
|
1937
|
+
export type FilesDeleteError = FilesDeleteErrors[keyof FilesDeleteErrors];
|
|
2280
1938
|
|
|
2281
|
-
export type
|
|
1939
|
+
export type FilesDeleteResponses = {
|
|
2282
1940
|
/**
|
|
2283
|
-
*
|
|
1941
|
+
* File deleted
|
|
2284
1942
|
*/
|
|
2285
|
-
200:
|
|
2286
|
-
[key: string]: unknown;
|
|
2287
|
-
};
|
|
1943
|
+
200: DeleteFileResponse;
|
|
2288
1944
|
};
|
|
2289
1945
|
|
|
2290
|
-
export type
|
|
1946
|
+
export type FilesDeleteResponse = FilesDeleteResponses[keyof FilesDeleteResponses];
|
|
2291
1947
|
|
|
2292
|
-
export type
|
|
1948
|
+
export type FilesGetData = {
|
|
2293
1949
|
body?: never;
|
|
2294
1950
|
path: {
|
|
1951
|
+
/**
|
|
1952
|
+
* File id
|
|
1953
|
+
*/
|
|
2295
1954
|
id: string;
|
|
2296
1955
|
};
|
|
2297
1956
|
query?: never;
|
|
2298
|
-
url: '/api/v1/
|
|
1957
|
+
url: '/api/v1/files/{id}';
|
|
2299
1958
|
};
|
|
2300
1959
|
|
|
2301
|
-
export type
|
|
1960
|
+
export type FilesGetErrors = {
|
|
2302
1961
|
/**
|
|
2303
1962
|
* Validation error. Request shape did not match the spec.
|
|
2304
1963
|
*/
|
|
@@ -2315,6 +1974,10 @@ export type RunsFeedbackGetErrors = {
|
|
|
2315
1974
|
* Resource not found
|
|
2316
1975
|
*/
|
|
2317
1976
|
404: ApiErrorEnvelope;
|
|
1977
|
+
/**
|
|
1978
|
+
* Payload too large. Upload exceeded the per-request size cap.
|
|
1979
|
+
*/
|
|
1980
|
+
413: ApiErrorEnvelope;
|
|
2318
1981
|
/**
|
|
2319
1982
|
* Rate limit exceeded
|
|
2320
1983
|
*/
|
|
@@ -2325,29 +1988,25 @@ export type RunsFeedbackGetErrors = {
|
|
|
2325
1988
|
500: ApiErrorEnvelope;
|
|
2326
1989
|
};
|
|
2327
1990
|
|
|
2328
|
-
export type
|
|
1991
|
+
export type FilesGetError = FilesGetErrors[keyof FilesGetErrors];
|
|
2329
1992
|
|
|
2330
|
-
export type
|
|
1993
|
+
export type FilesGetResponses = {
|
|
2331
1994
|
/**
|
|
2332
|
-
*
|
|
1995
|
+
* File metadata
|
|
2333
1996
|
*/
|
|
2334
|
-
200:
|
|
2335
|
-
[key: string]: unknown;
|
|
2336
|
-
};
|
|
1997
|
+
200: File;
|
|
2337
1998
|
};
|
|
2338
1999
|
|
|
2339
|
-
export type
|
|
2000
|
+
export type FilesGetResponse = FilesGetResponses[keyof FilesGetResponses];
|
|
2340
2001
|
|
|
2341
|
-
export type
|
|
2342
|
-
body:
|
|
2343
|
-
path
|
|
2344
|
-
id: string;
|
|
2345
|
-
};
|
|
2002
|
+
export type FilesCreateData = {
|
|
2003
|
+
body: CreateFileMultipartRequest;
|
|
2004
|
+
path?: never;
|
|
2346
2005
|
query?: never;
|
|
2347
|
-
url: '/api/v1/
|
|
2006
|
+
url: '/api/v1/files';
|
|
2348
2007
|
};
|
|
2349
2008
|
|
|
2350
|
-
export type
|
|
2009
|
+
export type FilesCreateErrors = {
|
|
2351
2010
|
/**
|
|
2352
2011
|
* Validation error. Request shape did not match the spec.
|
|
2353
2012
|
*/
|
|
@@ -2364,6 +2023,10 @@ export type RunsFeedbackUpdateErrors = {
|
|
|
2364
2023
|
* Resource not found
|
|
2365
2024
|
*/
|
|
2366
2025
|
404: ApiErrorEnvelope;
|
|
2026
|
+
/**
|
|
2027
|
+
* Payload too large. Upload exceeded the per-request size cap.
|
|
2028
|
+
*/
|
|
2029
|
+
413: ApiErrorEnvelope;
|
|
2367
2030
|
/**
|
|
2368
2031
|
* Rate limit exceeded
|
|
2369
2032
|
*/
|
|
@@ -2374,32 +2037,45 @@ export type RunsFeedbackUpdateErrors = {
|
|
|
2374
2037
|
500: ApiErrorEnvelope;
|
|
2375
2038
|
};
|
|
2376
2039
|
|
|
2377
|
-
export type
|
|
2040
|
+
export type FilesCreateError = FilesCreateErrors[keyof FilesCreateErrors];
|
|
2378
2041
|
|
|
2379
|
-
export type
|
|
2042
|
+
export type FilesCreateResponses = {
|
|
2380
2043
|
/**
|
|
2381
|
-
*
|
|
2044
|
+
* Uploaded file
|
|
2382
2045
|
*/
|
|
2383
|
-
200:
|
|
2384
|
-
[key: string]: unknown;
|
|
2385
|
-
};
|
|
2046
|
+
200: File;
|
|
2386
2047
|
};
|
|
2387
2048
|
|
|
2388
|
-
export type
|
|
2049
|
+
export type FilesCreateResponse = FilesCreateResponses[keyof FilesCreateResponses];
|
|
2389
2050
|
|
|
2390
|
-
export type
|
|
2051
|
+
export type RunsListData = {
|
|
2391
2052
|
body?: never;
|
|
2392
|
-
path
|
|
2393
|
-
id: string;
|
|
2394
|
-
};
|
|
2053
|
+
path?: never;
|
|
2395
2054
|
query?: {
|
|
2396
|
-
|
|
2397
|
-
|
|
2055
|
+
type?: string;
|
|
2056
|
+
source?: string;
|
|
2057
|
+
status?: string;
|
|
2058
|
+
trigger?: string;
|
|
2059
|
+
triggeredBy?: string;
|
|
2060
|
+
sourceRef?: string;
|
|
2061
|
+
batchId?: string;
|
|
2062
|
+
exampleId?: string;
|
|
2063
|
+
exampleIdContains?: string;
|
|
2064
|
+
from?: string;
|
|
2065
|
+
to?: string;
|
|
2066
|
+
createdAfter?: string;
|
|
2067
|
+
createdBefore?: string;
|
|
2068
|
+
completedAfter?: string;
|
|
2069
|
+
completedBefore?: string;
|
|
2070
|
+
cursor?: string;
|
|
2071
|
+
offset?: number;
|
|
2072
|
+
limit?: number;
|
|
2073
|
+
ids?: string;
|
|
2398
2074
|
};
|
|
2399
|
-
url: '/api/v1/runs
|
|
2075
|
+
url: '/api/v1/runs';
|
|
2400
2076
|
};
|
|
2401
2077
|
|
|
2402
|
-
export type
|
|
2078
|
+
export type RunsListErrors = {
|
|
2403
2079
|
/**
|
|
2404
2080
|
* Validation error. Request shape did not match the spec.
|
|
2405
2081
|
*/
|
|
@@ -2416,6 +2092,10 @@ export type RunsFilesZipGetErrors = {
|
|
|
2416
2092
|
* Resource not found
|
|
2417
2093
|
*/
|
|
2418
2094
|
404: ApiErrorEnvelope;
|
|
2095
|
+
/**
|
|
2096
|
+
* Payload too large. Upload exceeded the per-request size cap.
|
|
2097
|
+
*/
|
|
2098
|
+
413: ApiErrorEnvelope;
|
|
2419
2099
|
/**
|
|
2420
2100
|
* Rate limit exceeded
|
|
2421
2101
|
*/
|
|
@@ -2426,26 +2106,34 @@ export type RunsFilesZipGetErrors = {
|
|
|
2426
2106
|
500: ApiErrorEnvelope;
|
|
2427
2107
|
};
|
|
2428
2108
|
|
|
2429
|
-
export type
|
|
2109
|
+
export type RunsListError = RunsListErrors[keyof RunsListErrors];
|
|
2430
2110
|
|
|
2431
|
-
export type
|
|
2111
|
+
export type RunsListResponses = {
|
|
2432
2112
|
/**
|
|
2433
|
-
*
|
|
2113
|
+
* Runs page
|
|
2434
2114
|
*/
|
|
2435
|
-
200:
|
|
2115
|
+
200: RunsListResponse;
|
|
2436
2116
|
};
|
|
2437
2117
|
|
|
2438
|
-
export type
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2118
|
+
export type RunsListResponse2 = RunsListResponses[keyof RunsListResponses];
|
|
2119
|
+
|
|
2120
|
+
export type RunsStartData = {
|
|
2121
|
+
body: RunStartBody;
|
|
2122
|
+
path?: never;
|
|
2123
|
+
query?: {
|
|
2124
|
+
/**
|
|
2125
|
+
* Release or git ref. Defaults to latest.
|
|
2126
|
+
*/
|
|
2127
|
+
version?: string;
|
|
2128
|
+
/**
|
|
2129
|
+
* Seconds to wait before returning (max 600). Omit for async.
|
|
2130
|
+
*/
|
|
2131
|
+
wait_for_completion?: number;
|
|
2443
2132
|
};
|
|
2444
|
-
|
|
2445
|
-
url: '/api/v1/runs/{id}/files/{fileId}';
|
|
2133
|
+
url: '/api/v1/runs';
|
|
2446
2134
|
};
|
|
2447
2135
|
|
|
2448
|
-
export type
|
|
2136
|
+
export type RunsStartErrors = {
|
|
2449
2137
|
/**
|
|
2450
2138
|
* Validation error. Request shape did not match the spec.
|
|
2451
2139
|
*/
|
|
@@ -2455,13 +2143,17 @@ export type RunsFilesDeleteErrors = {
|
|
|
2455
2143
|
*/
|
|
2456
2144
|
401: ApiErrorEnvelope;
|
|
2457
2145
|
/**
|
|
2458
|
-
* API
|
|
2146
|
+
* Trigger disabled or insufficient scope. Run start may return api_trigger_disabled when the API trigger is off, or manual_trigger_disabled for dashboard runs on API-only workflows.
|
|
2459
2147
|
*/
|
|
2460
2148
|
403: ApiErrorEnvelope;
|
|
2461
2149
|
/**
|
|
2462
2150
|
* Resource not found
|
|
2463
2151
|
*/
|
|
2464
2152
|
404: ApiErrorEnvelope;
|
|
2153
|
+
/**
|
|
2154
|
+
* Payload too large. Upload exceeded the per-request size cap.
|
|
2155
|
+
*/
|
|
2156
|
+
413: ApiErrorEnvelope;
|
|
2465
2157
|
/**
|
|
2466
2158
|
* Rate limit exceeded
|
|
2467
2159
|
*/
|
|
@@ -2472,27 +2164,36 @@ export type RunsFilesDeleteErrors = {
|
|
|
2472
2164
|
500: ApiErrorEnvelope;
|
|
2473
2165
|
};
|
|
2474
2166
|
|
|
2475
|
-
export type
|
|
2167
|
+
export type RunsStartError = RunsStartErrors[keyof RunsStartErrors];
|
|
2476
2168
|
|
|
2477
|
-
export type
|
|
2169
|
+
export type RunsStartResponses = {
|
|
2170
|
+
/**
|
|
2171
|
+
* Run completed while waiting — same body as GET /api/v1/runs/:id
|
|
2172
|
+
*/
|
|
2173
|
+
200: RunStartResponse;
|
|
2174
|
+
/**
|
|
2175
|
+
* Run accepted (async)
|
|
2176
|
+
*/
|
|
2177
|
+
201: RunStartResponse;
|
|
2478
2178
|
/**
|
|
2479
|
-
*
|
|
2179
|
+
* Wait expired with a non-terminal status — poll GET /api/v1/runs/:id
|
|
2480
2180
|
*/
|
|
2481
|
-
|
|
2181
|
+
202: RunStartResponse;
|
|
2482
2182
|
};
|
|
2483
2183
|
|
|
2484
|
-
export type
|
|
2184
|
+
export type RunsStartResponse = RunsStartResponses[keyof RunsStartResponses];
|
|
2485
2185
|
|
|
2486
|
-
export type
|
|
2186
|
+
export type RunsArtifactsGetData = {
|
|
2487
2187
|
body?: never;
|
|
2488
2188
|
path: {
|
|
2489
2189
|
id: string;
|
|
2190
|
+
path: string;
|
|
2490
2191
|
};
|
|
2491
2192
|
query?: never;
|
|
2492
|
-
url: '/api/v1/runs/{id}/
|
|
2193
|
+
url: '/api/v1/runs/{id}/artifacts/{path}';
|
|
2493
2194
|
};
|
|
2494
2195
|
|
|
2495
|
-
export type
|
|
2196
|
+
export type RunsArtifactsGetErrors = {
|
|
2496
2197
|
/**
|
|
2497
2198
|
* Validation error. Request shape did not match the spec.
|
|
2498
2199
|
*/
|
|
@@ -2509,6 +2210,10 @@ export type RunsFilesListErrors = {
|
|
|
2509
2210
|
* Resource not found
|
|
2510
2211
|
*/
|
|
2511
2212
|
404: ApiErrorEnvelope;
|
|
2213
|
+
/**
|
|
2214
|
+
* Payload too large. Upload exceeded the per-request size cap.
|
|
2215
|
+
*/
|
|
2216
|
+
413: ApiErrorEnvelope;
|
|
2512
2217
|
/**
|
|
2513
2218
|
* Rate limit exceeded
|
|
2514
2219
|
*/
|
|
@@ -2519,27 +2224,28 @@ export type RunsFilesListErrors = {
|
|
|
2519
2224
|
500: ApiErrorEnvelope;
|
|
2520
2225
|
};
|
|
2521
2226
|
|
|
2522
|
-
export type
|
|
2227
|
+
export type RunsArtifactsGetError = RunsArtifactsGetErrors[keyof RunsArtifactsGetErrors];
|
|
2523
2228
|
|
|
2524
|
-
export type
|
|
2229
|
+
export type RunsArtifactsGetResponses = {
|
|
2525
2230
|
/**
|
|
2526
|
-
* Run
|
|
2231
|
+
* Run artifact
|
|
2527
2232
|
*/
|
|
2528
|
-
200:
|
|
2233
|
+
200: unknown;
|
|
2529
2234
|
};
|
|
2530
2235
|
|
|
2531
|
-
export type
|
|
2532
|
-
|
|
2533
|
-
export type RunsFilesUploadData = {
|
|
2534
|
-
body: RunsFilesUploadBody;
|
|
2236
|
+
export type RunsArtifactsListData = {
|
|
2237
|
+
body?: never;
|
|
2535
2238
|
path: {
|
|
2239
|
+
/**
|
|
2240
|
+
* Run id
|
|
2241
|
+
*/
|
|
2536
2242
|
id: string;
|
|
2537
2243
|
};
|
|
2538
2244
|
query?: never;
|
|
2539
|
-
url: '/api/v1/runs/{id}/
|
|
2245
|
+
url: '/api/v1/runs/{id}/artifacts';
|
|
2540
2246
|
};
|
|
2541
2247
|
|
|
2542
|
-
export type
|
|
2248
|
+
export type RunsArtifactsListErrors = {
|
|
2543
2249
|
/**
|
|
2544
2250
|
* Validation error. Request shape did not match the spec.
|
|
2545
2251
|
*/
|
|
@@ -2556,6 +2262,10 @@ export type RunsFilesUploadErrors = {
|
|
|
2556
2262
|
* Resource not found
|
|
2557
2263
|
*/
|
|
2558
2264
|
404: ApiErrorEnvelope;
|
|
2265
|
+
/**
|
|
2266
|
+
* Payload too large. Upload exceeded the per-request size cap.
|
|
2267
|
+
*/
|
|
2268
|
+
413: ApiErrorEnvelope;
|
|
2559
2269
|
/**
|
|
2560
2270
|
* Rate limit exceeded
|
|
2561
2271
|
*/
|
|
@@ -2566,38 +2276,27 @@ export type RunsFilesUploadErrors = {
|
|
|
2566
2276
|
500: ApiErrorEnvelope;
|
|
2567
2277
|
};
|
|
2568
2278
|
|
|
2569
|
-
export type
|
|
2279
|
+
export type RunsArtifactsListError = RunsArtifactsListErrors[keyof RunsArtifactsListErrors];
|
|
2570
2280
|
|
|
2571
|
-
export type
|
|
2281
|
+
export type RunsArtifactsListResponses = {
|
|
2572
2282
|
/**
|
|
2573
|
-
*
|
|
2283
|
+
* Run artifacts
|
|
2574
2284
|
*/
|
|
2575
|
-
|
|
2576
|
-
[key: string]: unknown;
|
|
2577
|
-
};
|
|
2285
|
+
200: RunArtifactsResponse;
|
|
2578
2286
|
};
|
|
2579
2287
|
|
|
2580
|
-
export type
|
|
2288
|
+
export type RunsArtifactsListResponse = RunsArtifactsListResponses[keyof RunsArtifactsListResponses];
|
|
2581
2289
|
|
|
2582
|
-
export type
|
|
2290
|
+
export type RunsCancelData = {
|
|
2583
2291
|
body?: never;
|
|
2584
2292
|
path: {
|
|
2585
2293
|
id: string;
|
|
2586
2294
|
};
|
|
2587
|
-
query?:
|
|
2588
|
-
|
|
2589
|
-
* Version for the new run. `original` pins the source run. Defaults to latest.
|
|
2590
|
-
*/
|
|
2591
|
-
version?: string;
|
|
2592
|
-
/**
|
|
2593
|
-
* Seconds to wait before returning (max 600). Omit for async.
|
|
2594
|
-
*/
|
|
2595
|
-
wait_for_completion?: number;
|
|
2596
|
-
};
|
|
2597
|
-
url: '/api/v1/runs/{id}/rerun';
|
|
2295
|
+
query?: never;
|
|
2296
|
+
url: '/api/v1/runs/{id}/cancel';
|
|
2598
2297
|
};
|
|
2599
2298
|
|
|
2600
|
-
export type
|
|
2299
|
+
export type RunsCancelErrors = {
|
|
2601
2300
|
/**
|
|
2602
2301
|
* Validation error. Request shape did not match the spec.
|
|
2603
2302
|
*/
|
|
@@ -2614,6 +2313,10 @@ export type RunsRerunErrors = {
|
|
|
2614
2313
|
* Resource not found
|
|
2615
2314
|
*/
|
|
2616
2315
|
404: ApiErrorEnvelope;
|
|
2316
|
+
/**
|
|
2317
|
+
* Payload too large. Upload exceeded the per-request size cap.
|
|
2318
|
+
*/
|
|
2319
|
+
413: ApiErrorEnvelope;
|
|
2617
2320
|
/**
|
|
2618
2321
|
* Rate limit exceeded
|
|
2619
2322
|
*/
|
|
@@ -2624,43 +2327,27 @@ export type RunsRerunErrors = {
|
|
|
2624
2327
|
500: ApiErrorEnvelope;
|
|
2625
2328
|
};
|
|
2626
2329
|
|
|
2627
|
-
export type
|
|
2330
|
+
export type RunsCancelError = RunsCancelErrors[keyof RunsCancelErrors];
|
|
2628
2331
|
|
|
2629
|
-
export type
|
|
2630
|
-
/**
|
|
2631
|
-
* Rerun completed while waiting
|
|
2632
|
-
*/
|
|
2633
|
-
200: RunStartResponse;
|
|
2634
|
-
/**
|
|
2635
|
-
* Rerun accepted (async)
|
|
2636
|
-
*/
|
|
2637
|
-
201: RunStartResponse;
|
|
2332
|
+
export type RunsCancelResponses = {
|
|
2638
2333
|
/**
|
|
2639
|
-
*
|
|
2334
|
+
* Cancellation result
|
|
2640
2335
|
*/
|
|
2641
|
-
|
|
2336
|
+
200: RunCancelResponse;
|
|
2642
2337
|
};
|
|
2643
2338
|
|
|
2644
|
-
export type
|
|
2339
|
+
export type RunsCancelResponse = RunsCancelResponses[keyof RunsCancelResponses];
|
|
2645
2340
|
|
|
2646
|
-
export type
|
|
2341
|
+
export type RunsEvalResultsListData = {
|
|
2647
2342
|
body?: never;
|
|
2648
2343
|
path: {
|
|
2649
|
-
/**
|
|
2650
|
-
* Run id
|
|
2651
|
-
*/
|
|
2652
2344
|
id: string;
|
|
2653
2345
|
};
|
|
2654
|
-
query?:
|
|
2655
|
-
|
|
2656
|
-
* Optional sections: `input`, `usage`, `execution`, `debug`. Terminal runs always include top-level output, files, and error.
|
|
2657
|
-
*/
|
|
2658
|
-
expand?: string;
|
|
2659
|
-
};
|
|
2660
|
-
url: '/api/v1/runs/{id}';
|
|
2346
|
+
query?: never;
|
|
2347
|
+
url: '/api/v1/runs/{id}/eval-results';
|
|
2661
2348
|
};
|
|
2662
2349
|
|
|
2663
|
-
export type
|
|
2350
|
+
export type RunsEvalResultsListErrors = {
|
|
2664
2351
|
/**
|
|
2665
2352
|
* Validation error. Request shape did not match the spec.
|
|
2666
2353
|
*/
|
|
@@ -2677,6 +2364,10 @@ export type RunsGetErrors = {
|
|
|
2677
2364
|
* Resource not found
|
|
2678
2365
|
*/
|
|
2679
2366
|
404: ApiErrorEnvelope;
|
|
2367
|
+
/**
|
|
2368
|
+
* Payload too large. Upload exceeded the per-request size cap.
|
|
2369
|
+
*/
|
|
2370
|
+
413: ApiErrorEnvelope;
|
|
2680
2371
|
/**
|
|
2681
2372
|
* Rate limit exceeded
|
|
2682
2373
|
*/
|
|
@@ -2687,27 +2378,30 @@ export type RunsGetErrors = {
|
|
|
2687
2378
|
500: ApiErrorEnvelope;
|
|
2688
2379
|
};
|
|
2689
2380
|
|
|
2690
|
-
export type
|
|
2381
|
+
export type RunsEvalResultsListError = RunsEvalResultsListErrors[keyof RunsEvalResultsListErrors];
|
|
2691
2382
|
|
|
2692
|
-
export type
|
|
2383
|
+
export type RunsEvalResultsListResponses = {
|
|
2693
2384
|
/**
|
|
2694
|
-
*
|
|
2385
|
+
* Eval results
|
|
2695
2386
|
*/
|
|
2696
|
-
200:
|
|
2387
|
+
200: EvalResultsResponse;
|
|
2697
2388
|
};
|
|
2698
2389
|
|
|
2699
|
-
export type
|
|
2390
|
+
export type RunsEvalResultsListResponse = RunsEvalResultsListResponses[keyof RunsEvalResultsListResponses];
|
|
2700
2391
|
|
|
2701
|
-
export type
|
|
2392
|
+
export type RunsEventsListData = {
|
|
2702
2393
|
body?: never;
|
|
2703
2394
|
path: {
|
|
2395
|
+
/**
|
|
2396
|
+
* Run id
|
|
2397
|
+
*/
|
|
2704
2398
|
id: string;
|
|
2705
2399
|
};
|
|
2706
2400
|
query?: never;
|
|
2707
|
-
url: '/api/v1/runs/{id}/
|
|
2401
|
+
url: '/api/v1/runs/{id}/events';
|
|
2708
2402
|
};
|
|
2709
2403
|
|
|
2710
|
-
export type
|
|
2404
|
+
export type RunsEventsListErrors = {
|
|
2711
2405
|
/**
|
|
2712
2406
|
* Validation error. Request shape did not match the spec.
|
|
2713
2407
|
*/
|
|
@@ -2724,6 +2418,10 @@ export type RunsTraceGetErrors = {
|
|
|
2724
2418
|
* Resource not found
|
|
2725
2419
|
*/
|
|
2726
2420
|
404: ApiErrorEnvelope;
|
|
2421
|
+
/**
|
|
2422
|
+
* Payload too large. Upload exceeded the per-request size cap.
|
|
2423
|
+
*/
|
|
2424
|
+
413: ApiErrorEnvelope;
|
|
2727
2425
|
/**
|
|
2728
2426
|
* Rate limit exceeded
|
|
2729
2427
|
*/
|
|
@@ -2734,29 +2432,27 @@ export type RunsTraceGetErrors = {
|
|
|
2734
2432
|
500: ApiErrorEnvelope;
|
|
2735
2433
|
};
|
|
2736
2434
|
|
|
2737
|
-
export type
|
|
2435
|
+
export type RunsEventsListError = RunsEventsListErrors[keyof RunsEventsListErrors];
|
|
2738
2436
|
|
|
2739
|
-
export type
|
|
2437
|
+
export type RunsEventsListResponses = {
|
|
2740
2438
|
/**
|
|
2741
|
-
* Run
|
|
2439
|
+
* Run events
|
|
2742
2440
|
*/
|
|
2743
|
-
200:
|
|
2744
|
-
events: Array<unknown>;
|
|
2745
|
-
};
|
|
2441
|
+
200: RunEventsResponse;
|
|
2746
2442
|
};
|
|
2747
2443
|
|
|
2748
|
-
export type
|
|
2444
|
+
export type RunsEventsListResponse = RunsEventsListResponses[keyof RunsEventsListResponses];
|
|
2749
2445
|
|
|
2750
|
-
export type
|
|
2446
|
+
export type RunsFeedbackClearData = {
|
|
2751
2447
|
body?: never;
|
|
2752
|
-
path
|
|
2753
|
-
|
|
2754
|
-
packageRef: string;
|
|
2448
|
+
path: {
|
|
2449
|
+
id: string;
|
|
2755
2450
|
};
|
|
2756
|
-
|
|
2451
|
+
query?: never;
|
|
2452
|
+
url: '/api/v1/runs/{id}/feedback';
|
|
2757
2453
|
};
|
|
2758
2454
|
|
|
2759
|
-
export type
|
|
2455
|
+
export type RunsFeedbackClearErrors = {
|
|
2760
2456
|
/**
|
|
2761
2457
|
* Validation error. Request shape did not match the spec.
|
|
2762
2458
|
*/
|
|
@@ -2773,6 +2469,10 @@ export type SourceLockfilePreviewErrors = {
|
|
|
2773
2469
|
* Resource not found
|
|
2774
2470
|
*/
|
|
2775
2471
|
404: ApiErrorEnvelope;
|
|
2472
|
+
/**
|
|
2473
|
+
* Payload too large. Upload exceeded the per-request size cap.
|
|
2474
|
+
*/
|
|
2475
|
+
413: ApiErrorEnvelope;
|
|
2776
2476
|
/**
|
|
2777
2477
|
* Rate limit exceeded
|
|
2778
2478
|
*/
|
|
@@ -2783,28 +2483,27 @@ export type SourceLockfilePreviewErrors = {
|
|
|
2783
2483
|
500: ApiErrorEnvelope;
|
|
2784
2484
|
};
|
|
2785
2485
|
|
|
2786
|
-
export type
|
|
2486
|
+
export type RunsFeedbackClearError = RunsFeedbackClearErrors[keyof RunsFeedbackClearErrors];
|
|
2787
2487
|
|
|
2788
|
-
export type
|
|
2488
|
+
export type RunsFeedbackClearResponses = {
|
|
2789
2489
|
/**
|
|
2790
|
-
*
|
|
2490
|
+
* Feedback cleared
|
|
2791
2491
|
*/
|
|
2792
|
-
200:
|
|
2492
|
+
200: RunFeedbackDetail;
|
|
2793
2493
|
};
|
|
2794
2494
|
|
|
2795
|
-
export type
|
|
2495
|
+
export type RunsFeedbackClearResponse = RunsFeedbackClearResponses[keyof RunsFeedbackClearResponses];
|
|
2796
2496
|
|
|
2797
|
-
export type
|
|
2497
|
+
export type RunsFeedbackGetData = {
|
|
2798
2498
|
body?: never;
|
|
2799
|
-
path
|
|
2800
|
-
|
|
2801
|
-
ref?: string;
|
|
2802
|
-
path: string;
|
|
2499
|
+
path: {
|
|
2500
|
+
id: string;
|
|
2803
2501
|
};
|
|
2804
|
-
|
|
2502
|
+
query?: never;
|
|
2503
|
+
url: '/api/v1/runs/{id}/feedback';
|
|
2805
2504
|
};
|
|
2806
2505
|
|
|
2807
|
-
export type
|
|
2506
|
+
export type RunsFeedbackGetErrors = {
|
|
2808
2507
|
/**
|
|
2809
2508
|
* Validation error. Request shape did not match the spec.
|
|
2810
2509
|
*/
|
|
@@ -2821,6 +2520,10 @@ export type SourceRawErrors = {
|
|
|
2821
2520
|
* Resource not found
|
|
2822
2521
|
*/
|
|
2823
2522
|
404: ApiErrorEnvelope;
|
|
2523
|
+
/**
|
|
2524
|
+
* Payload too large. Upload exceeded the per-request size cap.
|
|
2525
|
+
*/
|
|
2526
|
+
413: ApiErrorEnvelope;
|
|
2824
2527
|
/**
|
|
2825
2528
|
* Rate limit exceeded
|
|
2826
2529
|
*/
|
|
@@ -2831,28 +2534,27 @@ export type SourceRawErrors = {
|
|
|
2831
2534
|
500: ApiErrorEnvelope;
|
|
2832
2535
|
};
|
|
2833
2536
|
|
|
2834
|
-
export type
|
|
2537
|
+
export type RunsFeedbackGetError = RunsFeedbackGetErrors[keyof RunsFeedbackGetErrors];
|
|
2835
2538
|
|
|
2836
|
-
export type
|
|
2539
|
+
export type RunsFeedbackGetResponses = {
|
|
2837
2540
|
/**
|
|
2838
|
-
*
|
|
2541
|
+
* Run feedback
|
|
2839
2542
|
*/
|
|
2840
|
-
200:
|
|
2543
|
+
200: RunFeedbackDetail;
|
|
2841
2544
|
};
|
|
2842
2545
|
|
|
2843
|
-
export type
|
|
2546
|
+
export type RunsFeedbackGetResponse = RunsFeedbackGetResponses[keyof RunsFeedbackGetResponses];
|
|
2844
2547
|
|
|
2845
|
-
export type
|
|
2846
|
-
body
|
|
2847
|
-
path
|
|
2848
|
-
|
|
2849
|
-
packagePath: string;
|
|
2850
|
-
version?: string;
|
|
2548
|
+
export type RunsFeedbackUpdateData = {
|
|
2549
|
+
body: RunFeedbackRequest;
|
|
2550
|
+
path: {
|
|
2551
|
+
id: string;
|
|
2851
2552
|
};
|
|
2852
|
-
|
|
2553
|
+
query?: never;
|
|
2554
|
+
url: '/api/v1/runs/{id}/feedback';
|
|
2853
2555
|
};
|
|
2854
2556
|
|
|
2855
|
-
export type
|
|
2557
|
+
export type RunsFeedbackUpdateErrors = {
|
|
2856
2558
|
/**
|
|
2857
2559
|
* Validation error. Request shape did not match the spec.
|
|
2858
2560
|
*/
|
|
@@ -2869,6 +2571,10 @@ export type SourceReleasesErrors = {
|
|
|
2869
2571
|
* Resource not found
|
|
2870
2572
|
*/
|
|
2871
2573
|
404: ApiErrorEnvelope;
|
|
2574
|
+
/**
|
|
2575
|
+
* Payload too large. Upload exceeded the per-request size cap.
|
|
2576
|
+
*/
|
|
2577
|
+
413: ApiErrorEnvelope;
|
|
2872
2578
|
/**
|
|
2873
2579
|
* Rate limit exceeded
|
|
2874
2580
|
*/
|
|
@@ -2879,25 +2585,27 @@ export type SourceReleasesErrors = {
|
|
|
2879
2585
|
500: ApiErrorEnvelope;
|
|
2880
2586
|
};
|
|
2881
2587
|
|
|
2882
|
-
export type
|
|
2588
|
+
export type RunsFeedbackUpdateError = RunsFeedbackUpdateErrors[keyof RunsFeedbackUpdateErrors];
|
|
2883
2589
|
|
|
2884
|
-
export type
|
|
2590
|
+
export type RunsFeedbackUpdateResponses = {
|
|
2885
2591
|
/**
|
|
2886
|
-
*
|
|
2592
|
+
* Feedback updated
|
|
2887
2593
|
*/
|
|
2888
|
-
200:
|
|
2594
|
+
200: RunFeedbackDetail;
|
|
2889
2595
|
};
|
|
2890
2596
|
|
|
2891
|
-
export type
|
|
2597
|
+
export type RunsFeedbackUpdateResponse = RunsFeedbackUpdateResponses[keyof RunsFeedbackUpdateResponses];
|
|
2892
2598
|
|
|
2893
|
-
export type
|
|
2894
|
-
body
|
|
2895
|
-
path
|
|
2599
|
+
export type RunsPromoteData = {
|
|
2600
|
+
body: PromoteRunRequest;
|
|
2601
|
+
path: {
|
|
2602
|
+
id: string;
|
|
2603
|
+
};
|
|
2896
2604
|
query?: never;
|
|
2897
|
-
url: '/api/v1/
|
|
2605
|
+
url: '/api/v1/runs/{id}/promote';
|
|
2898
2606
|
};
|
|
2899
2607
|
|
|
2900
|
-
export type
|
|
2608
|
+
export type RunsPromoteErrors = {
|
|
2901
2609
|
/**
|
|
2902
2610
|
* Validation error. Request shape did not match the spec.
|
|
2903
2611
|
*/
|
|
@@ -2914,6 +2622,10 @@ export type SourceRepositoryErrors = {
|
|
|
2914
2622
|
* Resource not found
|
|
2915
2623
|
*/
|
|
2916
2624
|
404: ApiErrorEnvelope;
|
|
2625
|
+
/**
|
|
2626
|
+
* Payload too large. Upload exceeded the per-request size cap.
|
|
2627
|
+
*/
|
|
2628
|
+
413: ApiErrorEnvelope;
|
|
2917
2629
|
/**
|
|
2918
2630
|
* Rate limit exceeded
|
|
2919
2631
|
*/
|
|
@@ -2924,25 +2636,36 @@ export type SourceRepositoryErrors = {
|
|
|
2924
2636
|
500: ApiErrorEnvelope;
|
|
2925
2637
|
};
|
|
2926
2638
|
|
|
2927
|
-
export type
|
|
2639
|
+
export type RunsPromoteError = RunsPromoteErrors[keyof RunsPromoteErrors];
|
|
2928
2640
|
|
|
2929
|
-
export type
|
|
2641
|
+
export type RunsPromoteResponses = {
|
|
2930
2642
|
/**
|
|
2931
|
-
*
|
|
2643
|
+
* Created or updated a dataset example from the run
|
|
2932
2644
|
*/
|
|
2933
|
-
200:
|
|
2645
|
+
200: PromoteRunResponse;
|
|
2934
2646
|
};
|
|
2935
2647
|
|
|
2936
|
-
export type
|
|
2648
|
+
export type RunsPromoteResponse = RunsPromoteResponses[keyof RunsPromoteResponses];
|
|
2937
2649
|
|
|
2938
|
-
export type
|
|
2939
|
-
body
|
|
2940
|
-
path
|
|
2941
|
-
|
|
2942
|
-
|
|
2650
|
+
export type RunsRerunData = {
|
|
2651
|
+
body?: never;
|
|
2652
|
+
path: {
|
|
2653
|
+
id: string;
|
|
2654
|
+
};
|
|
2655
|
+
query?: {
|
|
2656
|
+
/**
|
|
2657
|
+
* Version for the new run. `original` pins the source run. Defaults to latest.
|
|
2658
|
+
*/
|
|
2659
|
+
version?: string;
|
|
2660
|
+
/**
|
|
2661
|
+
* Seconds to wait before returning (max 600). Omit for async.
|
|
2662
|
+
*/
|
|
2663
|
+
wait_for_completion?: number;
|
|
2664
|
+
};
|
|
2665
|
+
url: '/api/v1/runs/{id}/rerun';
|
|
2943
2666
|
};
|
|
2944
2667
|
|
|
2945
|
-
export type
|
|
2668
|
+
export type RunsRerunErrors = {
|
|
2946
2669
|
/**
|
|
2947
2670
|
* Validation error. Request shape did not match the spec.
|
|
2948
2671
|
*/
|
|
@@ -2959,6 +2682,10 @@ export type SourceSecretsDecryptErrors = {
|
|
|
2959
2682
|
* Resource not found
|
|
2960
2683
|
*/
|
|
2961
2684
|
404: ApiErrorEnvelope;
|
|
2685
|
+
/**
|
|
2686
|
+
* Payload too large. Upload exceeded the per-request size cap.
|
|
2687
|
+
*/
|
|
2688
|
+
413: ApiErrorEnvelope;
|
|
2962
2689
|
/**
|
|
2963
2690
|
* Rate limit exceeded
|
|
2964
2691
|
*/
|
|
@@ -2969,25 +2696,43 @@ export type SourceSecretsDecryptErrors = {
|
|
|
2969
2696
|
500: ApiErrorEnvelope;
|
|
2970
2697
|
};
|
|
2971
2698
|
|
|
2972
|
-
export type
|
|
2699
|
+
export type RunsRerunError = RunsRerunErrors[keyof RunsRerunErrors];
|
|
2973
2700
|
|
|
2974
|
-
export type
|
|
2701
|
+
export type RunsRerunResponses = {
|
|
2702
|
+
/**
|
|
2703
|
+
* Rerun completed while waiting
|
|
2704
|
+
*/
|
|
2705
|
+
200: RunStartResponse;
|
|
2706
|
+
/**
|
|
2707
|
+
* Rerun accepted (async)
|
|
2708
|
+
*/
|
|
2709
|
+
201: RunStartResponse;
|
|
2975
2710
|
/**
|
|
2976
|
-
*
|
|
2711
|
+
* Wait expired with a non-terminal status — poll GET /api/v1/runs/:id
|
|
2977
2712
|
*/
|
|
2978
|
-
|
|
2713
|
+
202: RunStartResponse;
|
|
2979
2714
|
};
|
|
2980
2715
|
|
|
2981
|
-
export type
|
|
2716
|
+
export type RunsRerunResponse = RunsRerunResponses[keyof RunsRerunResponses];
|
|
2982
2717
|
|
|
2983
|
-
export type
|
|
2984
|
-
body
|
|
2985
|
-
path
|
|
2986
|
-
|
|
2987
|
-
|
|
2718
|
+
export type RunsGetData = {
|
|
2719
|
+
body?: never;
|
|
2720
|
+
path: {
|
|
2721
|
+
/**
|
|
2722
|
+
* Run id
|
|
2723
|
+
*/
|
|
2724
|
+
id: string;
|
|
2725
|
+
};
|
|
2726
|
+
query?: {
|
|
2727
|
+
/**
|
|
2728
|
+
* Optional sections: `input`, `usage`, `execution`, `debug`. Terminal runs always include top-level output, files, and error.
|
|
2729
|
+
*/
|
|
2730
|
+
expand?: string;
|
|
2731
|
+
};
|
|
2732
|
+
url: '/api/v1/runs/{id}';
|
|
2988
2733
|
};
|
|
2989
2734
|
|
|
2990
|
-
export type
|
|
2735
|
+
export type RunsGetErrors = {
|
|
2991
2736
|
/**
|
|
2992
2737
|
* Validation error. Request shape did not match the spec.
|
|
2993
2738
|
*/
|
|
@@ -3004,6 +2749,10 @@ export type SourceSecretsEncryptErrors = {
|
|
|
3004
2749
|
* Resource not found
|
|
3005
2750
|
*/
|
|
3006
2751
|
404: ApiErrorEnvelope;
|
|
2752
|
+
/**
|
|
2753
|
+
* Payload too large. Upload exceeded the per-request size cap.
|
|
2754
|
+
*/
|
|
2755
|
+
413: ApiErrorEnvelope;
|
|
3007
2756
|
/**
|
|
3008
2757
|
* Rate limit exceeded
|
|
3009
2758
|
*/
|
|
@@ -3014,30 +2763,30 @@ export type SourceSecretsEncryptErrors = {
|
|
|
3014
2763
|
500: ApiErrorEnvelope;
|
|
3015
2764
|
};
|
|
3016
2765
|
|
|
3017
|
-
export type
|
|
2766
|
+
export type RunsGetError = RunsGetErrors[keyof RunsGetErrors];
|
|
3018
2767
|
|
|
3019
|
-
export type
|
|
2768
|
+
export type RunsGetResponses = {
|
|
3020
2769
|
/**
|
|
3021
|
-
*
|
|
2770
|
+
* Run
|
|
3022
2771
|
*/
|
|
3023
|
-
200:
|
|
2772
|
+
200: Run;
|
|
3024
2773
|
};
|
|
3025
2774
|
|
|
3026
|
-
export type
|
|
2775
|
+
export type RunsGetResponse = RunsGetResponses[keyof RunsGetResponses];
|
|
3027
2776
|
|
|
3028
|
-
export type
|
|
2777
|
+
export type RunsStepsListData = {
|
|
3029
2778
|
body?: never;
|
|
3030
2779
|
path: {
|
|
3031
2780
|
/**
|
|
3032
|
-
*
|
|
2781
|
+
* Run id
|
|
3033
2782
|
*/
|
|
3034
2783
|
id: string;
|
|
3035
2784
|
};
|
|
3036
2785
|
query?: never;
|
|
3037
|
-
url: '/api/v1/
|
|
2786
|
+
url: '/api/v1/runs/{id}/steps';
|
|
3038
2787
|
};
|
|
3039
2788
|
|
|
3040
|
-
export type
|
|
2789
|
+
export type RunsStepsListErrors = {
|
|
3041
2790
|
/**
|
|
3042
2791
|
* Validation error. Request shape did not match the spec.
|
|
3043
2792
|
*/
|
|
@@ -3054,6 +2803,10 @@ export type WorkflowsGetErrors = {
|
|
|
3054
2803
|
* Resource not found
|
|
3055
2804
|
*/
|
|
3056
2805
|
404: ApiErrorEnvelope;
|
|
2806
|
+
/**
|
|
2807
|
+
* Payload too large. Upload exceeded the per-request size cap.
|
|
2808
|
+
*/
|
|
2809
|
+
413: ApiErrorEnvelope;
|
|
3057
2810
|
/**
|
|
3058
2811
|
* Rate limit exceeded
|
|
3059
2812
|
*/
|
|
@@ -3064,39 +2817,27 @@ export type WorkflowsGetErrors = {
|
|
|
3064
2817
|
500: ApiErrorEnvelope;
|
|
3065
2818
|
};
|
|
3066
2819
|
|
|
3067
|
-
export type
|
|
2820
|
+
export type RunsStepsListError = RunsStepsListErrors[keyof RunsStepsListErrors];
|
|
3068
2821
|
|
|
3069
|
-
export type
|
|
2822
|
+
export type RunsStepsListResponses = {
|
|
3070
2823
|
/**
|
|
3071
|
-
*
|
|
2824
|
+
* Run steps
|
|
3072
2825
|
*/
|
|
3073
|
-
200:
|
|
2826
|
+
200: RunStepsResponse;
|
|
3074
2827
|
};
|
|
3075
2828
|
|
|
3076
|
-
export type
|
|
2829
|
+
export type RunsStepsListResponse = RunsStepsListResponses[keyof RunsStepsListResponses];
|
|
3077
2830
|
|
|
3078
|
-
export type
|
|
2831
|
+
export type RunsTraceGetData = {
|
|
3079
2832
|
body?: never;
|
|
3080
2833
|
path: {
|
|
3081
|
-
/**
|
|
3082
|
-
* Workflow id
|
|
3083
|
-
*/
|
|
3084
2834
|
id: string;
|
|
3085
2835
|
};
|
|
3086
|
-
query?:
|
|
3087
|
-
|
|
3088
|
-
* Page size (max 100, default 50)
|
|
3089
|
-
*/
|
|
3090
|
-
limit?: number;
|
|
3091
|
-
/**
|
|
3092
|
-
* Page offset
|
|
3093
|
-
*/
|
|
3094
|
-
offset?: number;
|
|
3095
|
-
};
|
|
3096
|
-
url: '/api/v1/workflows/{id}/versions';
|
|
2836
|
+
query?: never;
|
|
2837
|
+
url: '/api/v1/runs/{id}/trace';
|
|
3097
2838
|
};
|
|
3098
2839
|
|
|
3099
|
-
export type
|
|
2840
|
+
export type RunsTraceGetErrors = {
|
|
3100
2841
|
/**
|
|
3101
2842
|
* Validation error. Request shape did not match the spec.
|
|
3102
2843
|
*/
|
|
@@ -3113,6 +2854,10 @@ export type WorkflowsVersionsListErrors = {
|
|
|
3113
2854
|
* Resource not found
|
|
3114
2855
|
*/
|
|
3115
2856
|
404: ApiErrorEnvelope;
|
|
2857
|
+
/**
|
|
2858
|
+
* Payload too large. Upload exceeded the per-request size cap.
|
|
2859
|
+
*/
|
|
2860
|
+
413: ApiErrorEnvelope;
|
|
3116
2861
|
/**
|
|
3117
2862
|
* Rate limit exceeded
|
|
3118
2863
|
*/
|
|
@@ -3123,46 +2868,32 @@ export type WorkflowsVersionsListErrors = {
|
|
|
3123
2868
|
500: ApiErrorEnvelope;
|
|
3124
2869
|
};
|
|
3125
2870
|
|
|
3126
|
-
export type
|
|
2871
|
+
export type RunsTraceGetError = RunsTraceGetErrors[keyof RunsTraceGetErrors];
|
|
3127
2872
|
|
|
3128
|
-
export type
|
|
2873
|
+
export type RunsTraceGetResponses = {
|
|
3129
2874
|
/**
|
|
3130
|
-
*
|
|
2875
|
+
* Run trace events
|
|
3131
2876
|
*/
|
|
3132
|
-
200:
|
|
2877
|
+
200: {
|
|
2878
|
+
events: Array<unknown>;
|
|
2879
|
+
};
|
|
3133
2880
|
};
|
|
3134
2881
|
|
|
3135
|
-
export type
|
|
2882
|
+
export type RunsTraceGetResponse = RunsTraceGetResponses[keyof RunsTraceGetResponses];
|
|
3136
2883
|
|
|
3137
|
-
export type
|
|
2884
|
+
export type RunsUsageGetData = {
|
|
3138
2885
|
body?: never;
|
|
3139
|
-
path
|
|
3140
|
-
query?: {
|
|
3141
|
-
/**
|
|
3142
|
-
* Substring match against workflow name
|
|
3143
|
-
*/
|
|
3144
|
-
search?: string;
|
|
3145
|
-
/**
|
|
3146
|
-
* Exact-match lookup by workflow name (slug)
|
|
3147
|
-
*/
|
|
3148
|
-
name?: string;
|
|
3149
|
-
/**
|
|
3150
|
-
* Filter by workflow kind
|
|
3151
|
-
*/
|
|
3152
|
-
kind?: 'workflow' | 'block';
|
|
3153
|
-
/**
|
|
3154
|
-
* Page size (max 100, default 50)
|
|
3155
|
-
*/
|
|
3156
|
-
limit?: number;
|
|
2886
|
+
path: {
|
|
3157
2887
|
/**
|
|
3158
|
-
*
|
|
2888
|
+
* Run id
|
|
3159
2889
|
*/
|
|
3160
|
-
|
|
2890
|
+
id: string;
|
|
3161
2891
|
};
|
|
3162
|
-
|
|
2892
|
+
query?: never;
|
|
2893
|
+
url: '/api/v1/runs/{id}/usage';
|
|
3163
2894
|
};
|
|
3164
2895
|
|
|
3165
|
-
export type
|
|
2896
|
+
export type RunsUsageGetErrors = {
|
|
3166
2897
|
/**
|
|
3167
2898
|
* Validation error. Request shape did not match the spec.
|
|
3168
2899
|
*/
|
|
@@ -3179,6 +2910,10 @@ export type WorkflowsListErrors = {
|
|
|
3179
2910
|
* Resource not found
|
|
3180
2911
|
*/
|
|
3181
2912
|
404: ApiErrorEnvelope;
|
|
2913
|
+
/**
|
|
2914
|
+
* Payload too large. Upload exceeded the per-request size cap.
|
|
2915
|
+
*/
|
|
2916
|
+
413: ApiErrorEnvelope;
|
|
3182
2917
|
/**
|
|
3183
2918
|
* Rate limit exceeded
|
|
3184
2919
|
*/
|
|
@@ -3189,13 +2924,13 @@ export type WorkflowsListErrors = {
|
|
|
3189
2924
|
500: ApiErrorEnvelope;
|
|
3190
2925
|
};
|
|
3191
2926
|
|
|
3192
|
-
export type
|
|
2927
|
+
export type RunsUsageGetError = RunsUsageGetErrors[keyof RunsUsageGetErrors];
|
|
3193
2928
|
|
|
3194
|
-
export type
|
|
2929
|
+
export type RunsUsageGetResponses = {
|
|
3195
2930
|
/**
|
|
3196
|
-
*
|
|
2931
|
+
* Run usage
|
|
3197
2932
|
*/
|
|
3198
|
-
200:
|
|
2933
|
+
200: RunUsageResponse;
|
|
3199
2934
|
};
|
|
3200
2935
|
|
|
3201
|
-
export type
|
|
2936
|
+
export type RunsUsageGetResponse = RunsUsageGetResponses[keyof RunsUsageGetResponses];
|