@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.
@@ -405,6 +405,86 @@
405
405
  }
406
406
  }
407
407
  },
408
+ "/v1/api/agents/{id}/publish": {
409
+ "post": {
410
+ "tags": [
411
+ "Agents"
412
+ ],
413
+ "summary": "Publishes a new version (bundle) of the agent.",
414
+ "parameters": [
415
+ {
416
+ "name": "id",
417
+ "in": "path",
418
+ "required": true,
419
+ "schema": {
420
+ "type": "string",
421
+ "format": "uuid"
422
+ }
423
+ }
424
+ ],
425
+ "requestBody": {
426
+ "content": {
427
+ "application/json": {
428
+ "schema": {
429
+ "$ref": "#/components/schemas/PublishAgentRequest"
430
+ }
431
+ },
432
+ "text/json": {
433
+ "schema": {
434
+ "$ref": "#/components/schemas/PublishAgentRequest"
435
+ }
436
+ },
437
+ "application/*+json": {
438
+ "schema": {
439
+ "$ref": "#/components/schemas/PublishAgentRequest"
440
+ }
441
+ }
442
+ }
443
+ },
444
+ "responses": {
445
+ "200": {
446
+ "description": "OK",
447
+ "content": {
448
+ "application/json": {
449
+ "schema": {
450
+ "$ref": "#/components/schemas/BundleResponse"
451
+ }
452
+ }
453
+ }
454
+ },
455
+ "404": {
456
+ "description": "Not Found",
457
+ "content": {
458
+ "application/json": {
459
+ "schema": {
460
+ "$ref": "#/components/schemas/ProblemDetails"
461
+ }
462
+ }
463
+ }
464
+ },
465
+ "400": {
466
+ "description": "Bad Request",
467
+ "content": {
468
+ "application/json": {
469
+ "schema": {
470
+ "$ref": "#/components/schemas/ProblemDetails"
471
+ }
472
+ }
473
+ }
474
+ },
475
+ "401": {
476
+ "description": "Unauthorized",
477
+ "content": {
478
+ "application/json": {
479
+ "schema": {
480
+ "$ref": "#/components/schemas/ProblemDetails"
481
+ }
482
+ }
483
+ }
484
+ }
485
+ }
486
+ }
487
+ },
408
488
  "/v1/api/agents/{id}/graph": {
409
489
  "get": {
410
490
  "tags": [
@@ -1817,15 +1897,432 @@
1817
1897
  "name": "take",
1818
1898
  "in": "query",
1819
1899
  "schema": {
1820
- "type": "integer",
1821
- "format": "int32",
1822
- "default": 50
1900
+ "type": "integer",
1901
+ "format": "int32",
1902
+ "default": 50
1903
+ }
1904
+ }
1905
+ ],
1906
+ "responses": {
1907
+ "200": {
1908
+ "description": "OK"
1909
+ }
1910
+ }
1911
+ }
1912
+ },
1913
+ "/v1/api/datasets": {
1914
+ "post": {
1915
+ "tags": [
1916
+ "Datasets"
1917
+ ],
1918
+ "summary": "Creates a new evaluation dataset.",
1919
+ "requestBody": {
1920
+ "content": {
1921
+ "application/json": {
1922
+ "schema": {
1923
+ "$ref": "#/components/schemas/CreateDatasetRequest"
1924
+ }
1925
+ },
1926
+ "text/json": {
1927
+ "schema": {
1928
+ "$ref": "#/components/schemas/CreateDatasetRequest"
1929
+ }
1930
+ },
1931
+ "application/*+json": {
1932
+ "schema": {
1933
+ "$ref": "#/components/schemas/CreateDatasetRequest"
1934
+ }
1935
+ }
1936
+ }
1937
+ },
1938
+ "responses": {
1939
+ "201": {
1940
+ "description": "Created",
1941
+ "content": {
1942
+ "application/json": {
1943
+ "schema": {
1944
+ "$ref": "#/components/schemas/DatasetResponse"
1945
+ }
1946
+ }
1947
+ }
1948
+ },
1949
+ "400": {
1950
+ "description": "Bad Request",
1951
+ "content": {
1952
+ "application/json": {
1953
+ "schema": {
1954
+ "$ref": "#/components/schemas/ProblemDetails"
1955
+ }
1956
+ }
1957
+ }
1958
+ },
1959
+ "401": {
1960
+ "description": "Unauthorized",
1961
+ "content": {
1962
+ "application/json": {
1963
+ "schema": {
1964
+ "$ref": "#/components/schemas/ProblemDetails"
1965
+ }
1966
+ }
1967
+ }
1968
+ }
1969
+ }
1970
+ },
1971
+ "get": {
1972
+ "tags": [
1973
+ "Datasets"
1974
+ ],
1975
+ "summary": "Lists datasets in the workspace.",
1976
+ "parameters": [
1977
+ {
1978
+ "name": "skip",
1979
+ "in": "query",
1980
+ "schema": {
1981
+ "type": "integer",
1982
+ "format": "int32",
1983
+ "default": 0
1984
+ }
1985
+ },
1986
+ {
1987
+ "name": "take",
1988
+ "in": "query",
1989
+ "schema": {
1990
+ "type": "integer",
1991
+ "format": "int32",
1992
+ "default": 20
1993
+ }
1994
+ }
1995
+ ],
1996
+ "responses": {
1997
+ "200": {
1998
+ "description": "OK",
1999
+ "content": {
2000
+ "application/json": {
2001
+ "schema": {
2002
+ "type": "array",
2003
+ "items": {
2004
+ "$ref": "#/components/schemas/DatasetResponse"
2005
+ }
2006
+ }
2007
+ }
2008
+ }
2009
+ },
2010
+ "401": {
2011
+ "description": "Unauthorized",
2012
+ "content": {
2013
+ "application/json": {
2014
+ "schema": {
2015
+ "$ref": "#/components/schemas/ProblemDetails"
2016
+ }
2017
+ }
2018
+ }
2019
+ },
2020
+ "400": {
2021
+ "description": "Bad Request",
2022
+ "content": {
2023
+ "application/json": {
2024
+ "schema": {
2025
+ "$ref": "#/components/schemas/ProblemDetails"
2026
+ }
2027
+ }
2028
+ }
2029
+ }
2030
+ }
2031
+ }
2032
+ },
2033
+ "/v1/api/datasets/{id}": {
2034
+ "get": {
2035
+ "tags": [
2036
+ "Datasets"
2037
+ ],
2038
+ "summary": "Gets a specific dataset by ID.",
2039
+ "parameters": [
2040
+ {
2041
+ "name": "id",
2042
+ "in": "path",
2043
+ "required": true,
2044
+ "schema": {
2045
+ "type": "string",
2046
+ "format": "uuid"
2047
+ }
2048
+ }
2049
+ ],
2050
+ "responses": {
2051
+ "200": {
2052
+ "description": "OK",
2053
+ "content": {
2054
+ "application/json": {
2055
+ "schema": {
2056
+ "$ref": "#/components/schemas/DatasetResponse"
2057
+ }
2058
+ }
2059
+ }
2060
+ },
2061
+ "404": {
2062
+ "description": "Not Found",
2063
+ "content": {
2064
+ "application/json": {
2065
+ "schema": {
2066
+ "$ref": "#/components/schemas/ProblemDetails"
2067
+ }
2068
+ }
2069
+ }
2070
+ },
2071
+ "401": {
2072
+ "description": "Unauthorized",
2073
+ "content": {
2074
+ "application/json": {
2075
+ "schema": {
2076
+ "$ref": "#/components/schemas/ProblemDetails"
2077
+ }
2078
+ }
2079
+ }
2080
+ }
2081
+ }
2082
+ },
2083
+ "patch": {
2084
+ "tags": [
2085
+ "Datasets"
2086
+ ],
2087
+ "summary": "Updates a dataset (Partial Update).",
2088
+ "parameters": [
2089
+ {
2090
+ "name": "id",
2091
+ "in": "path",
2092
+ "required": true,
2093
+ "schema": {
2094
+ "type": "string",
2095
+ "format": "uuid"
2096
+ }
2097
+ }
2098
+ ],
2099
+ "requestBody": {
2100
+ "content": {
2101
+ "application/json": {
2102
+ "schema": {
2103
+ "$ref": "#/components/schemas/UpdateDatasetRequest"
2104
+ }
2105
+ },
2106
+ "text/json": {
2107
+ "schema": {
2108
+ "$ref": "#/components/schemas/UpdateDatasetRequest"
2109
+ }
2110
+ },
2111
+ "application/*+json": {
2112
+ "schema": {
2113
+ "$ref": "#/components/schemas/UpdateDatasetRequest"
2114
+ }
2115
+ }
2116
+ }
2117
+ },
2118
+ "responses": {
2119
+ "200": {
2120
+ "description": "OK",
2121
+ "content": {
2122
+ "application/json": {
2123
+ "schema": {
2124
+ "$ref": "#/components/schemas/DatasetResponse"
2125
+ }
2126
+ }
2127
+ }
2128
+ },
2129
+ "404": {
2130
+ "description": "Not Found",
2131
+ "content": {
2132
+ "application/json": {
2133
+ "schema": {
2134
+ "$ref": "#/components/schemas/ProblemDetails"
2135
+ }
2136
+ }
2137
+ }
2138
+ }
2139
+ }
2140
+ },
2141
+ "delete": {
2142
+ "tags": [
2143
+ "Datasets"
2144
+ ],
2145
+ "summary": "Soft deletes a dataset.",
2146
+ "parameters": [
2147
+ {
2148
+ "name": "id",
2149
+ "in": "path",
2150
+ "required": true,
2151
+ "schema": {
2152
+ "type": "string",
2153
+ "format": "uuid"
2154
+ }
2155
+ }
2156
+ ],
2157
+ "responses": {
2158
+ "204": {
2159
+ "description": "No Content"
2160
+ },
2161
+ "404": {
2162
+ "description": "Not Found",
2163
+ "content": {
2164
+ "application/json": {
2165
+ "schema": {
2166
+ "$ref": "#/components/schemas/ProblemDetails"
2167
+ }
2168
+ }
2169
+ }
2170
+ }
2171
+ }
2172
+ }
2173
+ },
2174
+ "/v1/api/datasets/{id}/examples": {
2175
+ "post": {
2176
+ "tags": [
2177
+ "Datasets"
2178
+ ],
2179
+ "summary": "Adds examples to a dataset (Batch).",
2180
+ "parameters": [
2181
+ {
2182
+ "name": "id",
2183
+ "in": "path",
2184
+ "required": true,
2185
+ "schema": {
2186
+ "type": "string",
2187
+ "format": "uuid"
2188
+ }
2189
+ }
2190
+ ],
2191
+ "requestBody": {
2192
+ "content": {
2193
+ "application/json": {
2194
+ "schema": {
2195
+ "$ref": "#/components/schemas/CreateExampleRequest"
2196
+ }
2197
+ },
2198
+ "text/json": {
2199
+ "schema": {
2200
+ "$ref": "#/components/schemas/CreateExampleRequest"
2201
+ }
2202
+ },
2203
+ "application/*+json": {
2204
+ "schema": {
2205
+ "$ref": "#/components/schemas/CreateExampleRequest"
2206
+ }
2207
+ }
2208
+ }
2209
+ },
2210
+ "responses": {
2211
+ "201": {
2212
+ "description": "Created",
2213
+ "content": {
2214
+ "application/json": {
2215
+ "schema": {
2216
+ "type": "array",
2217
+ "items": {
2218
+ "$ref": "#/components/schemas/ExampleResponse"
2219
+ }
2220
+ }
2221
+ }
2222
+ }
2223
+ },
2224
+ "404": {
2225
+ "description": "Not Found",
2226
+ "content": {
2227
+ "application/json": {
2228
+ "schema": {
2229
+ "$ref": "#/components/schemas/ProblemDetails"
2230
+ }
2231
+ }
2232
+ }
2233
+ }
2234
+ }
2235
+ },
2236
+ "get": {
2237
+ "tags": [
2238
+ "Datasets"
2239
+ ],
2240
+ "summary": "Lists examples for a dataset.",
2241
+ "parameters": [
2242
+ {
2243
+ "name": "id",
2244
+ "in": "path",
2245
+ "required": true,
2246
+ "schema": {
2247
+ "type": "string",
2248
+ "format": "uuid"
2249
+ }
2250
+ },
2251
+ {
2252
+ "name": "skip",
2253
+ "in": "query",
2254
+ "schema": {
2255
+ "type": "integer",
2256
+ "format": "int32",
2257
+ "default": 0
2258
+ }
2259
+ },
2260
+ {
2261
+ "name": "take",
2262
+ "in": "query",
2263
+ "schema": {
2264
+ "type": "integer",
2265
+ "format": "int32",
2266
+ "default": 50
2267
+ }
2268
+ }
2269
+ ],
2270
+ "responses": {
2271
+ "200": {
2272
+ "description": "OK",
2273
+ "content": {
2274
+ "application/json": {
2275
+ "schema": {
2276
+ "type": "array",
2277
+ "items": {
2278
+ "$ref": "#/components/schemas/ExampleResponse"
2279
+ }
2280
+ }
2281
+ }
2282
+ }
2283
+ }
2284
+ }
2285
+ }
2286
+ },
2287
+ "/v1/api/datasets/{id}/examples/{exampleId}": {
2288
+ "delete": {
2289
+ "tags": [
2290
+ "Datasets"
2291
+ ],
2292
+ "summary": "Deletes a specific example.",
2293
+ "parameters": [
2294
+ {
2295
+ "name": "id",
2296
+ "in": "path",
2297
+ "required": true,
2298
+ "schema": {
2299
+ "type": "string",
2300
+ "format": "uuid"
2301
+ }
2302
+ },
2303
+ {
2304
+ "name": "exampleId",
2305
+ "in": "path",
2306
+ "required": true,
2307
+ "schema": {
2308
+ "type": "string",
2309
+ "format": "uuid"
1823
2310
  }
1824
2311
  }
1825
2312
  ],
1826
2313
  "responses": {
1827
- "200": {
1828
- "description": "OK"
2314
+ "204": {
2315
+ "description": "No Content"
2316
+ },
2317
+ "404": {
2318
+ "description": "Not Found",
2319
+ "content": {
2320
+ "application/json": {
2321
+ "schema": {
2322
+ "$ref": "#/components/schemas/ProblemDetails"
2323
+ }
2324
+ }
2325
+ }
1829
2326
  }
1830
2327
  }
1831
2328
  }
@@ -6239,6 +6736,102 @@
6239
6736
  }
6240
6737
  }
