@soat/sdk 0.4.6 → 0.4.8

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/esm/index.js CHANGED
@@ -859,9 +859,7 @@ var createClient = /* @__PURE__ */__name((config = {}) => {
859
859
  }, "createClient");
860
860
 
861
861
  // src/generated/client.gen.ts
862
- var client = createClient(createConfig({
863
- baseUrl: "/api/v1"
864
- }));
862
+ var client = createClient(createConfig());
865
863
 
866
864
  // src/generated/sdk.gen.ts
867
865
  var Actors = class {
@@ -875,7 +873,7 @@ var Actors = class {
875
873
  */
876
874
  static listActors(options) {
877
875
  return (options?.client ?? client).get({
878
- url: "/actors",
876
+ url: "/api/v1/actors",
879
877
  ...options
880
878
  });
881
879
  }
@@ -886,7 +884,7 @@ var Actors = class {
886
884
  */
887
885
  static createActor(options) {
888
886
  return (options.client ?? client).post({
889
- url: "/actors",
887
+ url: "/api/v1/actors",
890
888
  ...options,
891
889
  headers: {
892
890
  "Content-Type": "application/json",
@@ -901,7 +899,7 @@ var Actors = class {
901
899
  */
902
900
  static deleteActor(options) {
903
901
  return (options.client ?? client).delete({
904
- url: "/actors/{actor_id}",
902
+ url: "/api/v1/actors/{actor_id}",
905
903
  ...options
906
904
  });
907
905
  }
@@ -912,7 +910,7 @@ var Actors = class {
912
910
  */
913
911
  static getActor(options) {
914
912
  return (options.client ?? client).get({
915
- url: "/actors/{actor_id}",
913
+ url: "/api/v1/actors/{actor_id}",
916
914
  ...options
917
915
  });
918
916
  }
@@ -923,7 +921,7 @@ var Actors = class {
923
921
  */
924
922
  static updateActor(options) {
925
923
  return (options.client ?? client).patch({
926
- url: "/actors/{actor_id}",
924
+ url: "/api/v1/actors/{actor_id}",
927
925
  ...options,
928
926
  headers: {
929
927
  "Content-Type": "application/json",
@@ -938,7 +936,7 @@ var Actors = class {
938
936
  */
939
937
  static getActorTags(options) {
940
938
  return (options.client ?? client).get({
941
- url: "/actors/{actor_id}/tags",
939
+ url: "/api/v1/actors/{actor_id}/tags",
942
940
  ...options
943
941
  });
944
942
  }
@@ -949,7 +947,7 @@ var Actors = class {
949
947
  */
950
948
  static mergeActorTags(options) {
951
949
  return (options.client ?? client).patch({
952
- url: "/actors/{actor_id}/tags",
950
+ url: "/api/v1/actors/{actor_id}/tags",
953
951
  ...options,
954
952
  headers: {
955
953
  "Content-Type": "application/json",
@@ -964,7 +962,7 @@ var Actors = class {
964
962
  */
965
963
  static replaceActorTags(options) {
966
964
  return (options.client ?? client).put({
967
- url: "/actors/{actor_id}/tags",
965
+ url: "/api/v1/actors/{actor_id}/tags",
968
966
  ...options,
969
967
  headers: {
970
968
  "Content-Type": "application/json",
@@ -984,11 +982,7 @@ var AgentTools = class {
984
982
  */
985
983
  static listAgentTools(options) {
986
984
  return (options?.client ?? client).get({
987
- security: [{
988
- scheme: "bearer",
989
- type: "http"
990
- }],
991
- url: "/agents/tools",
985
+ url: "/api/v1/agents/tools",
992
986
  ...options
993
987
  });
994
988
  }
@@ -999,11 +993,7 @@ var AgentTools = class {
999
993
  */
1000
994
  static createAgentTool(options) {
1001
995
  return (options.client ?? client).post({
1002
- security: [{
1003
- scheme: "bearer",
1004
- type: "http"
1005
- }],
1006
- url: "/agents/tools",
996
+ url: "/api/v1/agents/tools",
1007
997
  ...options,
1008
998
  headers: {
1009
999
  "Content-Type": "application/json",
@@ -1018,11 +1008,7 @@ var AgentTools = class {
1018
1008
  */
1019
1009
  static deleteAgentTool(options) {
1020
1010
  return (options.client ?? client).delete({
1021
- security: [{
1022
- scheme: "bearer",
1023
- type: "http"
1024
- }],
1025
- url: "/agents/tools/{tool_id}",
1011
+ url: "/api/v1/agents/tools/{tool_id}",
1026
1012
  ...options
1027
1013
  });
1028
1014
  }
@@ -1033,11 +1019,7 @@ var AgentTools = class {
1033
1019
  */
1034
1020
  static getAgentTool(options) {
1035
1021
  return (options.client ?? client).get({
1036
- security: [{
1037
- scheme: "bearer",
1038
- type: "http"
1039
- }],
1040
- url: "/agents/tools/{tool_id}",
1022
+ url: "/api/v1/agents/tools/{tool_id}",
1041
1023
  ...options
1042
1024
  });
1043
1025
  }
@@ -1048,11 +1030,7 @@ var AgentTools = class {
1048
1030
  */
1049
1031
  static updateAgentTool(options) {
1050
1032
  return (options.client ?? client).put({
1051
- security: [{
1052
- scheme: "bearer",
1053
- type: "http"
1054
- }],
1055
- url: "/agents/tools/{tool_id}",
1033
+ url: "/api/v1/agents/tools/{tool_id}",
1056
1034
  ...options,
1057
1035
  headers: {
1058
1036
  "Content-Type": "application/json",
@@ -1072,11 +1050,7 @@ var AgentTraces = class {
1072
1050
  */
1073
1051
  static listAgentTraces(options) {
1074
1052
  return (options?.client ?? client).get({
1075
- security: [{
1076
- scheme: "bearer",
1077
- type: "http"
1078
- }],
1079
- url: "/agents/traces",
1053
+ url: "/api/v1/agents/traces",
1080
1054
  ...options
1081
1055
  });
1082
1056
  }
@@ -1087,11 +1061,7 @@ var AgentTraces = class {
1087
1061
  */
1088
1062
  static getAgentTrace(options) {
1089
1063
  return (options.client ?? client).get({
1090
- security: [{
1091
- scheme: "bearer",
1092
- type: "http"
1093
- }],
1094
- url: "/agents/traces/{trace_id}",
1064
+ url: "/api/v1/agents/traces/{trace_id}",
1095
1065
  ...options
1096
1066
  });
1097
1067
  }
@@ -1107,11 +1077,7 @@ var Agents = class {
1107
1077
  */
1108
1078
  static listAgents(options) {
1109
1079
  return (options?.client ?? client).get({
1110
- security: [{
1111
- scheme: "bearer",
1112
- type: "http"
1113
- }],
1114
- url: "/agents",
1080
+ url: "/api/v1/agents",
1115
1081
  ...options
1116
1082
  });
1117
1083
  }
@@ -1122,11 +1088,7 @@ var Agents = class {
1122
1088
  */
1123
1089
  static createAgent(options) {
1124
1090
  return (options.client ?? client).post({
1125
- security: [{
1126
- scheme: "bearer",
1127
- type: "http"
1128
- }],
1129
- url: "/agents",
1091
+ url: "/api/v1/agents",
1130
1092
  ...options,
1131
1093
  headers: {
1132
1094
  "Content-Type": "application/json",
@@ -1141,11 +1103,7 @@ var Agents = class {
1141
1103
  */
1142
1104
  static deleteAgent(options) {
1143
1105
  return (options.client ?? client).delete({
1144
- security: [{
1145
- scheme: "bearer",
1146
- type: "http"
1147
- }],
1148
- url: "/agents/{agent_id}",
1106
+ url: "/api/v1/agents/{agent_id}",
1149
1107
  ...options
1150
1108
  });
1151
1109
  }
@@ -1156,11 +1114,7 @@ var Agents = class {
1156
1114
  */
1157
1115
  static getAgent(options) {
1158
1116
  return (options.client ?? client).get({
1159
- security: [{
1160
- scheme: "bearer",
1161
- type: "http"
1162
- }],
1163
- url: "/agents/{agent_id}",
1117
+ url: "/api/v1/agents/{agent_id}",
1164
1118
  ...options
1165
1119
  });
1166
1120
  }
@@ -1171,11 +1125,7 @@ var Agents = class {
1171
1125
  */
1172
1126
  static updateAgent(options) {
1173
1127
  return (options.client ?? client).put({
1174
- security: [{
1175
- scheme: "bearer",
1176
- type: "http"
1177
- }],
1178
- url: "/agents/{agent_id}",
1128
+ url: "/api/v1/agents/{agent_id}",
1179
1129
  ...options,
1180
1130
  headers: {
1181
1131
  "Content-Type": "application/json",
@@ -1191,11 +1141,7 @@ var Agents = class {
1191
1141
  */
1192
1142
  static createAgentGeneration(options) {
1193
1143
  return (options.client ?? client).post({
1194
- security: [{
1195
- scheme: "bearer",
1196
- type: "http"
1197
- }],
1198
- url: "/agents/{agent_id}/generate",
1144
+ url: "/api/v1/agents/{agent_id}/generate",
1199
1145
  ...options,
1200
1146
  headers: {
1201
1147
  "Content-Type": "application/json",
@@ -1211,11 +1157,7 @@ var Agents = class {
1211
1157
  */
1212
1158
  static submitAgentToolOutputs(options) {
1213
1159
  return (options.client ?? client).post({
1214
- security: [{
1215
- scheme: "bearer",
1216
- type: "http"
1217
- }],
1218
- url: "/agents/{agent_id}/generate/{generation_id}/tool-outputs",
1160
+ url: "/api/v1/agents/{agent_id}/generate/{generation_id}/tool-outputs",
1219
1161
  ...options,
1220
1162
  headers: {
1221
1163
  "Content-Type": "application/json",
@@ -1230,7 +1172,7 @@ var Agents = class {
1230
1172
  */
1231
1173
  static createAgentActor(options) {
1232
1174
  return (options.client ?? client).post({
1233
- url: "/agents/{agent_id}/actors",
1175
+ url: "/api/v1/agents/{agent_id}/actors",
1234
1176
  ...options,
1235
1177
  headers: {
1236
1178
  "Content-Type": "application/json",
@@ -1250,7 +1192,7 @@ var AiProviders = class {
1250
1192
  */
1251
1193
  static listAiProviders(options) {
1252
1194
  return (options?.client ?? client).get({
1253
- url: "/ai-providers",
1195
+ url: "/api/v1/ai-providers",
1254
1196
  ...options
1255
1197
  });
1256
1198
  }
@@ -1261,7 +1203,7 @@ var AiProviders = class {
1261
1203
  */
1262
1204
  static createAiProvider(options) {
1263
1205
  return (options.client ?? client).post({
1264
- url: "/ai-providers",
1206
+ url: "/api/v1/ai-providers",
1265
1207
  ...options,
1266
1208
  headers: {
1267
1209
  "Content-Type": "application/json",
@@ -1276,7 +1218,7 @@ var AiProviders = class {
1276
1218
  */
1277
1219
  static deleteAiProvider(options) {
1278
1220
  return (options.client ?? client).delete({
1279
- url: "/ai-providers/{ai_provider_id}",
1221
+ url: "/api/v1/ai-providers/{ai_provider_id}",
1280
1222
  ...options
1281
1223
  });
1282
1224
  }
@@ -1287,7 +1229,7 @@ var AiProviders = class {
1287
1229
  */
1288
1230
  static getAiProvider(options) {
1289
1231
  return (options.client ?? client).get({
1290
- url: "/ai-providers/{ai_provider_id}",
1232
+ url: "/api/v1/ai-providers/{ai_provider_id}",
1291
1233
  ...options
1292
1234
  });
1293
1235
  }
@@ -1298,7 +1240,7 @@ var AiProviders = class {
1298
1240
  */
1299
1241
  static updateAiProvider(options) {
1300
1242
  return (options.client ?? client).patch({
1301
- url: "/ai-providers/{ai_provider_id}",
1243
+ url: "/api/v1/ai-providers/{ai_provider_id}",
1302
1244
  ...options,
1303
1245
  headers: {
1304
1246
  "Content-Type": "application/json",
@@ -1312,18 +1254,30 @@ var ApiKeys = class {
1312
1254
  __name(this, "ApiKeys");
1313
1255
  }
1314
1256
  /**
1315
- * Create an API key
1257
+ * List API keys
1316
1258
  *
1317
- * Creates a new API key for the authenticated user. - If `project_id` is provided, the key is scoped to that project. - If `policy_ids` is provided, the key's effective permissions are the intersection of the user's policies and the key's policies. - If neither is provided, the key inherits the user's full permissions.
1259
+ * Lists API keys accessible to the caller. - JWT admin: returns all API keys. - JWT regular user: returns only the user's own API keys. - API key scoped to a project: returns only API keys scoped to that project.
1318
1260
  *
1319
1261
  */
1320
- static createApiKey(options) {
1321
- return (options.client ?? client).post({
1262
+ static listApiKeys(options) {
1263
+ return (options?.client ?? client).get({
1322
1264
  security: [{
1323
1265
  scheme: "bearer",
1324
1266
  type: "http"
1325
1267
  }],
1326
- url: "/api-keys",
1268
+ url: "/api/v1/api-keys",
1269
+ ...options
1270
+ });
1271
+ }
1272
+ /**
1273
+ * Create an API key
1274
+ *
1275
+ * Creates a new API key for the authenticated user. - If `project_id` is provided, the key is scoped to that project. - If `policy_ids` is provided, the key's effective permissions are the intersection of the user's policies and the key's policies. - If neither is provided, the key inherits the user's full permissions.
1276
+ *
1277
+ */
1278
+ static createApiKey(options) {
1279
+ return (options.client ?? client).post({
1280
+ url: "/api/v1/api-keys",
1327
1281
  ...options,
1328
1282
  headers: {
1329
1283
  "Content-Type": "application/json",
@@ -1338,11 +1292,7 @@ var ApiKeys = class {
1338
1292
  */
1339
1293
  static deleteApiKey(options) {
1340
1294
  return (options.client ?? client).delete({
1341
- security: [{
1342
- scheme: "bearer",
1343
- type: "http"
1344
- }],
1345
- url: "/api-keys/{api_key_id}",
1295
+ url: "/api/v1/api-keys/{api_key_id}",
1346
1296
  ...options
1347
1297
  });
1348
1298
  }
@@ -1353,11 +1303,7 @@ var ApiKeys = class {
1353
1303
  */
1354
1304
  static getApiKey(options) {
1355
1305
  return (options.client ?? client).get({
1356
- security: [{
1357
- scheme: "bearer",
1358
- type: "http"
1359
- }],
1360
- url: "/api-keys/{api_key_id}",
1306
+ url: "/api/v1/api-keys/{api_key_id}",
1361
1307
  ...options
1362
1308
  });
1363
1309
  }
@@ -1368,11 +1314,7 @@ var ApiKeys = class {
1368
1314
  */
1369
1315
  static updateApiKey(options) {
1370
1316
  return (options.client ?? client).put({
1371
- security: [{
1372
- scheme: "bearer",
1373
- type: "http"
1374
- }],
1375
- url: "/api-keys/{api_key_id}",
1317
+ url: "/api/v1/api-keys/{api_key_id}",
1376
1318
  ...options,
1377
1319
  headers: {
1378
1320
  "Content-Type": "application/json",
@@ -1392,11 +1334,7 @@ var Chats = class {
1392
1334
  */
1393
1335
  static listChats(options) {
1394
1336
  return (options?.client ?? client).get({
1395
- security: [{
1396
- scheme: "bearer",
1397
- type: "http"
1398
- }],
1399
- url: "/chats",
1337
+ url: "/api/v1/chats",
1400
1338
  ...options
1401
1339
  });
1402
1340
  }
@@ -1407,11 +1345,7 @@ var Chats = class {
1407
1345
  */
1408
1346
  static createChat(options) {
1409
1347
  return (options.client ?? client).post({
1410
- security: [{
1411
- scheme: "bearer",
1412
- type: "http"
1413
- }],
1414
- url: "/chats",
1348
+ url: "/api/v1/chats",
1415
1349
  ...options,
1416
1350
  headers: {
1417
1351
  "Content-Type": "application/json",
@@ -1426,11 +1360,7 @@ var Chats = class {
1426
1360
  */
1427
1361
  static deleteChat(options) {
1428
1362
  return (options.client ?? client).delete({
1429
- security: [{
1430
- scheme: "bearer",
1431
- type: "http"
1432
- }],
1433
- url: "/chats/{chat_id}",
1363
+ url: "/api/v1/chats/{chat_id}",
1434
1364
  ...options
1435
1365
  });
1436
1366
  }
@@ -1441,11 +1371,7 @@ var Chats = class {
1441
1371
  */
1442
1372
  static getChat(options) {
1443
1373
  return (options.client ?? client).get({
1444
- security: [{
1445
- scheme: "bearer",
1446
- type: "http"
1447
- }],
1448
- url: "/chats/{chat_id}",
1374
+ url: "/api/v1/chats/{chat_id}",
1449
1375
  ...options
1450
1376
  });
1451
1377
  }
@@ -1457,11 +1383,7 @@ var Chats = class {
1457
1383
  */
1458
1384
  static createChatCompletionForChat(options) {
1459
1385
  return (options.client ?? client).post({
1460
- security: [{
1461
- scheme: "bearer",
1462
- type: "http"
1463
- }],
1464
- url: "/chats/{chat_id}/completions",
1386
+ url: "/api/v1/chats/{chat_id}/completions",
1465
1387
  ...options,
1466
1388
  headers: {
1467
1389
  "Content-Type": "application/json",
@@ -1477,11 +1399,7 @@ var Chats = class {
1477
1399
  */
1478
1400
  static createChatCompletion(options) {
1479
1401
  return (options.client ?? client).post({
1480
- security: [{
1481
- scheme: "bearer",
1482
- type: "http"
1483
- }],
1484
- url: "/chats/completions",
1402
+ url: "/api/v1/chats/completions",
1485
1403
  ...options,
1486
1404
  headers: {
1487
1405
  "Content-Type": "application/json",
@@ -1496,7 +1414,7 @@ var Chats = class {
1496
1414
  */
1497
1415
  static createChatActor(options) {
1498
1416
  return (options.client ?? client).post({
1499
- url: "/chats/{chat_id}/actors",
1417
+ url: "/api/v1/chats/{chat_id}/actors",
1500
1418
  ...options,
1501
1419
  headers: {
1502
1420
  "Content-Type": "application/json",
@@ -1516,7 +1434,7 @@ var Conversations = class {
1516
1434
  */
1517
1435
  static listConversations(options) {
1518
1436
  return (options?.client ?? client).get({
1519
- url: "/conversations",
1437
+ url: "/api/v1/conversations",
1520
1438
  ...options
1521
1439
  });
1522
1440
  }
@@ -1527,7 +1445,7 @@ var Conversations = class {
1527
1445
  */
1528
1446
  static createConversation(options) {
1529
1447
  return (options.client ?? client).post({
1530
- url: "/conversations",
1448
+ url: "/api/v1/conversations",
1531
1449
  ...options,
1532
1450
  headers: {
1533
1451
  "Content-Type": "application/json",
@@ -1542,7 +1460,7 @@ var Conversations = class {
1542
1460
  */
1543
1461
  static deleteConversation(options) {
1544
1462
  return (options.client ?? client).delete({
1545
- url: "/conversations/{conversation_id}",
1463
+ url: "/api/v1/conversations/{conversation_id}",
1546
1464
  ...options
1547
1465
  });
1548
1466
  }
@@ -1553,7 +1471,7 @@ var Conversations = class {
1553
1471
  */
1554
1472
  static getConversation(options) {
1555
1473
  return (options.client ?? client).get({
1556
- url: "/conversations/{conversation_id}",
1474
+ url: "/api/v1/conversations/{conversation_id}",
1557
1475
  ...options
1558
1476
  });
1559
1477
  }
@@ -1564,7 +1482,7 @@ var Conversations = class {
1564
1482
  */
1565
1483
  static updateConversation(options) {
1566
1484
  return (options.client ?? client).patch({
1567
- url: "/conversations/{conversation_id}",
1485
+ url: "/api/v1/conversations/{conversation_id}",
1568
1486
  ...options,
1569
1487
  headers: {
1570
1488
  "Content-Type": "application/json",
@@ -1579,7 +1497,7 @@ var Conversations = class {
1579
1497
  */
1580
1498
  static listConversationMessages(options) {
1581
1499
  return (options.client ?? client).get({
1582
- url: "/conversations/{conversation_id}/messages",
1500
+ url: "/api/v1/conversations/{conversation_id}/messages",
1583
1501
  ...options
1584
1502
  });
1585
1503
  }
@@ -1590,7 +1508,7 @@ var Conversations = class {
1590
1508
  */
1591
1509
  static addConversationMessage(options) {
1592
1510
  return (options.client ?? client).post({
1593
- url: "/conversations/{conversation_id}/messages",
1511
+ url: "/api/v1/conversations/{conversation_id}/messages",
1594
1512
  ...options,
1595
1513
  headers: {
1596
1514
  "Content-Type": "application/json",
@@ -1609,7 +1527,7 @@ var Conversations = class {
1609
1527
  */
1610
1528
  static generateConversationMessage(options) {
1611
1529
  return (options.client ?? client).post({
1612
- url: "/conversations/{conversation_id}/generate",
1530
+ url: "/api/v1/conversations/{conversation_id}/generate",
1613
1531
  ...options,
1614
1532
  headers: {
1615
1533
  "Content-Type": "application/json",
@@ -1624,7 +1542,7 @@ var Conversations = class {
1624
1542
  */
1625
1543
  static listConversationActors(options) {
1626
1544
  return (options.client ?? client).get({
1627
- url: "/conversations/{conversation_id}/actors",
1545
+ url: "/api/v1/conversations/{conversation_id}/actors",
1628
1546
  ...options
1629
1547
  });
1630
1548
  }
@@ -1635,7 +1553,7 @@ var Conversations = class {
1635
1553
  */
1636
1554
  static removeConversationMessage(options) {
1637
1555
  return (options.client ?? client).delete({
1638
- url: "/conversations/{conversation_id}/messages/{document_id}",
1556
+ url: "/api/v1/conversations/{conversation_id}/messages/{document_id}",
1639
1557
  ...options
1640
1558
  });
1641
1559
  }
@@ -1646,7 +1564,7 @@ var Conversations = class {
1646
1564
  */
1647
1565
  static getConversationTags(options) {
1648
1566
  return (options.client ?? client).get({
1649
- url: "/conversations/{conversation_id}/tags",
1567
+ url: "/api/v1/conversations/{conversation_id}/tags",
1650
1568
  ...options
1651
1569
  });
1652
1570
  }
@@ -1657,7 +1575,7 @@ var Conversations = class {
1657
1575
  */
1658
1576
  static mergeConversationTags(options) {
1659
1577
  return (options.client ?? client).patch({
1660
- url: "/conversations/{conversation_id}/tags",
1578
+ url: "/api/v1/conversations/{conversation_id}/tags",
1661
1579
  ...options,
1662
1580
  headers: {
1663
1581
  "Content-Type": "application/json",
@@ -1672,7 +1590,7 @@ var Conversations = class {
1672
1590
  */
1673
1591
  static replaceConversationTags(options) {
1674
1592
  return (options.client ?? client).put({
1675
- url: "/conversations/{conversation_id}/tags",
1593
+ url: "/api/v1/conversations/{conversation_id}/tags",
1676
1594
  ...options,
1677
1595
  headers: {
1678
1596
  "Content-Type": "application/json",
@@ -1692,7 +1610,7 @@ var Documents = class {
1692
1610
  */
1693
1611
  static listDocuments(options) {
1694
1612
  return (options?.client ?? client).get({
1695
- url: "/documents",
1613
+ url: "/api/v1/documents",
1696
1614
  ...options
1697
1615
  });
1698
1616
  }
@@ -1703,7 +1621,7 @@ var Documents = class {
1703
1621
  */
1704
1622
  static createDocument(options) {
1705
1623
  return (options.client ?? client).post({
1706
- url: "/documents",
1624
+ url: "/api/v1/documents",
1707
1625
  ...options,
1708
1626
  headers: {
1709
1627
  "Content-Type": "application/json",
@@ -1718,7 +1636,7 @@ var Documents = class {
1718
1636
  */
1719
1637
  static deleteDocument(options) {
1720
1638
  return (options.client ?? client).delete({
1721
- url: "/documents/{document_id}",
1639
+ url: "/api/v1/documents/{document_id}",
1722
1640
  ...options
1723
1641
  });
1724
1642
  }
@@ -1729,7 +1647,7 @@ var Documents = class {
1729
1647
  */
1730
1648
  static getDocument(options) {
1731
1649
  return (options.client ?? client).get({
1732
- url: "/documents/{document_id}",
1650
+ url: "/api/v1/documents/{document_id}",
1733
1651
  ...options
1734
1652
  });
1735
1653
  }
@@ -1740,7 +1658,7 @@ var Documents = class {
1740
1658
  */
1741
1659
  static updateDocument(options) {
1742
1660
  return (options.client ?? client).patch({
1743
- url: "/documents/{document_id}",
1661
+ url: "/api/v1/documents/{document_id}",
1744
1662
  ...options,
1745
1663
  headers: {
1746
1664
  "Content-Type": "application/json",
@@ -1755,7 +1673,7 @@ var Documents = class {
1755
1673
  */
1756
1674
  static getDocumentTags(options) {
1757
1675
  return (options.client ?? client).get({
1758
- url: "/documents/{document_id}/tags",
1676
+ url: "/api/v1/documents/{document_id}/tags",
1759
1677
  ...options
1760
1678
  });
1761
1679
  }
@@ -1766,7 +1684,7 @@ var Documents = class {
1766
1684
  */
1767
1685
  static mergeDocumentTags(options) {
1768
1686
  return (options.client ?? client).patch({
1769
- url: "/documents/{document_id}/tags",
1687
+ url: "/api/v1/documents/{document_id}/tags",
1770
1688
  ...options,
1771
1689
  headers: {
1772
1690
  "Content-Type": "application/json",
@@ -1781,7 +1699,7 @@ var Documents = class {
1781
1699
  */
1782
1700
  static replaceDocumentTags(options) {
1783
1701
  return (options.client ?? client).put({
1784
- url: "/documents/{document_id}/tags",
1702
+ url: "/api/v1/documents/{document_id}/tags",
1785
1703
  ...options,
1786
1704
  headers: {
1787
1705
  "Content-Type": "application/json",
@@ -1796,7 +1714,7 @@ var Documents = class {
1796
1714
  */
1797
1715
  static searchDocuments(options) {
1798
1716
  return (options.client ?? client).post({
1799
- url: "/documents/search",
1717
+ url: "/api/v1/documents/search",
1800
1718
  ...options,
1801
1719
  headers: {
1802
1720
  "Content-Type": "application/json",
@@ -1816,7 +1734,7 @@ var Files = class {
1816
1734
  */
1817
1735
  static listFiles(options) {
1818
1736
  return (options?.client ?? client).get({
1819
- url: "/files",
1737
+ url: "/api/v1/files",
1820
1738
  ...options
1821
1739
  });
1822
1740
  }
@@ -1827,7 +1745,7 @@ var Files = class {
1827
1745
  */
1828
1746
  static createFile(options) {
1829
1747
  return (options.client ?? client).post({
1830
- url: "/files",
1748
+ url: "/api/v1/files",
1831
1749
  ...options,
1832
1750
  headers: {
1833
1751
  "Content-Type": "application/json",
@@ -1843,7 +1761,7 @@ var Files = class {
1843
1761
  static uploadFile(options) {
1844
1762
  return (options.client ?? client).post({
1845
1763
  ...formDataBodySerializer,
1846
- url: "/files/upload",
1764
+ url: "/api/v1/files/upload",
1847
1765
  ...options,
1848
1766
  headers: {
1849
1767
  "Content-Type": null,
@@ -1858,7 +1776,7 @@ var Files = class {
1858
1776
  */
1859
1777
  static uploadFileBase64(options) {
1860
1778
  return (options.client ?? client).post({
1861
- url: "/files/upload/base64",
1779
+ url: "/api/v1/files/upload/base64",
1862
1780
  ...options,
1863
1781
  headers: {
1864
1782
  "Content-Type": "application/json",
@@ -1873,7 +1791,7 @@ var Files = class {
1873
1791
  */
1874
1792
  static deleteFile(options) {
1875
1793
  return (options.client ?? client).delete({
1876
- url: "/files/{file_id}",
1794
+ url: "/api/v1/files/{file_id}",
1877
1795
  ...options
1878
1796
  });
1879
1797
  }
@@ -1884,7 +1802,7 @@ var Files = class {
1884
1802
  */
1885
1803
  static getFile(options) {
1886
1804
  return (options.client ?? client).get({
1887
- url: "/files/{file_id}",
1805
+ url: "/api/v1/files/{file_id}",
1888
1806
  ...options
1889
1807
  });
1890
1808
  }
@@ -1895,7 +1813,7 @@ var Files = class {
1895
1813
  */
1896
1814
  static downloadFile(options) {
1897
1815
  return (options.client ?? client).get({
1898
- url: "/files/{file_id}/download",
1816
+ url: "/api/v1/files/{file_id}/download",
1899
1817
  ...options
1900
1818
  });
1901
1819
  }
@@ -1906,7 +1824,7 @@ var Files = class {
1906
1824
  */
1907
1825
  static updateFileMetadata(options) {
1908
1826
  return (options.client ?? client).patch({
1909
- url: "/files/{file_id}/metadata",
1827
+ url: "/api/v1/files/{file_id}/metadata",
1910
1828
  ...options,
1911
1829
  headers: {
1912
1830
  "Content-Type": "application/json",
@@ -1921,7 +1839,7 @@ var Files = class {
1921
1839
  */
1922
1840
  static downloadFileBase64(options) {
1923
1841
  return (options.client ?? client).get({
1924
- url: "/files/{file_id}/download/base64",
1842
+ url: "/api/v1/files/{file_id}/download/base64",
1925
1843
  ...options
1926
1844
  });
1927
1845
  }
@@ -1932,7 +1850,7 @@ var Files = class {
1932
1850
  */
1933
1851
  static getFileTags(options) {
1934
1852
  return (options.client ?? client).get({
1935
- url: "/files/{file_id}/tags",
1853
+ url: "/api/v1/files/{file_id}/tags",
1936
1854
  ...options
1937
1855
  });
1938
1856
  }
@@ -1943,7 +1861,7 @@ var Files = class {
1943
1861
  */
1944
1862
  static mergeFileTags(options) {
1945
1863
  return (options.client ?? client).patch({
1946
- url: "/files/{file_id}/tags",
1864
+ url: "/api/v1/files/{file_id}/tags",
1947
1865
  ...options,
1948
1866
  headers: {
1949
1867
  "Content-Type": "application/json",
@@ -1958,7 +1876,7 @@ var Files = class {
1958
1876
  */
1959
1877
  static replaceFileTags(options) {
1960
1878
  return (options.client ?? client).put({
1961
- url: "/files/{file_id}/tags",
1879
+ url: "/api/v1/files/{file_id}/tags",
1962
1880
  ...options,
1963
1881
  headers: {
1964
1882
  "Content-Type": "application/json",
@@ -1978,11 +1896,7 @@ var Policies = class {
1978
1896
  */
1979
1897
  static listPolicies(options) {
1980
1898
  return (options?.client ?? client).get({
1981
- security: [{
1982
- scheme: "bearer",
1983
- type: "http"
1984
- }],
1985
- url: "/policies",
1899
+ url: "/api/v1/policies",
1986
1900
  ...options
1987
1901
  });
1988
1902
  }
@@ -1993,11 +1907,7 @@ var Policies = class {
1993
1907
  */
1994
1908
  static createPolicy(options) {
1995
1909
  return (options.client ?? client).post({
1996
- security: [{
1997
- scheme: "bearer",
1998
- type: "http"
1999
- }],
2000
- url: "/policies",
1910
+ url: "/api/v1/policies",
2001
1911
  ...options,
2002
1912
  headers: {
2003
1913
  "Content-Type": "application/json",
@@ -2012,11 +1922,7 @@ var Policies = class {
2012
1922
  */
2013
1923
  static deletePolicy(options) {
2014
1924
  return (options.client ?? client).delete({
2015
- security: [{
2016
- scheme: "bearer",
2017
- type: "http"
2018
- }],
2019
- url: "/policies/{policy_id}",
1925
+ url: "/api/v1/policies/{policy_id}",
2020
1926
  ...options
2021
1927
  });
2022
1928
  }
@@ -2027,11 +1933,7 @@ var Policies = class {
2027
1933
  */
2028
1934
  static getPolicy(options) {
2029
1935
  return (options.client ?? client).get({
2030
- security: [{
2031
- scheme: "bearer",
2032
- type: "http"
2033
- }],
2034
- url: "/policies/{policy_id}",
1936
+ url: "/api/v1/policies/{policy_id}",
2035
1937
  ...options
2036
1938
  });
2037
1939
  }
@@ -2042,11 +1944,7 @@ var Policies = class {
2042
1944
  */
2043
1945
  static updatePolicy(options) {
2044
1946
  return (options.client ?? client).put({
2045
- security: [{
2046
- scheme: "bearer",
2047
- type: "http"
2048
- }],
2049
- url: "/policies/{policy_id}",
1947
+ url: "/api/v1/policies/{policy_id}",
2050
1948
  ...options,
2051
1949
  headers: {
2052
1950
  "Content-Type": "application/json",
@@ -2066,7 +1964,7 @@ var Projects = class {
2066
1964
  */
2067
1965
  static createProject(options) {
2068
1966
  return (options.client ?? client).post({
2069
- url: "/projects",
1967
+ url: "/api/v1/projects",
2070
1968
  ...options,
2071
1969
  headers: {
2072
1970
  "Content-Type": "application/json",
@@ -2081,11 +1979,7 @@ var Projects = class {
2081
1979
  */
2082
1980
  static deleteProject(options) {
2083
1981
  return (options.client ?? client).delete({
2084
- security: [{
2085
- scheme: "bearer",
2086
- type: "http"
2087
- }],
2088
- url: "/projects/{project_id}",
1982
+ url: "/api/v1/projects/{project_id}",
2089
1983
  ...options
2090
1984
  });
2091
1985
  }
@@ -2096,11 +1990,7 @@ var Projects = class {
2096
1990
  */
2097
1991
  static getProject(options) {
2098
1992
  return (options.client ?? client).get({
2099
- security: [{
2100
- scheme: "bearer",
2101
- type: "http"
2102
- }],
2103
- url: "/projects/{project_id}",
1993
+ url: "/api/v1/projects/{project_id}",
2104
1994
  ...options
2105
1995
  });
2106
1996
  }
@@ -2116,7 +2006,7 @@ var Secrets = class {
2116
2006
  */
2117
2007
  static listSecrets(options) {
2118
2008
  return (options?.client ?? client).get({
2119
- url: "/secrets",
2009
+ url: "/api/v1/secrets",
2120
2010
  ...options
2121
2011
  });
2122
2012
  }
@@ -2127,7 +2017,7 @@ var Secrets = class {
2127
2017
  */
2128
2018
  static createSecret(options) {
2129
2019
  return (options.client ?? client).post({
2130
- url: "/secrets",
2020
+ url: "/api/v1/secrets",
2131
2021
  ...options,
2132
2022
  headers: {
2133
2023
  "Content-Type": "application/json",
@@ -2142,7 +2032,7 @@ var Secrets = class {
2142
2032
  */
2143
2033
  static deleteSecret(options) {
2144
2034
  return (options.client ?? client).delete({
2145
- url: "/secrets/{secret_id}",
2035
+ url: "/api/v1/secrets/{secret_id}",
2146
2036
  ...options
2147
2037
  });
2148
2038
  }
@@ -2153,7 +2043,7 @@ var Secrets = class {
2153
2043
  */
2154
2044
  static getSecret(options) {
2155
2045
  return (options.client ?? client).get({
2156
- url: "/secrets/{secret_id}",
2046
+ url: "/api/v1/secrets/{secret_id}",
2157
2047
  ...options
2158
2048
  });
2159
2049
  }
@@ -2164,7 +2054,7 @@ var Secrets = class {
2164
2054
  */
2165
2055
  static updateSecret(options) {
2166
2056
  return (options.client ?? client).patch({
2167
- url: "/secrets/{secret_id}",
2057
+ url: "/api/v1/secrets/{secret_id}",
2168
2058
  ...options,
2169
2059
  headers: {
2170
2060
  "Content-Type": "application/json",
@@ -2184,11 +2074,7 @@ var Sessions = class {
2184
2074
  */
2185
2075
  static listAgentSessions(options) {
2186
2076
  return (options.client ?? client).get({
2187
- security: [{
2188
- scheme: "bearer",
2189
- type: "http"
2190
- }],
2191
- url: "/agents/{agent_id}/sessions",
2077
+ url: "/api/v1/agents/{agent_id}/sessions",
2192
2078
  ...options
2193
2079
  });
2194
2080
  }
@@ -2200,11 +2086,7 @@ var Sessions = class {
2200
2086
  */
2201
2087
  static createAgentSession(options) {
2202
2088
  return (options.client ?? client).post({
2203
- security: [{
2204
- scheme: "bearer",
2205
- type: "http"
2206
- }],
2207
- url: "/agents/{agent_id}/sessions",
2089
+ url: "/api/v1/agents/{agent_id}/sessions",
2208
2090
  ...options,
2209
2091
  headers: {
2210
2092
  "Content-Type": "application/json",
@@ -2219,11 +2101,7 @@ var Sessions = class {
2219
2101
  */
2220
2102
  static deleteAgentSession(options) {
2221
2103
  return (options.client ?? client).delete({
2222
- security: [{
2223
- scheme: "bearer",
2224
- type: "http"
2225
- }],
2226
- url: "/agents/{agent_id}/sessions/{session_id}",
2104
+ url: "/api/v1/agents/{agent_id}/sessions/{session_id}",
2227
2105
  ...options
2228
2106
  });
2229
2107
  }
@@ -2234,11 +2112,7 @@ var Sessions = class {
2234
2112
  */
2235
2113
  static getAgentSession(options) {
2236
2114
  return (options.client ?? client).get({
2237
- security: [{
2238
- scheme: "bearer",
2239
- type: "http"
2240
- }],
2241
- url: "/agents/{agent_id}/sessions/{session_id}",
2115
+ url: "/api/v1/agents/{agent_id}/sessions/{session_id}",
2242
2116
  ...options
2243
2117
  });
2244
2118
  }
@@ -2249,11 +2123,7 @@ var Sessions = class {
2249
2123
  */
2250
2124
  static updateSession(options) {
2251
2125
  return (options.client ?? client).patch({
2252
- security: [{
2253
- scheme: "bearer",
2254
- type: "http"
2255
- }],
2256
- url: "/agents/{agent_id}/sessions/{session_id}",
2126
+ url: "/api/v1/agents/{agent_id}/sessions/{session_id}",
2257
2127
  ...options,
2258
2128
  headers: {
2259
2129
  "Content-Type": "application/json",
@@ -2269,11 +2139,7 @@ var Sessions = class {
2269
2139
  */
2270
2140
  static listAgentSessionMessages(options) {
2271
2141
  return (options.client ?? client).get({
2272
- security: [{
2273
- scheme: "bearer",
2274
- type: "http"
2275
- }],
2276
- url: "/agents/{agent_id}/sessions/{session_id}/messages",
2142
+ url: "/api/v1/agents/{agent_id}/sessions/{session_id}/messages",
2277
2143
  ...options
2278
2144
  });
2279
2145
  }
@@ -2285,11 +2151,7 @@ var Sessions = class {
2285
2151
  */
2286
2152
  static addSessionMessage(options) {
2287
2153
  return (options.client ?? client).post({
2288
- security: [{
2289
- scheme: "bearer",
2290
- type: "http"
2291
- }],
2292
- url: "/agents/{agent_id}/sessions/{session_id}/messages",
2154
+ url: "/api/v1/agents/{agent_id}/sessions/{session_id}/messages",
2293
2155
  ...options,
2294
2156
  headers: {
2295
2157
  "Content-Type": "application/json",
@@ -2305,11 +2167,7 @@ var Sessions = class {
2305
2167
  */
2306
2168
  static generateSessionResponse(options) {
2307
2169
  return (options.client ?? client).post({
2308
- security: [{
2309
- scheme: "bearer",
2310
- type: "http"
2311
- }],
2312
- url: "/agents/{agent_id}/sessions/{session_id}/generate",
2170
+ url: "/api/v1/agents/{agent_id}/sessions/{session_id}/generate",
2313
2171
  ...options,
2314
2172
  headers: {
2315
2173
  "Content-Type": "application/json",
@@ -2325,11 +2183,7 @@ var Sessions = class {
2325
2183
  */
2326
2184
  static submitSessionToolOutputs(options) {
2327
2185
  return (options.client ?? client).post({
2328
- security: [{
2329
- scheme: "bearer",
2330
- type: "http"
2331
- }],
2332
- url: "/agents/{agent_id}/sessions/{session_id}/tool-outputs",
2186
+ url: "/api/v1/agents/{agent_id}/sessions/{session_id}/tool-outputs",
2333
2187
  ...options,
2334
2188
  headers: {
2335
2189
  "Content-Type": "application/json",
@@ -2344,11 +2198,7 @@ var Sessions = class {
2344
2198
  */
2345
2199
  static getSessionTags(options) {
2346
2200
  return (options.client ?? client).get({
2347
- security: [{
2348
- scheme: "bearer",
2349
- type: "http"
2350
- }],
2351
- url: "/agents/{agent_id}/sessions/{session_id}/tags",
2201
+ url: "/api/v1/agents/{agent_id}/sessions/{session_id}/tags",
2352
2202
  ...options
2353
2203
  });
2354
2204
  }
@@ -2359,11 +2209,7 @@ var Sessions = class {
2359
2209
  */
2360
2210
  static mergeSessionTags(options) {
2361
2211
  return (options.client ?? client).patch({
2362
- security: [{
2363
- scheme: "bearer",
2364
- type: "http"
2365
- }],
2366
- url: "/agents/{agent_id}/sessions/{session_id}/tags",
2212
+ url: "/api/v1/agents/{agent_id}/sessions/{session_id}/tags",
2367
2213
  ...options,
2368
2214
  headers: {
2369
2215
  "Content-Type": "application/json",
@@ -2378,11 +2224,7 @@ var Sessions = class {
2378
2224
  */
2379
2225
  static replaceSessionTags(options) {
2380
2226
  return (options.client ?? client).put({
2381
- security: [{
2382
- scheme: "bearer",
2383
- type: "http"
2384
- }],
2385
- url: "/agents/{agent_id}/sessions/{session_id}/tags",
2227
+ url: "/api/v1/agents/{agent_id}/sessions/{session_id}/tags",
2386
2228
  ...options,
2387
2229
  headers: {
2388
2230
  "Content-Type": "application/json",
@@ -2402,7 +2244,7 @@ var Users = class {
2402
2244
  */
2403
2245
  static listUsers(options) {
2404
2246
  return (options?.client ?? client).get({
2405
- url: "/users",
2247
+ url: "/api/v1/users",
2406
2248
  ...options
2407
2249
  });
2408
2250
  }
@@ -2413,7 +2255,7 @@ var Users = class {
2413
2255
  */
2414
2256
  static createUser(options) {
2415
2257
  return (options.client ?? client).post({
2416
- url: "/users",
2258
+ url: "/api/v1/users",
2417
2259
  ...options,
2418
2260
  headers: {
2419
2261
  "Content-Type": "application/json",
@@ -2428,7 +2270,7 @@ var Users = class {
2428
2270
  */
2429
2271
  static deleteUser(options) {
2430
2272
  return (options.client ?? client).delete({
2431
- url: "/users/{user_id}",
2273
+ url: "/api/v1/users/{user_id}",
2432
2274
  ...options
2433
2275
  });
2434
2276
  }
@@ -2439,7 +2281,7 @@ var Users = class {
2439
2281
  */
2440
2282
  static getUser(options) {
2441
2283
  return (options.client ?? client).get({
2442
- url: "/users/{user_id}",
2284
+ url: "/api/v1/users/{user_id}",
2443
2285
  ...options
2444
2286
  });
2445
2287
  }
@@ -2450,7 +2292,7 @@ var Users = class {
2450
2292
  */
2451
2293
  static bootstrapUser(options) {
2452
2294
  return (options.client ?? client).post({
2453
- url: "/users/bootstrap",
2295
+ url: "/api/v1/users/bootstrap",
2454
2296
  ...options,
2455
2297
  headers: {
2456
2298
  "Content-Type": "application/json",
@@ -2465,7 +2307,7 @@ var Users = class {
2465
2307
  */
2466
2308
  static loginUser(options) {
2467
2309
  return (options.client ?? client).post({
2468
- url: "/users/login",
2310
+ url: "/api/v1/users/login",
2469
2311
  ...options,
2470
2312
  headers: {
2471
2313
  "Content-Type": "application/json",
@@ -2480,11 +2322,7 @@ var Users = class {
2480
2322
  */
2481
2323
  static getUserPolicies(options) {
2482
2324
  return (options.client ?? client).get({
2483
- security: [{
2484
- scheme: "bearer",
2485
- type: "http"
2486
- }],
2487
- url: "/users/{user_id}/policies",
2325
+ url: "/api/v1/users/{user_id}/policies",
2488
2326
  ...options
2489
2327
  });
2490
2328
  }
@@ -2495,11 +2333,7 @@ var Users = class {
2495
2333
  */
2496
2334
  static attachUserPolicies(options) {
2497
2335
  return (options.client ?? client).put({
2498
- security: [{
2499
- scheme: "bearer",
2500
- type: "http"
2501
- }],
2502
- url: "/users/{user_id}/policies",
2336
+ url: "/api/v1/users/{user_id}/policies",
2503
2337
  ...options,
2504
2338
  headers: {
2505
2339
  "Content-Type": "application/json",
@@ -2519,7 +2353,7 @@ var Webhooks = class {
2519
2353
  */
2520
2354
  static listWebhooks(options) {
2521
2355
  return (options.client ?? client).get({
2522
- url: "/projects/{project_id}/webhooks",
2356
+ url: "/api/v1/projects/{project_id}/webhooks",
2523
2357
  ...options
2524
2358
  });
2525
2359
  }
@@ -2530,7 +2364,7 @@ var Webhooks = class {
2530
2364
  */
2531
2365
  static createWebhook(options) {
2532
2366
  return (options.client ?? client).post({
2533
- url: "/projects/{project_id}/webhooks",
2367
+ url: "/api/v1/projects/{project_id}/webhooks",
2534
2368
  ...options,
2535
2369
  headers: {
2536
2370
  "Content-Type": "application/json",
@@ -2545,7 +2379,7 @@ var Webhooks = class {
2545
2379
  */
2546
2380
  static deleteWebhook(options) {
2547
2381
  return (options.client ?? client).delete({
2548
- url: "/projects/{project_id}/webhooks/{webhook_id}",
2382
+ url: "/api/v1/projects/{project_id}/webhooks/{webhook_id}",
2549
2383
  ...options
2550
2384
  });
2551
2385
  }
@@ -2556,7 +2390,7 @@ var Webhooks = class {
2556
2390
  */
2557
2391
  static getWebhook(options) {
2558
2392
  return (options.client ?? client).get({
2559
- url: "/projects/{project_id}/webhooks/{webhook_id}",
2393
+ url: "/api/v1/projects/{project_id}/webhooks/{webhook_id}",
2560
2394
  ...options
2561
2395
  });
2562
2396
  }
@@ -2567,7 +2401,7 @@ var Webhooks = class {
2567
2401
  */
2568
2402
  static updateWebhook(options) {
2569
2403
  return (options.client ?? client).put({
2570
- url: "/projects/{project_id}/webhooks/{webhook_id}",
2404
+ url: "/api/v1/projects/{project_id}/webhooks/{webhook_id}",
2571
2405
  ...options,
2572
2406
  headers: {
2573
2407
  "Content-Type": "application/json",
@@ -2582,7 +2416,7 @@ var Webhooks = class {
2582
2416
  */
2583
2417
  static listWebhookDeliveries(options) {
2584
2418
  return (options.client ?? client).get({
2585
- url: "/projects/{project_id}/webhooks/{webhook_id}/deliveries",
2419
+ url: "/api/v1/projects/{project_id}/webhooks/{webhook_id}/deliveries",
2586
2420
  ...options
2587
2421
  });
2588
2422
  }
@@ -2593,7 +2427,7 @@ var Webhooks = class {
2593
2427
  */
2594
2428
  static getWebhookDelivery(options) {
2595
2429
  return (options.client ?? client).get({
2596
- url: "/projects/{project_id}/webhooks/{webhook_id}/deliveries/{delivery_id}",
2430
+ url: "/api/v1/projects/{project_id}/webhooks/{webhook_id}/deliveries/{delivery_id}",
2597
2431
  ...options
2598
2432
  });
2599
2433
  }
@@ -2604,7 +2438,7 @@ var Webhooks = class {
2604
2438
  */
2605
2439
  static rotateWebhookSecret(options) {
2606
2440
  return (options.client ?? client).post({
2607
- url: "/projects/{project_id}/webhooks/{webhook_id}/rotate-secret",
2441
+ url: "/api/v1/projects/{project_id}/webhooks/{webhook_id}/rotate-secret",
2608
2442
  ...options
2609
2443
  });
2610
2444
  }
@@ -2656,7 +2490,7 @@ var SoatClient = class {
2656
2490
  Authorization: `Bearer ${token}`
2657
2491
  } : {};
2658
2492
  const httpClient = createClient(createConfig({
2659
- baseUrl: baseUrl ?? "/api/v1",
2493
+ baseUrl: baseUrl ?? "",
2660
2494
  headers: {
2661
2495
  ...authHeaders,
2662
2496
  ...headers