@agent-os-sdk/client 0.4.3 → 0.4.5

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.
@@ -456,6 +456,77 @@ export interface paths {
456
456
  };
457
457
  trace?: never;
458
458
  };
459
+ "/v1/api/agents/{id}/publish": {
460
+ parameters: {
461
+ query?: never;
462
+ header?: never;
463
+ path?: never;
464
+ cookie?: never;
465
+ };
466
+ get?: never;
467
+ put?: never;
468
+ /** Publishes a new version (bundle) of the agent. */
469
+ post: {
470
+ parameters: {
471
+ query?: never;
472
+ header?: never;
473
+ path: {
474
+ id: string;
475
+ };
476
+ cookie?: never;
477
+ };
478
+ requestBody?: {
479
+ content: {
480
+ "application/json": components["schemas"]["PublishAgentRequest"];
481
+ "text/json": components["schemas"]["PublishAgentRequest"];
482
+ "application/*+json": components["schemas"]["PublishAgentRequest"];
483
+ };
484
+ };
485
+ responses: {
486
+ /** @description OK */
487
+ 200: {
488
+ headers: {
489
+ [name: string]: unknown;
490
+ };
491
+ content: {
492
+ "application/json": components["schemas"]["BundleResponse"];
493
+ };
494
+ };
495
+ /** @description Bad Request */
496
+ 400: {
497
+ headers: {
498
+ [name: string]: unknown;
499
+ };
500
+ content: {
501
+ "application/json": components["schemas"]["ProblemDetails"];
502
+ };
503
+ };
504
+ /** @description Unauthorized */
505
+ 401: {
506
+ headers: {
507
+ [name: string]: unknown;
508
+ };
509
+ content: {
510
+ "application/json": components["schemas"]["ProblemDetails"];
511
+ };
512
+ };
513
+ /** @description Not Found */
514
+ 404: {
515
+ headers: {
516
+ [name: string]: unknown;
517
+ };
518
+ content: {
519
+ "application/json": components["schemas"]["ProblemDetails"];
520
+ };
521
+ };
522
+ };
523
+ };
524
+ delete?: never;
525
+ options?: never;
526
+ head?: never;
527
+ patch?: never;
528
+ trace?: never;
529
+ };
459
530
  "/v1/api/agents/{id}/graph": {
460
531
  parameters: {
461
532
  query?: never;
@@ -1885,6 +1956,353 @@ export interface paths {
1885
1956
  patch?: never;
1886
1957
  trace?: never;
1887
1958
  };
1959
+ "/v1/api/datasets": {
1960
+ parameters: {
1961
+ query?: never;
1962
+ header?: never;
1963
+ path?: never;
1964
+ cookie?: never;
1965
+ };
1966
+ /** Lists datasets in the workspace. */
1967
+ get: {
1968
+ parameters: {
1969
+ query?: {
1970
+ skip?: number;
1971
+ take?: number;
1972
+ };
1973
+ header?: never;
1974
+ path?: never;
1975
+ cookie?: never;
1976
+ };
1977
+ requestBody?: never;
1978
+ responses: {
1979
+ /** @description OK */
1980
+ 200: {
1981
+ headers: {
1982
+ [name: string]: unknown;
1983
+ };
1984
+ content: {
1985
+ "application/json": components["schemas"]["DatasetResponse"][];
1986
+ };
1987
+ };
1988
+ /** @description Bad Request */
1989
+ 400: {
1990
+ headers: {
1991
+ [name: string]: unknown;
1992
+ };
1993
+ content: {
1994
+ "application/json": components["schemas"]["ProblemDetails"];
1995
+ };
1996
+ };
1997
+ /** @description Unauthorized */
1998
+ 401: {
1999
+ headers: {
2000
+ [name: string]: unknown;
2001
+ };
2002
+ content: {
2003
+ "application/json": components["schemas"]["ProblemDetails"];
2004
+ };
2005
+ };
2006
+ };
2007
+ };
2008
+ put?: never;
2009
+ /** Creates a new evaluation dataset. */
2010
+ post: {
2011
+ parameters: {
2012
+ query?: never;
2013
+ header?: never;
2014
+ path?: never;
2015
+ cookie?: never;
2016
+ };
2017
+ requestBody?: {
2018
+ content: {
2019
+ "application/json": components["schemas"]["CreateDatasetRequest"];
2020
+ "text/json": components["schemas"]["CreateDatasetRequest"];
2021
+ "application/*+json": components["schemas"]["CreateDatasetRequest"];
2022
+ };
2023
+ };
2024
+ responses: {
2025
+ /** @description Created */
2026
+ 201: {
2027
+ headers: {
2028
+ [name: string]: unknown;
2029
+ };
2030
+ content: {
2031
+ "application/json": components["schemas"]["DatasetResponse"];
2032
+ };
2033
+ };
2034
+ /** @description Bad Request */
2035
+ 400: {
2036
+ headers: {
2037
+ [name: string]: unknown;
2038
+ };
2039
+ content: {
2040
+ "application/json": components["schemas"]["ProblemDetails"];
2041
+ };
2042
+ };
2043
+ /** @description Unauthorized */
2044
+ 401: {
2045
+ headers: {
2046
+ [name: string]: unknown;
2047
+ };
2048
+ content: {
2049
+ "application/json": components["schemas"]["ProblemDetails"];
2050
+ };
2051
+ };
2052
+ };
2053
+ };
2054
+ delete?: never;
2055
+ options?: never;
2056
+ head?: never;
2057
+ patch?: never;
2058
+ trace?: never;
2059
+ };
2060
+ "/v1/api/datasets/{id}": {
2061
+ parameters: {
2062
+ query?: never;
2063
+ header?: never;
2064
+ path?: never;
2065
+ cookie?: never;
2066
+ };
2067
+ /** Gets a specific dataset by ID. */
2068
+ get: {
2069
+ parameters: {
2070
+ query?: never;
2071
+ header?: never;
2072
+ path: {
2073
+ id: string;
2074
+ };
2075
+ cookie?: never;
2076
+ };
2077
+ requestBody?: never;
2078
+ responses: {
2079
+ /** @description OK */
2080
+ 200: {
2081
+ headers: {
2082
+ [name: string]: unknown;
2083
+ };
2084
+ content: {
2085
+ "application/json": components["schemas"]["DatasetResponse"];
2086
+ };
2087
+ };
2088
+ /** @description Unauthorized */
2089
+ 401: {
2090
+ headers: {
2091
+ [name: string]: unknown;
2092
+ };
2093
+ content: {
2094
+ "application/json": components["schemas"]["ProblemDetails"];
2095
+ };
2096
+ };
2097
+ /** @description Not Found */
2098
+ 404: {
2099
+ headers: {
2100
+ [name: string]: unknown;
2101
+ };
2102
+ content: {
2103
+ "application/json": components["schemas"]["ProblemDetails"];
2104
+ };
2105
+ };
2106
+ };
2107
+ };
2108
+ put?: never;
2109
+ post?: never;
2110
+ /** Soft deletes a dataset. */
2111
+ delete: {
2112
+ parameters: {
2113
+ query?: never;
2114
+ header?: never;
2115
+ path: {
2116
+ id: string;
2117
+ };
2118
+ cookie?: never;
2119
+ };
2120
+ requestBody?: never;
2121
+ responses: {
2122
+ /** @description No Content */
2123
+ 204: {
2124
+ headers: {
2125
+ [name: string]: unknown;
2126
+ };
2127
+ content?: never;
2128
+ };
2129
+ /** @description Not Found */
2130
+ 404: {
2131
+ headers: {
2132
+ [name: string]: unknown;
2133
+ };
2134
+ content: {
2135
+ "application/json": components["schemas"]["ProblemDetails"];
2136
+ };
2137
+ };
2138
+ };
2139
+ };
2140
+ options?: never;
2141
+ head?: never;
2142
+ /** Updates a dataset (Partial Update). */
2143
+ patch: {
2144
+ parameters: {
2145
+ query?: never;
2146
+ header?: never;
2147
+ path: {
2148
+ id: string;
2149
+ };
2150
+ cookie?: never;
2151
+ };
2152
+ requestBody?: {
2153
+ content: {
2154
+ "application/json": components["schemas"]["UpdateDatasetRequest"];
2155
+ "text/json": components["schemas"]["UpdateDatasetRequest"];
2156
+ "application/*+json": components["schemas"]["UpdateDatasetRequest"];
2157
+ };
2158
+ };
2159
+ responses: {
2160
+ /** @description OK */
2161
+ 200: {
2162
+ headers: {
2163
+ [name: string]: unknown;
2164
+ };
2165
+ content: {
2166
+ "application/json": components["schemas"]["DatasetResponse"];
2167
+ };
2168
+ };
2169
+ /** @description Not Found */
2170
+ 404: {
2171
+ headers: {
2172
+ [name: string]: unknown;
2173
+ };
2174
+ content: {
2175
+ "application/json": components["schemas"]["ProblemDetails"];
2176
+ };
2177
+ };
2178
+ };
2179
+ };
2180
+ trace?: never;
2181
+ };
2182
+ "/v1/api/datasets/{id}/examples": {
2183
+ parameters: {
2184
+ query?: never;
2185
+ header?: never;
2186
+ path?: never;
2187
+ cookie?: never;
2188
+ };
2189
+ /** Lists examples for a dataset. */
2190
+ get: {
2191
+ parameters: {
2192
+ query?: {
2193
+ skip?: number;
2194
+ take?: number;
2195
+ };
2196
+ header?: never;
2197
+ path: {
2198
+ id: string;
2199
+ };
2200
+ cookie?: never;
2201
+ };
2202
+ requestBody?: never;
2203
+ responses: {
2204
+ /** @description OK */
2205
+ 200: {
2206
+ headers: {
2207
+ [name: string]: unknown;
2208
+ };
2209
+ content: {
2210
+ "application/json": components["schemas"]["ExampleResponse"][];
2211
+ };
2212
+ };
2213
+ };
2214
+ };
2215
+ put?: never;
2216
+ /** Adds examples to a dataset (Batch). */
2217
+ post: {
2218
+ parameters: {
2219
+ query?: never;
2220
+ header?: never;
2221
+ path: {
2222
+ id: string;
2223
+ };
2224
+ cookie?: never;
2225
+ };
2226
+ requestBody?: {
2227
+ content: {
2228
+ "application/json": components["schemas"]["CreateExampleRequest"];
2229
+ "text/json": components["schemas"]["CreateExampleRequest"];
2230
+ "application/*+json": components["schemas"]["CreateExampleRequest"];
2231
+ };
2232
+ };
2233
+ responses: {
2234
+ /** @description Created */
2235
+ 201: {
2236
+ headers: {
2237
+ [name: string]: unknown;
2238
+ };
2239
+ content: {
2240
+ "application/json": components["schemas"]["ExampleResponse"][];
2241
+ };
2242
+ };
2243
+ /** @description Not Found */
2244
+ 404: {
2245
+ headers: {
2246
+ [name: string]: unknown;
2247
+ };
2248
+ content: {
2249
+ "application/json": components["schemas"]["ProblemDetails"];
2250
+ };
2251
+ };
2252
+ };
2253
+ };
2254
+ delete?: never;
2255
+ options?: never;
2256
+ head?: never;
2257
+ patch?: never;
2258
+ trace?: never;
2259
+ };
2260
+ "/v1/api/datasets/{id}/examples/{exampleId}": {
2261
+ parameters: {
2262
+ query?: never;
2263
+ header?: never;
2264
+ path?: never;
2265
+ cookie?: never;
2266
+ };
2267
+ get?: never;
2268
+ put?: never;
2269
+ post?: never;
2270
+ /** Deletes a specific example. */
2271
+ delete: {
2272
+ parameters: {
2273
+ query?: never;
2274
+ header?: never;
2275
+ path: {
2276
+ id: string;
2277
+ exampleId: string;
2278
+ };
2279
+ cookie?: never;
2280
+ };
2281
+ requestBody?: never;
2282
+ responses: {
2283
+ /** @description No Content */
2284
+ 204: {
2285
+ headers: {
2286
+ [name: string]: unknown;
2287
+ };
2288
+ content?: never;
2289
+ };
2290
+ /** @description Not Found */
2291
+ 404: {
2292
+ headers: {
2293
+ [name: string]: unknown;
2294
+ };
2295
+ content: {
2296
+ "application/json": components["schemas"]["ProblemDetails"];
2297
+ };
2298
+ };
2299
+ };
2300
+ };
2301
+ options?: never;
2302
+ head?: never;
2303
+ patch?: never;
2304
+ trace?: never;
2305
+ };
1888
2306
  "/v1/api/runs/dlq": {
1889
2307
  parameters: {
1890
2308
  query?: never;
@@ -6681,7 +7099,32 @@ export interface paths {
6681
7099
  path?: never;
6682
7100
  cookie?: never;
6683
7101
  };
6684
- get?: never;
7102
+ /** List files in a vector store. */
7103
+ get: {
7104
+ parameters: {
7105
+ query?: {
7106
+ skip?: number;
7107
+ take?: number;
7108
+ };
7109
+ header?: never;
7110
+ path: {
7111
+ vectorStoreId: string;
7112
+ };
7113
+ cookie?: never;
7114
+ };
7115
+ requestBody?: never;
7116
+ responses: {
7117
+ /** @description OK */
7118
+ 200: {
7119
+ headers: {
7120
+ [name: string]: unknown;
7121
+ };
7122
+ content: {
7123
+ "application/json": components["schemas"]["VectorStoreFileResponse"][];
7124
+ };
7125
+ };
7126
+ };
7127
+ };
6685
7128
  put?: never;
6686
7129
  /** Attach a file to a vector store for embedding. */
6687
7130
  post: {
@@ -6736,6 +7179,59 @@ export interface paths {
6736
7179
  patch?: never;
6737
7180
  trace?: never;
6738
7181
  };
7182
+ "/v1/api/vector-stores/{vectorStoreId}/files/{fileId}": {
7183
+ parameters: {
7184
+ query?: never;
7185
+ header?: never;
7186
+ path?: never;
7187
+ cookie?: never;
7188
+ };
7189
+ get?: never;
7190
+ put?: never;
7191
+ post?: never;
7192
+ /**
7193
+ * Detach a file from a vector store.
7194
+ * @description Removes the file association from the vector store.
7195
+ * **Important:** This does NOT delete the file from storage (S3), only checks out the link.
7196
+ * Embeddings related to this file are NOT immediately cleaned up (future work).
7197
+ */
7198
+ delete: {
7199
+ parameters: {
7200
+ query?: never;
7201
+ header?: never;
7202
+ path: {
7203
+ /** @description Vector Store ID */
7204
+ vectorStoreId: string;
7205
+ /** @description The StoredFile ID (not the join record ID) */
7206
+ fileId: string;
7207
+ };
7208
+ cookie?: never;
7209
+ };
7210
+ requestBody?: never;
7211
+ responses: {
7212
+ /** @description No Content */
7213
+ 204: {
7214
+ headers: {
7215
+ [name: string]: unknown;
7216
+ };
7217
+ content?: never;
7218
+ };
7219
+ /** @description Not Found */
7220
+ 404: {
7221
+ headers: {
7222
+ [name: string]: unknown;
7223
+ };
7224
+ content: {
7225
+ "application/json": components["schemas"]["ProblemDetails"];
7226
+ };
7227
+ };
7228
+ };
7229
+ };
7230
+ options?: never;
7231
+ head?: never;
7232
+ patch?: never;
7233
+ trace?: never;
7234
+ };
6739
7235
  "/v1/api/vector-stores/{vectorStoreId}/query": {
6740
7236
  parameters: {
6741
7237
  query?: never;
@@ -7180,6 +7676,23 @@ export interface components {
7180
7676
  thread_id?: string | null;
7181
7677
  base_graph_etag?: string | null;
7182
7678
  };
7679
+ BundleResponse: {
7680
+ /** Format: uuid */
7681
+ id?: string;
7682
+ /** Format: uuid */
7683
+ tenant_id?: string;
7684
+ /** Format: uuid */
7685
+ workspace_id?: string;
7686
+ /** Format: uuid */
7687
+ agent_id?: string;
7688
+ artifact_uri?: string | null;
7689
+ artifact_hash?: string | null;
7690
+ format?: string | null;
7691
+ content_hash?: string | null;
7692
+ /** Format: date-time */
7693
+ created_at?: string;
7694
+ label?: string | null;
7695
+ };
7183
7696
  CancelRequest: {
7184
7697
  reason?: string | null;
7185
7698
  };
@@ -7288,6 +7801,9 @@ export interface components {
7288
7801
  /** Format: uuid */
7289
7802
  agent_id?: string | null;
7290
7803
  };
7804
+ CreateExampleRequest: {
7805
+ examples?: components["schemas"]["ExampleDto"][] | null;
7806
+ };
7291
7807
  CreateExperimentRequest: {
7292
7808
  /** Format: uuid */
7293
7809
  dataset_id?: string;
@@ -7387,6 +7903,20 @@ export interface components {
7387
7903
  CreateWorkspaceRequest: {
7388
7904
  name?: string | null;
7389
7905
  };
7906
+ DatasetResponse: {
7907
+ /** Format: uuid */
7908
+ id?: string;
7909
+ name?: string | null;
7910
+ description?: string | null;
7911
+ /** Format: uuid */
7912
+ agentId?: string | null;
7913
+ /** Format: int32 */
7914
+ exampleCount?: number;
7915
+ /** Format: date-time */
7916
+ createdAt?: string;
7917
+ /** Format: date-time */
7918
+ updatedAt?: string;
7919
+ };
7390
7920
  DryRunRequest: {
7391
7921
  /** Format: uuid */
7392
7922
  agent_id?: string;
@@ -7409,6 +7939,22 @@ export interface components {
7409
7939
  [key: string]: unknown;
7410
7940
  } | null;
7411
7941
  };
7942
+ ExampleDto: {
7943
+ input?: unknown;
7944
+ expectedOutput?: unknown;
7945
+ metadata?: unknown;
7946
+ };
7947
+ ExampleResponse: {
7948
+ /** Format: uuid */
7949
+ id?: string;
7950
+ /** Format: uuid */
7951
+ datasetId?: string;
7952
+ input?: unknown;
7953
+ expectedOutput?: unknown;
7954
+ metadata?: unknown;
7955
+ /** Format: date-time */
7956
+ createdAt?: string;
7957
+ };
7412
7958
  FileConfirmResponse: {
7413
7959
  /** Format: uuid */
7414
7960
  file_id?: string;
@@ -7549,6 +8095,11 @@ export interface components {
7549
8095
  } & {
7550
8096
  [key: string]: unknown;
7551
8097
  };
8098
+ PublishAgentRequest: {
8099
+ version_label?: string | null;
8100
+ graph_spec?: unknown;
8101
+ set_as_live?: boolean;
8102
+ };
7552
8103
  ReplayRequest: {
7553
8104
  modified_input?: string | null;
7554
8105
  create_new_thread?: boolean;
@@ -7816,6 +8367,12 @@ export interface components {
7816
8367
  enabled?: boolean | null;
7817
8368
  input?: unknown;
7818
8369
  };
8370
+ UpdateDatasetRequest: {
8371
+ name?: string | null;
8372
+ description?: string | null;
8373
+ /** Format: uuid */
8374
+ agentId?: string | null;
8375
+ };
7819
8376
  UpdateMemberRequest: {
7820
8377
  /** Format: uuid */
7821
8378
  role_id?: string | null;