6241
6738
  }
6739
+ },
6740
+ "get": {
6741
+ "tags": [
6742
+ "VectorStores"
6743
+ ],
6744
+ "summary": "List files in a vector store.",
6745
+ "parameters": [
6746
+ {
6747
+ "name": "vectorStoreId",
6748
+ "in": "path",
6749
+ "required": true,
6750
+ "schema": {
6751
+ "type": "string",
6752
+ "format": "uuid"
6753
+ }
6754
+ },
6755
+ {
6756
+ "name": "skip",
6757
+ "in": "query",
6758
+ "schema": {
6759
+ "type": "integer",
6760
+ "format": "int32",
6761
+ "default": 0
6762
+ }
6763
+ },
6764
+ {
6765
+ "name": "take",
6766
+ "in": "query",
6767
+ "schema": {
6768
+ "type": "integer",
6769
+ "format": "int32",
6770
+ "default": 50
6771
+ }
6772
+ }
6773
+ ],
6774
+ "responses": {
6775
+ "200": {
6776
+ "description": "OK",
6777
+ "content": {
6778
+ "application/json": {
6779
+ "schema": {
6780
+ "type": "array",
6781
+ "items": {
6782
+ "$ref": "#/components/schemas/VectorStoreFileResponse"
6783
+ }
6784
+ }
6785
+ }
6786
+ }
6787
+ }
6788
+ }
6789
+ }
6790
+ },
6791
+ "/v1/api/vector-stores/{vectorStoreId}/files/{fileId}": {
6792
+ "delete": {
6793
+ "tags": [
6794
+ "VectorStores"
6795
+ ],
6796
+ "summary": "Detach a file from a vector store.",
6797
+ "description": "Removes the file association from the vector store.\n**Important:** This does NOT delete the file from storage (S3), only checks out the link.\nEmbeddings related to this file are NOT immediately cleaned up (future work).",
6798
+ "parameters": [
6799
+ {
6800
+ "name": "vectorStoreId",
6801
+ "in": "path",
6802
+ "description": "Vector Store ID",
6803
+ "required": true,
6804
+ "schema": {
6805
+ "type": "string",
6806
+ "format": "uuid"
6807
+ }
6808
+ },
6809
+ {
6810
+ "name": "fileId",
6811
+ "in": "path",
6812
+ "description": "The StoredFile ID (not the join record ID)",
6813
+ "required": true,
6814
+ "schema": {
6815
+ "type": "string",
6816
+ "format": "uuid"
6817
+ }
6818
+ }
6819
+ ],
6820
+ "responses": {
6821
+ "204": {
6822
+ "description": "No Content"
6823
+ },
6824
+ "404": {
6825
+ "description": "Not Found",
6826
+ "content": {
6827
+ "application/json": {
6828
+ "schema": {
6829
+ "$ref": "#/components/schemas/ProblemDetails"
6830
+ }
6831
+ }
6832
+ }
6833
+ }
6834
+ }
6242
6835
  }
6243
6836
  },
