@agent-os-sdk/client 0.4.4 → 0.4.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/openapi.d.ts +574 -1
- package/dist/generated/openapi.d.ts.map +1 -1
- package/dist/modules/agents.d.ts +9 -0
- package/dist/modules/agents.d.ts.map +1 -1
- package/dist/modules/agents.js +25 -0
- package/dist/modules/runs.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/generated/openapi.ts +574 -1
- package/src/generated/swagger.json +779 -26
- package/src/modules/agents.ts +36 -0
|
@@ -526,6 +526,101 @@ export interface paths {
|
|
|
526
526
|
patch?: never;
|
|
527
527
|
trace?: never;
|
|
528
528
|
};
|
|
529
|
+
"/v1/api/agents/{id}/draft/graph": {
|
|
530
|
+
parameters: {
|
|
531
|
+
query?: never;
|
|
532
|
+
header?: never;
|
|
533
|
+
path?: never;
|
|
534
|
+
cookie?: never;
|
|
535
|
+
};
|
|
536
|
+
get?: never;
|
|
537
|
+
/**
|
|
538
|
+
* Updates the draft graph specification for an agent (autosave/resume).
|
|
539
|
+
* @description **IMPORTANT:** Draft is for UI autosave only. Publish does NOT read from draft.
|
|
540
|
+
* Publish continues to use `request.GraphSpec` as the canonical source.
|
|
541
|
+
*
|
|
542
|
+
* Requires `If-Match` header with ETag from previous GET/PUT.
|
|
543
|
+
*
|
|
544
|
+
* **ETag Format:**
|
|
545
|
+
* - Header: `"agentId:ticks"` (with quotes)
|
|
546
|
+
* - Body: `agentId:ticks` (no quotes)
|
|
547
|
+
*
|
|
548
|
+
* **Hints (in ProblemDetails.Extensions):**
|
|
549
|
+
* - 428: `include_if_match` - SDK should auto-fetch ETag
|
|
550
|
+
* - 412: `reload_and_retry` - Front should refetch and confirm
|
|
551
|
+
* - 400: `fix_payload` - Editor should show validation error
|
|
552
|
+
*/
|
|
553
|
+
put: {
|
|
554
|
+
parameters: {
|
|
555
|
+
query?: never;
|
|
556
|
+
header?: never;
|
|
557
|
+
path: {
|
|
558
|
+
id: string;
|
|
559
|
+
};
|
|
560
|
+
cookie?: never;
|
|
561
|
+
};
|
|
562
|
+
requestBody?: {
|
|
563
|
+
content: {
|
|
564
|
+
"application/json": components["schemas"]["UpdateDraftGraphRequest"];
|
|
565
|
+
"text/json": components["schemas"]["UpdateDraftGraphRequest"];
|
|
566
|
+
"application/*+json": components["schemas"]["UpdateDraftGraphRequest"];
|
|
567
|
+
};
|
|
568
|
+
};
|
|
569
|
+
responses: {
|
|
570
|
+
/** @description OK */
|
|
571
|
+
200: {
|
|
572
|
+
headers: {
|
|
573
|
+
[name: string]: unknown;
|
|
574
|
+
};
|
|
575
|
+
content: {
|
|
576
|
+
"application/json": components["schemas"]["AgentDraftResponse"];
|
|
577
|
+
};
|
|
578
|
+
};
|
|
579
|
+
/** @description Bad Request */
|
|
580
|
+
400: {
|
|
581
|
+
headers: {
|
|
582
|
+
[name: string]: unknown;
|
|
583
|
+
};
|
|
584
|
+
content: {
|
|
585
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
586
|
+
};
|
|
587
|
+
};
|
|
588
|
+
/** @description Not Found */
|
|
589
|
+
404: {
|
|
590
|
+
headers: {
|
|
591
|
+
[name: string]: unknown;
|
|
592
|
+
};
|
|
593
|
+
content: {
|
|
594
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
595
|
+
};
|
|
596
|
+
};
|
|
597
|
+
/** @description Precondition Failed */
|
|
598
|
+
412: {
|
|
599
|
+
headers: {
|
|
600
|
+
[name: string]: unknown;
|
|
601
|
+
};
|
|
602
|
+
content: {
|
|
603
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
604
|
+
};
|
|
605
|
+
};
|
|
606
|
+
/** @description Precondition Required */
|
|
607
|
+
428: {
|
|
608
|
+
headers: {
|
|
609
|
+
[name: string]: unknown;
|
|
610
|
+
};
|
|
611
|
+
content: {
|
|
612
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
613
|
+
};
|
|
614
|
+
};
|
|
615
|
+
};
|
|
616
|
+
};
|
|
617
|
+
post?: never;
|
|
618
|
+
delete?: never;
|
|
619
|
+
options?: never;
|
|
620
|
+
head?: never;
|
|
621
|
+
patch?: never;
|
|
622
|
+
trace?: never;
|
|
623
|
+
};
|
|
529
624
|
"/v1/api/agents/{id}/graph": {
|
|
530
625
|
parameters: {
|
|
531
626
|
query?: never;
|
|
@@ -1955,6 +2050,353 @@ export interface paths {
|
|
|
1955
2050
|
patch?: never;
|
|
1956
2051
|
trace?: never;
|
|
1957
2052
|
};
|
|
2053
|
+
"/v1/api/datasets": {
|
|
2054
|
+
parameters: {
|
|
2055
|
+
query?: never;
|
|
2056
|
+
header?: never;
|
|
2057
|
+
path?: never;
|
|
2058
|
+
cookie?: never;
|
|
2059
|
+
};
|
|
2060
|
+
/** Lists datasets in the workspace. */
|
|
2061
|
+
get: {
|
|
2062
|
+
parameters: {
|
|
2063
|
+
query?: {
|
|
2064
|
+
skip?: number;
|
|
2065
|
+
take?: number;
|
|
2066
|
+
};
|
|
2067
|
+
header?: never;
|
|
2068
|
+
path?: never;
|
|
2069
|
+
cookie?: never;
|
|
2070
|
+
};
|
|
2071
|
+
requestBody?: never;
|
|
2072
|
+
responses: {
|
|
2073
|
+
/** @description OK */
|
|
2074
|
+
200: {
|
|
2075
|
+
headers: {
|
|
2076
|
+
[name: string]: unknown;
|
|
2077
|
+
};
|
|
2078
|
+
content: {
|
|
2079
|
+
"application/json": components["schemas"]["DatasetResponse"][];
|
|
2080
|
+
};
|
|
2081
|
+
};
|
|
2082
|
+
/** @description Bad Request */
|
|
2083
|
+
400: {
|
|
2084
|
+
headers: {
|
|
2085
|
+
[name: string]: unknown;
|
|
2086
|
+
};
|
|
2087
|
+
content: {
|
|
2088
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
2089
|
+
};
|
|
2090
|
+
};
|
|
2091
|
+
/** @description Unauthorized */
|
|
2092
|
+
401: {
|
|
2093
|
+
headers: {
|
|
2094
|
+
[name: string]: unknown;
|
|
2095
|
+
};
|
|
2096
|
+
content: {
|
|
2097
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
2098
|
+
};
|
|
2099
|
+
};
|
|
2100
|
+
};
|
|
2101
|
+
};
|
|
2102
|
+
put?: never;
|
|
2103
|
+
/** Creates a new evaluation dataset. */
|
|
2104
|
+
post: {
|
|
2105
|
+
parameters: {
|
|
2106
|
+
query?: never;
|
|
2107
|
+
header?: never;
|
|
2108
|
+
path?: never;
|
|
2109
|
+
cookie?: never;
|
|
2110
|
+
};
|
|
2111
|
+
requestBody?: {
|
|
2112
|
+
content: {
|
|
2113
|
+
"application/json": components["schemas"]["CreateDatasetRequest"];
|
|
2114
|
+
"text/json": components["schemas"]["CreateDatasetRequest"];
|
|
2115
|
+
"application/*+json": components["schemas"]["CreateDatasetRequest"];
|
|
2116
|
+
};
|
|
2117
|
+
};
|
|
2118
|
+
responses: {
|
|
2119
|
+
/** @description Created */
|
|
2120
|
+
201: {
|
|
2121
|
+
headers: {
|
|
2122
|
+
[name: string]: unknown;
|
|
2123
|
+
};
|
|
2124
|
+
content: {
|
|
2125
|
+
"application/json": components["schemas"]["DatasetResponse"];
|
|
2126
|
+
};
|
|
2127
|
+
};
|
|
2128
|
+
/** @description Bad Request */
|
|
2129
|
+
400: {
|
|
2130
|
+
headers: {
|
|
2131
|
+
[name: string]: unknown;
|
|
2132
|
+
};
|
|
2133
|
+
content: {
|
|
2134
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
2135
|
+
};
|
|
2136
|
+
};
|
|
2137
|
+
/** @description Unauthorized */
|
|
2138
|
+
401: {
|
|
2139
|
+
headers: {
|
|
2140
|
+
[name: string]: unknown;
|
|
2141
|
+
};
|
|
2142
|
+
content: {
|
|
2143
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
2144
|
+
};
|
|
2145
|
+
};
|
|
2146
|
+
};
|
|
2147
|
+
};
|
|
2148
|
+
delete?: never;
|
|
2149
|
+
options?: never;
|
|
2150
|
+
head?: never;
|
|
2151
|
+
patch?: never;
|
|
2152
|
+
trace?: never;
|
|
2153
|
+
};
|
|
2154
|
+
"/v1/api/datasets/{id}": {
|
|
2155
|
+
parameters: {
|
|
2156
|
+
query?: never;
|
|
2157
|
+
header?: never;
|
|
2158
|
+
path?: never;
|
|
2159
|
+
cookie?: never;
|
|
2160
|
+
};
|
|
2161
|
+
/** Gets a specific dataset by ID. */
|
|
2162
|
+
get: {
|
|
2163
|
+
parameters: {
|
|
2164
|
+
query?: never;
|
|
2165
|
+
header?: never;
|
|
2166
|
+
path: {
|
|
2167
|
+
id: string;
|
|
2168
|
+
};
|
|
2169
|
+
cookie?: never;
|
|
2170
|
+
};
|
|
2171
|
+
requestBody?: never;
|
|
2172
|
+
responses: {
|
|
2173
|
+
/** @description OK */
|
|
2174
|
+
200: {
|
|
2175
|
+
headers: {
|
|
2176
|
+
[name: string]: unknown;
|
|
2177
|
+
};
|
|
2178
|
+
content: {
|
|
2179
|
+
"application/json": components["schemas"]["DatasetResponse"];
|
|
2180
|
+
};
|
|
2181
|
+
};
|
|
2182
|
+
/** @description Unauthorized */
|
|
2183
|
+
401: {
|
|
2184
|
+
headers: {
|
|
2185
|
+
[name: string]: unknown;
|
|
2186
|
+
};
|
|
2187
|
+
content: {
|
|
2188
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
2189
|
+
};
|
|
2190
|
+
};
|
|
2191
|
+
/** @description Not Found */
|
|
2192
|
+
404: {
|
|
2193
|
+
headers: {
|
|
2194
|
+
[name: string]: unknown;
|
|
2195
|
+
};
|
|
2196
|
+
content: {
|
|
2197
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
2198
|
+
};
|
|
2199
|
+
};
|
|
2200
|
+
};
|
|
2201
|
+
};
|
|
2202
|
+
put?: never;
|
|
2203
|
+
post?: never;
|
|
2204
|
+
/** Soft deletes a dataset. */
|
|
2205
|
+
delete: {
|
|
2206
|
+
parameters: {
|
|
2207
|
+
query?: never;
|
|
2208
|
+
header?: never;
|
|
2209
|
+
path: {
|
|
2210
|
+
id: string;
|
|
2211
|
+
};
|
|
2212
|
+
cookie?: never;
|
|
2213
|
+
};
|
|
2214
|
+
requestBody?: never;
|
|
2215
|
+
responses: {
|
|
2216
|
+
/** @description No Content */
|
|
2217
|
+
204: {
|
|
2218
|
+
headers: {
|
|
2219
|
+
[name: string]: unknown;
|
|
2220
|
+
};
|
|
2221
|
+
content?: never;
|
|
2222
|
+
};
|
|
2223
|
+
/** @description Not Found */
|
|
2224
|
+
404: {
|
|
2225
|
+
headers: {
|
|
2226
|
+
[name: string]: unknown;
|
|
2227
|
+
};
|
|
2228
|
+
content: {
|
|
2229
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
2230
|
+
};
|
|
2231
|
+
};
|
|
2232
|
+
};
|
|
2233
|
+
};
|
|
2234
|
+
options?: never;
|
|
2235
|
+
head?: never;
|
|
2236
|
+
/** Updates a dataset (Partial Update). */
|
|
2237
|
+
patch: {
|
|
2238
|
+
parameters: {
|
|
2239
|
+
query?: never;
|
|
2240
|
+
header?: never;
|
|
2241
|
+
path: {
|
|
2242
|
+
id: string;
|
|
2243
|
+
};
|
|
2244
|
+
cookie?: never;
|
|
2245
|
+
};
|
|
2246
|
+
requestBody?: {
|
|
2247
|
+
content: {
|
|
2248
|
+
"application/json": components["schemas"]["UpdateDatasetRequest"];
|
|
2249
|
+
"text/json": components["schemas"]["UpdateDatasetRequest"];
|
|
2250
|
+
"application/*+json": components["schemas"]["UpdateDatasetRequest"];
|
|
2251
|
+
};
|
|
2252
|
+
};
|
|
2253
|
+
responses: {
|
|
2254
|
+
/** @description OK */
|
|
2255
|
+
200: {
|
|
2256
|
+
headers: {
|
|
2257
|
+
[name: string]: unknown;
|
|
2258
|
+
};
|
|
2259
|
+
content: {
|
|
2260
|
+
"application/json": components["schemas"]["DatasetResponse"];
|
|
2261
|
+
};
|
|
2262
|
+
};
|
|
2263
|
+
/** @description Not Found */
|
|
2264
|
+
404: {
|
|
2265
|
+
headers: {
|
|
2266
|
+
[name: string]: unknown;
|
|
2267
|
+
};
|
|
2268
|
+
content: {
|
|
2269
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
2270
|
+
};
|
|
2271
|
+
};
|
|
2272
|
+
};
|
|
2273
|
+
};
|
|
2274
|
+
trace?: never;
|
|
2275
|
+
};
|
|
2276
|
+
"/v1/api/datasets/{id}/examples": {
|
|
2277
|
+
parameters: {
|
|
2278
|
+
query?: never;
|
|
2279
|
+
header?: never;
|
|
2280
|
+
path?: never;
|
|
2281
|
+
cookie?: never;
|
|
2282
|
+
};
|
|
2283
|
+
/** Lists examples for a dataset. */
|
|
2284
|
+
get: {
|
|
2285
|
+
parameters: {
|
|
2286
|
+
query?: {
|
|
2287
|
+
skip?: number;
|
|
2288
|
+
take?: number;
|
|
2289
|
+
};
|
|
2290
|
+
header?: never;
|
|
2291
|
+
path: {
|
|
2292
|
+
id: string;
|
|
2293
|
+
};
|
|
2294
|
+
cookie?: never;
|
|
2295
|
+
};
|
|
2296
|
+
requestBody?: never;
|
|
2297
|
+
responses: {
|
|
2298
|
+
/** @description OK */
|
|
2299
|
+
200: {
|
|
2300
|
+
headers: {
|
|
2301
|
+
[name: string]: unknown;
|
|
2302
|
+
};
|
|
2303
|
+
content: {
|
|
2304
|
+
"application/json": components["schemas"]["ExampleResponse"][];
|
|
2305
|
+
};
|
|
2306
|
+
};
|
|
2307
|
+
};
|
|
2308
|
+
};
|
|
2309
|
+
put?: never;
|
|
2310
|
+
/** Adds examples to a dataset (Batch). */
|
|
2311
|
+
post: {
|
|
2312
|
+
parameters: {
|
|
2313
|
+
query?: never;
|
|
2314
|
+
header?: never;
|
|
2315
|
+
path: {
|
|
2316
|
+
id: string;
|
|
2317
|
+
};
|
|
2318
|
+
cookie?: never;
|
|
2319
|
+
};
|
|
2320
|
+
requestBody?: {
|
|
2321
|
+
content: {
|
|
2322
|
+
"application/json": components["schemas"]["CreateExampleRequest"];
|
|
2323
|
+
"text/json": components["schemas"]["CreateExampleRequest"];
|
|
2324
|
+
"application/*+json": components["schemas"]["CreateExampleRequest"];
|
|
2325
|
+
};
|
|
2326
|
+
};
|
|
2327
|
+
responses: {
|
|
2328
|
+
/** @description Created */
|
|
2329
|
+
201: {
|
|
2330
|
+
headers: {
|
|
2331
|
+
[name: string]: unknown;
|
|
2332
|
+
};
|
|
2333
|
+
content: {
|
|
2334
|
+
"application/json": components["schemas"]["ExampleResponse"][];
|
|
2335
|
+
};
|
|
2336
|
+
};
|
|
2337
|
+
/** @description Not Found */
|
|
2338
|
+
404: {
|
|
2339
|
+
headers: {
|
|
2340
|
+
[name: string]: unknown;
|
|
2341
|
+
};
|
|
2342
|
+
content: {
|
|
2343
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
2344
|
+
};
|
|
2345
|
+
};
|
|
2346
|
+
};
|
|
2347
|
+
};
|
|
2348
|
+
delete?: never;
|
|
2349
|
+
options?: never;
|
|
2350
|
+
head?: never;
|
|
2351
|
+
patch?: never;
|
|
2352
|
+
trace?: never;
|
|
2353
|
+
};
|
|
2354
|
+
"/v1/api/datasets/{id}/examples/{exampleId}": {
|
|
2355
|
+
parameters: {
|
|
2356
|
+
query?: never;
|
|
2357
|
+
header?: never;
|
|
2358
|
+
path?: never;
|
|
2359
|
+
cookie?: never;
|
|
2360
|
+
};
|
|
2361
|
+
get?: never;
|
|
2362
|
+
put?: never;
|
|
2363
|
+
post?: never;
|
|
2364
|
+
/** Deletes a specific example. */
|
|
2365
|
+
delete: {
|
|
2366
|
+
parameters: {
|
|
2367
|
+
query?: never;
|
|
2368
|
+
header?: never;
|
|
2369
|
+
path: {
|
|
2370
|
+
id: string;
|
|
2371
|
+
exampleId: string;
|
|
2372
|
+
};
|
|
2373
|
+
cookie?: never;
|
|
2374
|
+
};
|
|
2375
|
+
requestBody?: never;
|
|
2376
|
+
responses: {
|
|
2377
|
+
/** @description No Content */
|
|
2378
|
+
204: {
|
|
2379
|
+
headers: {
|
|
2380
|
+
[name: string]: unknown;
|
|
2381
|
+
};
|
|
2382
|
+
content?: never;
|
|
2383
|
+
};
|
|
2384
|
+
/** @description Not Found */
|
|
2385
|
+
404: {
|
|
2386
|
+
headers: {
|
|
2387
|
+
[name: string]: unknown;
|
|
2388
|
+
};
|
|
2389
|
+
content: {
|
|
2390
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
2391
|
+
};
|
|
2392
|
+
};
|
|
2393
|
+
};
|
|
2394
|
+
};
|
|
2395
|
+
options?: never;
|
|
2396
|
+
head?: never;
|
|
2397
|
+
patch?: never;
|
|
2398
|
+
trace?: never;
|
|
2399
|
+
};
|
|
1958
2400
|
"/v1/api/runs/dlq": {
|
|
1959
2401
|
parameters: {
|
|
1960
2402
|
query?: never;
|
|
@@ -6751,7 +7193,32 @@ export interface paths {
|
|
|
6751
7193
|
path?: never;
|
|
6752
7194
|
cookie?: never;
|
|
6753
7195
|
};
|
|
6754
|
-
|
|
7196
|
+
/** List files in a vector store. */
|
|
7197
|
+
get: {
|
|
7198
|
+
parameters: {
|
|
7199
|
+
query?: {
|
|
7200
|
+
skip?: number;
|
|
7201
|
+
take?: number;
|
|
7202
|
+
};
|
|
7203
|
+
header?: never;
|
|
7204
|
+
path: {
|
|
7205
|
+
vectorStoreId: string;
|
|
7206
|
+
};
|
|
7207
|
+
cookie?: never;
|
|
7208
|
+
};
|
|
7209
|
+
requestBody?: never;
|
|
7210
|
+
responses: {
|
|
7211
|
+
/** @description OK */
|
|
7212
|
+
200: {
|
|
7213
|
+
headers: {
|
|
7214
|
+
[name: string]: unknown;
|
|
7215
|
+
};
|
|
7216
|
+
content: {
|
|
7217
|
+
"application/json": components["schemas"]["VectorStoreFileResponse"][];
|
|
7218
|
+
};
|
|
7219
|
+
};
|
|
7220
|
+
};
|
|
7221
|
+
};
|
|
6755
7222
|
put?: never;
|
|
6756
7223
|
/** Attach a file to a vector store for embedding. */
|
|
6757
7224
|
post: {
|
|
@@ -6806,6 +7273,59 @@ export interface paths {
|
|
|
6806
7273
|
patch?: never;
|
|
6807
7274
|
trace?: never;
|
|
6808
7275
|
};
|
|
7276
|
+
"/v1/api/vector-stores/{vectorStoreId}/files/{fileId}": {
|
|
7277
|
+
parameters: {
|
|
7278
|
+
query?: never;
|
|
7279
|
+
header?: never;
|
|
7280
|
+
path?: never;
|
|
7281
|
+
cookie?: never;
|
|
7282
|
+
};
|
|
7283
|
+
get?: never;
|
|
7284
|
+
put?: never;
|
|
7285
|
+
post?: never;
|
|
7286
|
+
/**
|
|
7287
|
+
* Detach a file from a vector store.
|
|
7288
|
+
* @description Removes the file association from the vector store.
|
|
7289
|
+
* **Important:** This does NOT delete the file from storage (S3), only checks out the link.
|
|
7290
|
+
* Embeddings related to this file are NOT immediately cleaned up (future work).
|
|
7291
|
+
*/
|
|
7292
|
+
delete: {
|
|
7293
|
+
parameters: {
|
|
7294
|
+
query?: never;
|
|
7295
|
+
header?: never;
|
|
7296
|
+
path: {
|
|
7297
|
+
/** @description Vector Store ID */
|
|
7298
|
+
vectorStoreId: string;
|
|
7299
|
+
/** @description The StoredFile ID (not the join record ID) */
|
|
7300
|
+
fileId: string;
|
|
7301
|
+
};
|
|
7302
|
+
cookie?: never;
|
|
7303
|
+
};
|
|
7304
|
+
requestBody?: never;
|
|
7305
|
+
responses: {
|
|
7306
|
+
/** @description No Content */
|
|
7307
|
+
204: {
|
|
7308
|
+
headers: {
|
|
7309
|
+
[name: string]: unknown;
|
|
7310
|
+
};
|
|
7311
|
+
content?: never;
|
|
7312
|
+
};
|
|
7313
|
+
/** @description Not Found */
|
|
7314
|
+
404: {
|
|
7315
|
+
headers: {
|
|
7316
|
+
[name: string]: unknown;
|
|
7317
|
+
};
|
|
7318
|
+
content: {
|
|
7319
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
7320
|
+
};
|
|
7321
|
+
};
|
|
7322
|
+
};
|
|
7323
|
+
};
|
|
7324
|
+
options?: never;
|
|
7325
|
+
head?: never;
|
|
7326
|
+
patch?: never;
|
|
7327
|
+
trace?: never;
|
|
7328
|
+
};
|
|
6809
7329
|
"/v1/api/vector-stores/{vectorStoreId}/query": {
|
|
6810
7330
|
parameters: {
|
|
6811
7331
|
query?: never;
|
|
@@ -7188,6 +7708,17 @@ export interface components {
|
|
|
7188
7708
|
/** Format: date-time */
|
|
7189
7709
|
created_at?: string;
|
|
7190
7710
|
};
|
|
7711
|
+
AgentDraftResponse: {
|
|
7712
|
+
/** Format: uuid */
|
|
7713
|
+
id?: string;
|
|
7714
|
+
name?: string | null;
|
|
7715
|
+
draft_graph_json?: string | null;
|
|
7716
|
+
/** Format: date-time */
|
|
7717
|
+
draft_updated_at?: string | null;
|
|
7718
|
+
/** Format: uuid */
|
|
7719
|
+
live_bundle_id?: string | null;
|
|
7720
|
+
e_tag?: string | null;
|
|
7721
|
+
};
|
|
7191
7722
|
AgentExportAgent: {
|
|
7192
7723
|
/** Format: uuid */
|
|
7193
7724
|
id?: string;
|
|
@@ -7375,6 +7906,9 @@ export interface components {
|
|
|
7375
7906
|
/** Format: uuid */
|
|
7376
7907
|
agent_id?: string | null;
|
|
7377
7908
|
};
|
|
7909
|
+
CreateExampleRequest: {
|
|
7910
|
+
examples?: components["schemas"]["ExampleDto"][] | null;
|
|
7911
|
+
};
|
|
7378
7912
|
CreateExperimentRequest: {
|
|
7379
7913
|
/** Format: uuid */
|
|
7380
7914
|
dataset_id?: string;
|
|
@@ -7474,6 +8008,20 @@ export interface components {
|
|
|
7474
8008
|
CreateWorkspaceRequest: {
|
|
7475
8009
|
name?: string | null;
|
|
7476
8010
|
};
|
|
8011
|
+
DatasetResponse: {
|
|
8012
|
+
/** Format: uuid */
|
|
8013
|
+
id?: string;
|
|
8014
|
+
name?: string | null;
|
|
8015
|
+
description?: string | null;
|
|
8016
|
+
/** Format: uuid */
|
|
8017
|
+
agentId?: string | null;
|
|
8018
|
+
/** Format: int32 */
|
|
8019
|
+
exampleCount?: number;
|
|
8020
|
+
/** Format: date-time */
|
|
8021
|
+
createdAt?: string;
|
|
8022
|
+
/** Format: date-time */
|
|
8023
|
+
updatedAt?: string;
|
|
8024
|
+
};
|
|
7477
8025
|
DryRunRequest: {
|
|
7478
8026
|
/** Format: uuid */
|
|
7479
8027
|
agent_id?: string;
|
|
@@ -7496,6 +8044,22 @@ export interface components {
|
|
|
7496
8044
|
[key: string]: unknown;
|
|
7497
8045
|
} | null;
|
|
7498
8046
|
};
|
|
8047
|
+
ExampleDto: {
|
|
8048
|
+
input?: unknown;
|
|
8049
|
+
expectedOutput?: unknown;
|
|
8050
|
+
metadata?: unknown;
|
|
8051
|
+
};
|
|
8052
|
+
ExampleResponse: {
|
|
8053
|
+
/** Format: uuid */
|
|
8054
|
+
id?: string;
|
|
8055
|
+
/** Format: uuid */
|
|
8056
|
+
datasetId?: string;
|
|
8057
|
+
input?: unknown;
|
|
8058
|
+
expectedOutput?: unknown;
|
|
8059
|
+
metadata?: unknown;
|
|
8060
|
+
/** Format: date-time */
|
|
8061
|
+
createdAt?: string;
|
|
8062
|
+
};
|
|
7499
8063
|
FileConfirmResponse: {
|
|
7500
8064
|
/** Format: uuid */
|
|
7501
8065
|
file_id?: string;
|
|
@@ -7908,6 +8472,15 @@ export interface components {
|
|
|
7908
8472
|
enabled?: boolean | null;
|
|
7909
8473
|
input?: unknown;
|
|
7910
8474
|
};
|
|
8475
|
+
UpdateDatasetRequest: {
|
|
8476
|
+
name?: string | null;
|
|
8477
|
+
description?: string | null;
|
|
8478
|
+
/** Format: uuid */
|
|
8479
|
+
agentId?: string | null;
|
|
8480
|
+
};
|
|
8481
|
+
UpdateDraftGraphRequest: {
|
|
8482
|
+
graphJson?: unknown;
|
|
8483
|
+
};
|
|
7911
8484
|
UpdateMemberRequest: {
|
|
7912
8485
|
/** Format: uuid */
|
|
7913
8486
|
role_id?: string | null;
|