@agent-os-sdk/client 0.4.4 → 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.
@@ -1955,6 +1955,353 @@ export interface paths {
1955
1955
  patch?: never;
1956
1956
  trace?: never;
1957
1957
  };
1958
+ "/v1/api/datasets": {
1959
+ parameters: {
1960
+ query?: never;
1961
+ header?: never;
1962
+ path?: never;
1963
+ cookie?: never;
1964
+ };
1965
+ /** Lists datasets in the workspace. */
1966
+ get: {
1967
+ parameters: {
1968
+ query?: {
1969
+ skip?: number;
1970
+ take?: number;
1971
+ };
1972
+ header?: never;
1973
+ path?: never;
1974
+ cookie?: never;
1975
+ };
1976
+ requestBody?: never;
1977
+ responses: {
1978
+ /** @description OK */
1979
+ 200: {
1980
+ headers: {
1981
+ [name: string]: unknown;
1982
+ };
1983
+ content: {
1984
+ "application/json": components["schemas"]["DatasetResponse"][];
1985
+ };
1986
+ };
1987
+ /** @description Bad Request */
1988
+ 400: {
1989
+ headers: {
1990
+ [name: string]: unknown;
1991
+ };
1992
+ content: {
1993
+ "application/json": components["schemas"]["ProblemDetails"];
1994
+ };
1995
+ };
1996
+ /** @description Unauthorized */
1997
+ 401: {
1998
+ headers: {
1999
+ [name: string]: unknown;
2000
+ };
2001
+ content: {
2002
+ "application/json": components["schemas"]["ProblemDetails"];
2003
+ };
2004
+ };
2005
+ };
2006
+ };
2007
+ put?: never;
2008
+ /** Creates a new evaluation dataset. */
2009
+ post: {
2010
+ parameters: {
2011
+ query?: never;
2012
+ header?: never;
2013
+ path?: never;
2014
+ cookie?: never;
2015
+ };
2016
+ requestBody?: {
2017
+ content: {
2018
+ "application/json": components["schemas"]["CreateDatasetRequest"];
2019
+ "text/json": components["schemas"]["CreateDatasetRequest"];
2020
+ "application/*+json": components["schemas"]["CreateDatasetRequest"];
2021
+ };
2022
+ };
2023
+ responses: {
2024
+ /** @description Created */
2025
+ 201: {
2026
+ headers: {
2027
+ [name: string]: unknown;
2028
+ };
2029
+ content: {
2030
+ "application/json": components["schemas"]["DatasetResponse"];
2031
+ };
2032
+ };
2033
+ /** @description Bad Request */
2034
+ 400: {
2035
+ headers: {
2036
+ [name: string]: unknown;
2037
+ };
2038
+ content: {
2039
+ "application/json": components["schemas"]["ProblemDetails"];
2040
+ };
2041
+ };
2042
+ /** @description Unauthorized */
2043
+ 401: {
2044
+ headers: {
2045
+ [name: string]: unknown;
2046
+ };
2047
+ content: {
2048
+ "application/json": components["schemas"]["ProblemDetails"];
2049
+ };
2050
+ };
2051
+ };
2052
+ };
2053
+ delete?: never;
2054
+ options?: never;
2055
+ head?: never;
2056
+ patch?: never;
2057
+ trace?: never;
2058
+ };
2059
+ "/v1/api/datasets/{id}": {
2060
+ parameters: {
2061
+ query?: never;
2062
+ header?: never;
2063
+ path?: never;
2064
+ cookie?: never;
2065
+ };
2066
+ /** Gets a specific dataset by ID. */
2067
+ get: {
2068
+ parameters: {
2069
+ query?: never;
2070
+ header?: never;
2071
+ path: {
2072
+ id: string;
2073
+ };
2074
+ cookie?: never;
2075
+ };
2076
+ requestBody?: never;
2077
+ responses: {
2078
+ /** @description OK */
2079
+ 200: {
2080
+ headers: {
2081
+ [name: string]: unknown;
2082
+ };
2083
+ content: {
2084
+ "application/json": components["schemas"]["DatasetResponse"];
2085
+ };
2086
+ };
2087
+ /** @description Unauthorized */
2088
+ 401: {
2089
+ headers: {
2090
+ [name: string]: unknown;
2091
+ };
2092
+ content: {
2093
+ "application/json": components["schemas"]["ProblemDetails"];
2094
+ };
2095
+ };
2096
+ /** @description Not Found */
2097
+ 404: {
2098
+ headers: {
2099
+ [name: string]: unknown;
2100
+ };
2101
+ content: {
2102
+ "application/json": components["schemas"]["ProblemDetails"];
2103
+ };
2104
+ };
2105
+ };
2106
+ };
2107
+ put?: never;
2108
+ post?: never;
2109
+ /** Soft deletes a dataset. */
2110
+ delete: {
2111
+ parameters: {
2112
+ query?: never;
2113
+ header?: never;
2114
+ path: {
2115
+ id: string;
2116
+ };
2117
+ cookie?: never;
2118
+ };
2119
+ requestBody?: never;
2120
+ responses: {
2121
+ /** @description No Content */
2122
+ 204: {
2123
+ headers: {
2124
+ [name: string]: unknown;
2125
+ };
2126
+ content?: never;
2127
+ };
2128
+ /** @description Not Found */
2129
+ 404: {
2130
+ headers: {
2131
+ [name: string]: unknown;
2132
+ };
2133
+ content: {
2134
+ "application/json": components["schemas"]["ProblemDetails"];
2135
+ };
2136
+ };
2137
+ };
2138
+ };
2139
+ options?: never;
2140
+ head?: never;
2141
+ /** Updates a dataset (Partial Update). */
2142
+ patch: {
2143
+ parameters: {
2144
+ query?: never;
2145
+ header?: never;
2146
+ path: {
2147
+ id: string;
2148
+ };
2149
+ cookie?: never;
2150
+ };
2151
+ requestBody?: {
2152
+ content: {
2153
+ "application/json": components["schemas"]["UpdateDatasetRequest"];
2154
+ "text/json": components["schemas"]["UpdateDatasetRequest"];
2155
+ "application/*+json": components["schemas"]["UpdateDatasetRequest"];
2156
+ };
2157
+ };
2158
+ responses: {
2159
+ /** @description OK */
2160
+ 200: {
2161
+ headers: {
2162
+ [name: string]: unknown;
2163
+ };
2164
+ content: {
2165
+ "application/json": components["schemas"]["DatasetResponse"];
2166
+ };
2167
+ };
2168
+ /** @description Not Found */
2169
+ 404: {
2170
+ headers: {
2171
+ [name: string]: unknown;
2172
+ };
2173
+ content: {
2174
+ "application/json": components["schemas"]["ProblemDetails"];
2175
+ };
2176
+ };
2177
+ };
2178
+ };
2179
+ trace?: never;
2180
+ };
2181
+ "/v1/api/datasets/{id}/examples": {
2182
+ parameters: {
2183
+ query?: never;
2184
+ header?: never;
2185
+ path?: never;
2186
+ cookie?: never;
2187
+ };
2188
+ /** Lists examples for a dataset. */
2189
+ get: {
2190
+ parameters: {
2191
+ query?: {
2192
+ skip?: number;
2193
+ take?: number;
2194
+ };
2195
+ header?: never;
2196
+ path: {
2197
+ id: string;
2198
+ };
2199
+ cookie?: never;
2200
+ };
2201
+ requestBody?: never;
2202
+ responses: {
2203
+ /** @description OK */
2204
+ 200: {
2205
+ headers: {
2206
+ [name: string]: unknown;
2207
+ };
2208
+ content: {
2209
+ "application/json": components["schemas"]["ExampleResponse"][];
2210
+ };
2211
+ };
2212
+ };
2213
+ };
2214
+ put?: never;
2215
+ /** Adds examples to a dataset (Batch). */
2216
+ post: {
2217
+ parameters: {
2218
+ query?: never;
2219
+ header?: never;
2220
+ path: {
2221
+ id: string;
2222
+ };
2223
+ cookie?: never;
2224
+ };
2225
+ requestBody?: {
2226
+ content: {
2227
+ "application/json": components["schemas"]["CreateExampleRequest"];
2228
+ "text/json": components["schemas"]["CreateExampleRequest"];
2229
+ "application/*+json": components["schemas"]["CreateExampleRequest"];
2230
+ };
2231
+ };
2232
+ responses: {
2233
+ /** @description Created */
2234
+ 201: {
2235
+ headers: {
2236
+ [name: string]: unknown;
2237
+ };
2238
+ content: {
2239
+ "application/json": components["schemas"]["ExampleResponse"][];
2240
+ };
2241
+ };
2242
+ /** @description Not Found */
2243
+ 404: {
2244
+ headers: {
2245
+ [name: string]: unknown;
2246
+ };
2247
+ content: {
2248
+ "application/json": components["schemas"]["ProblemDetails"];
2249
+ };
2250
+ };
2251
+ };
2252
+ };
2253
+ delete?: never;
2254
+ options?: never;
2255
+ head?: never;
2256
+ patch?: never;
2257
+ trace?: never;
2258
+ };
2259
+ "/v1/api/datasets/{id}/examples/{exampleId}": {
2260
+ parameters: {
2261
+ query?: never;
2262
+ header?: never;
2263
+ path?: never;
2264
+ cookie?: never;
2265
+ };
2266
+ get?: never;
2267
+ put?: never;
2268
+ post?: never;
2269
+ /** Deletes a specific example. */
2270
+ delete: {
2271
+ parameters: {
2272
+ query?: never;
2273
+ header?: never;
2274
+ path: {
2275
+ id: string;
2276
+ exampleId: string;
2277
+ };
2278
+ cookie?: never;
2279
+ };
2280
+ requestBody?: never;
2281
+ responses: {
2282
+ /** @description No Content */
2283
+ 204: {
2284
+ headers: {
2285
+ [name: string]: unknown;
2286
+ };
2287
+ content?: never;
2288
+ };
2289
+ /** @description Not Found */
2290
+ 404: {
2291
+ headers: {
2292
+ [name: string]: unknown;
2293
+ };
2294
+ content: {
2295
+ "application/json": components["schemas"]["ProblemDetails"];
2296
+ };
2297
+ };
2298
+ };
2299
+ };
2300
+ options?: never;
2301
+ head?: never;
2302
+ patch?: never;
2303
+ trace?: never;
2304
+ };
1958
2305
  "/v1/api/runs/dlq": {
1959
2306
  parameters: {
1960
2307
  query?: never;
@@ -6751,7 +7098,32 @@ export interface paths {
6751
7098
  path?: never;
6752
7099
  cookie?: never;
6753
7100
  };
6754
- get?: never;
7101
+ /** List files in a vector store. */
7102
+ get: {
7103
+ parameters: {
7104
+ query?: {
7105
+ skip?: number;
7106
+ take?: number;
7107
+ };
7108
+ header?: never;
7109
+ path: {
7110
+ vectorStoreId: string;
7111
+ };
7112
+ cookie?: never;
7113
+ };
7114
+ requestBody?: never;
7115
+ responses: {
7116
+ /** @description OK */
7117
+ 200: {
7118
+ headers: {
7119
+ [name: string]: unknown;
7120
+ };
7121
+ content: {
7122
+ "application/json": components["schemas"]["VectorStoreFileResponse"][];
7123
+ };
7124
+ };
7125
+ };
7126
+ };
6755
7127
  put?: never;
6756
7128
  /** Attach a file to a vector store for embedding. */
6757
7129
  post: {
@@ -6806,6 +7178,59 @@ export interface paths {
6806
7178
  patch?: never;
6807
7179
  trace?: never;
6808
7180
  };
7181
+ "/v1/api/vector-stores/{vectorStoreId}/files/{fileId}": {
7182
+ parameters: {
7183
+ query?: never;
7184
+ header?: never;
7185
+ path?: never;
7186
+ cookie?: never;
7187
+ };
7188
+ get?: never;
7189
+ put?: never;
7190
+ post?: never;
7191
+ /**
7192
+ * Detach a file from a vector store.
7193
+ * @description Removes the file association from the vector store.
7194
+ * **Important:** This does NOT delete the file from storage (S3), only checks out the link.
7195
+ * Embeddings related to this file are NOT immediately cleaned up (future work).
7196
+ */
7197
+ delete: {
7198
+ parameters: {
7199
+ query?: never;
7200
+ header?: never;
7201
+ path: {
7202
+ /** @description Vector Store ID */
7203
+ vectorStoreId: string;
7204
+ /** @description The StoredFile ID (not the join record ID) */
7205
+ fileId: string;
7206
+ };
7207
+ cookie?: never;
7208
+ };
7209
+ requestBody?: never;
7210
+ responses: {
7211
+ /** @description No Content */
7212
+ 204: {
7213
+ headers: {
7214
+ [name: string]: unknown;
7215
+ };
7216
+ content?: never;
7217
+ };
7218
+ /** @description Not Found */
7219
+ 404: {
7220
+ headers: {
7221
+ [name: string]: unknown;
7222
+ };
7223
+ content: {
7224
+ "application/json": components["schemas"]["ProblemDetails"];
7225
+ };
7226
+ };
7227
+ };
7228
+ };
7229
+ options?: never;
7230
+ head?: never;
7231
+ patch?: never;
7232
+ trace?: never;
7233
+ };
6809
7234
  "/v1/api/vector-stores/{vectorStoreId}/query": {
6810
7235
  parameters: {
6811
7236
  query?: never;
@@ -7375,6 +7800,9 @@ export interface components {
7375
7800
  /** Format: uuid */
7376
7801
  agent_id?: string | null;
7377
7802
  };
7803
+ CreateExampleRequest: {
7804
+ examples?: components["schemas"]["ExampleDto"][] | null;
7805
+ };
7378
7806
  CreateExperimentRequest: {
7379
7807
  /** Format: uuid */
7380
7808
  dataset_id?: string;
@@ -7474,6 +7902,20 @@ export interface components {
7474
7902
  CreateWorkspaceRequest: {
7475
7903
  name?: string | null;
7476
7904
  };
7905
+ DatasetResponse: {
7906
+ /** Format: uuid */
7907
+ id?: string;
7908
+ name?: string | null;
7909
+ description?: string | null;
7910
+ /** Format: uuid */
7911
+ agentId?: string | null;
7912
+ /** Format: int32 */
7913
+ exampleCount?: number;
7914
+ /** Format: date-time */
7915
+ createdAt?: string;
7916
+ /** Format: date-time */
7917
+ updatedAt?: string;
7918
+ };
7477
7919
  DryRunRequest: {
7478
7920
  /** Format: uuid */
7479
7921
  agent_id?: string;
@@ -7496,6 +7938,22 @@ export interface components {
7496
7938
  [key: string]: unknown;
7497
7939
  } | null;
7498
7940
  };
7941
+ ExampleDto: {
7942
+ input?: unknown;
7943
+ expectedOutput?: unknown;
7944
+ metadata?: unknown;
7945
+ };
7946
+ ExampleResponse: {
7947
+ /** Format: uuid */
7948
+ id?: string;
7949
+ /** Format: uuid */
7950
+ datasetId?: string;
7951
+ input?: unknown;
7952
+ expectedOutput?: unknown;
7953
+ metadata?: unknown;
7954
+ /** Format: date-time */
7955
+ createdAt?: string;
7956
+ };
7499
7957
  FileConfirmResponse: {
7500
7958
  /** Format: uuid */
7501
7959
  file_id?: string;
@@ -7908,6 +8366,12 @@ export interface components {
7908
8366
  enabled?: boolean | null;
7909
8367
  input?: unknown;
7910
8368
  };
8369
+ UpdateDatasetRequest: {
8370
+ name?: string | null;
8371
+ description?: string | null;
8372
+ /** Format: uuid */
8373
+ agentId?: string | null;
8374
+ };
7911
8375
  UpdateMemberRequest: {
7912
8376
  /** Format: uuid */
7913
8377
  role_id?: string | null;