6244
6837
  "/v1/api/vector-stores/{vectorStoreId}/query": {
@@ -6836,6 +7429,52 @@
6836
7429
  "additionalProperties": false,
6837
7430
  "description": "KERNEL P0: Request DTO for builder chat.\nContains ONLY intention fields. No graph_spec, no catalogs."
6838
7431
  },
7432
+ "BundleResponse": {
7433
+ "type": "object",
7434
+ "properties": {
7435
+ "id": {
7436
+ "type": "string",
7437
+ "format": "uuid"
7438
+ },
7439
+ "tenant_id": {
7440
+ "type": "string",
7441
+ "format": "uuid"
7442
+ },
7443
+ "workspace_id": {
7444
+ "type": "string",
7445
+ "format": "uuid"
7446
+ },
7447
+ "agent_id": {
7448
+ "type": "string",
7449
+ "format": "uuid"
7450
+ },
7451
+ "artifact_uri": {
7452
+ "type": "string",
7453
+ "nullable": true
7454
+ },
7455
+ "artifact_hash": {
7456
+ "type": "string",
7457
+ "nullable": true
7458
+ },
7459
+ "format": {
7460
+ "type": "string",
7461
+ "nullable": true
7462
+ },
7463
+ "content_hash": {
7464
+ "type": "string",
7465
+ "nullable": true
7466
+ },
7467
+ "created_at": {
7468
+ "type": "string",
7469
+ "format": "date-time"
7470
+ },
7471
+ "label": {
7472
+ "type": "string",
7473
+ "nullable": true
7474
+ }
7475
+ },
7476
+ "additionalProperties": false
7477
+ },
6839
7478
  "CancelRequest": {
6840
7479
  "type": "object",
6841
7480
  "properties": {
@@ -7148,6 +7787,19 @@
7148
7787
  },
7149
7788
  "additionalProperties": false
7150
7789
  },
7790
+ "CreateExampleRequest": {
7791
+ "type": "object",
7792
+ "properties": {
7793
+ "examples": {
7794
+ "type": "array",
7795
+ "items": {
7796
+ "$ref": "#/components/schemas/ExampleDto"
7797
+ },
7798
+ "nullable": true
7799
+ }
7800
+ },
7801
+ "additionalProperties": false
7802
+ },
7151
7803
  "CreateExperimentRequest": {
7152
7804
  "type": "object",
7153
7805
  "properties": {
@@ -7454,6 +8106,41 @@
7454
8106
  },
7455
8107
  "additionalProperties": false
7456
8108
  },
8109
+ "DatasetResponse": {
8110
+ "type": "object",
8111
+ "properties": {
8112
+ "id": {
8113
+ "type": "string",
8114
+ "format": "uuid"
8115
+ },
8116
+ "name": {
8117
+ "type": "string",
8118
+ "nullable": true
8119
+ },
8120
+ "description": {
8121
+ "type": "string",
8122
+ "nullable": true
8123
+ },
8124
+ "agentId": {
8125
+ "type": "string",
8126
+ "format": "uuid",
8127
+ "nullable": true
8128
+ },
8129
+ "exampleCount": {
8130
+ "type": "integer",
8131
+ "format": "int32"
8132
+ },
8133
+ "createdAt": {
8134
+ "type": "string",
8135
+ "format": "date-time"
8136
+ },
8137
+ "updatedAt": {
8138
+ "type": "string",
8139
+ "format": "date-time"
8140
+ }
8141
+ },
8142
+ "additionalProperties": false
8143
+ },
7457
8144
  "DryRunRequest": {
7458
8145
  "type": "object",
7459
8146
  "properties": {
@@ -7504,6 +8191,44 @@
7504
8191
  },
7505
8192
  "additionalProperties": false
7506
8193
  },
8194
+ "ExampleDto": {
8195
+ "type": "object",
8196
+ "properties": {
8197
+ "input": { },
8198
+ "expectedOutput": {
8199
+ "nullable": true
8200
+ },
8201
+ "metadata": {
8202
+ "nullable": true
8203
+ }
8204
+ },
8205
+ "additionalProperties": false
8206
+ },
8207
+ "ExampleResponse": {
8208
+ "type": "object",
8209
+ "properties": {
8210
+ "id": {
8211
+ "type": "string",
8212
+ "format": "uuid"
8213
+ },
8214
+ "datasetId": {
8215
+ "type": "string",
8216
+ "format": "uuid"
8217
+ },
8218
+ "input": { },
8219
+ "expectedOutput": {
8220
+ "nullable": true
8221
+ },
8222
+ "metadata": {
8223
+ "nullable": true
8224
+ },
8225
+ "createdAt": {
8226
+ "type": "string",
8227
+ "format": "date-time"
8228
+ }
8229
+ },
8230
+ "additionalProperties": false
8231
+ },
7507
8232
  "FileConfirmResponse": {
7508
8233
  "type": "object",
7509
8234
  "properties": {
@@ -7918,6 +8643,22 @@
7918
8643
  },
7919
8644
  "additionalProperties": { }
7920
8645
  },
8646
+ "PublishAgentRequest": {
8647
+ "type": "object",
8648
+ "properties": {
8649
+ "version_label": {
8650
+ "type": "string",
8651
+ "nullable": true
8652
+ },
8653
+ "graph_spec": {
8654
+ "nullable": true
8655
+ },
8656
+ "set_as_live": {
8657
+ "type": "boolean"
8658
+ }
8659
+ },
8660
+ "additionalProperties": false
8661
+ },
7921
8662
  "ReplayRequest": {
7922
8663
  "type": "object",
7923
8664
  "properties": {
@@ -8672,6 +9413,25 @@
8672
9413
  },
8673
9414
  "additionalProperties": false
8674
9415
  },
9416
+ "UpdateDatasetRequest": {
9417
+ "type": "object",
9418
+ "properties": {
9419
+ "name": {
9420
+ "type": "string",
9421
+ "nullable": true
9422
+ },
9423
+ "description": {
9424
+ "type": "string",
9425
+ "nullable": true
9426
+ },
9427
+ "agentId": {
9428
+ "type": "string",
9429
+ "format": "uuid",
9430
+ "nullable": true
9431
+ }
9432
+ },
9433
+ "additionalProperties": false
9434
+ },
8675
9435
  "UpdateMemberRequest": {
8676
9436
  "type": "object",
8677
9437
  "properties": {
@@ -9083,6 +9843,9 @@
9083
9843
  {
9084
9844
  "name": "Crons"
9085
9845
  },
9846
+ {
9847
+ "name": "Datasets"
9848
+ },
9086
9849
  {
9087
9850
  "name": "Dlq"
9088
9851
  },