@arizeai/phoenix-client 6.9.2 → 6.10.0

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.
Files changed (80) hide show
  1. package/dist/esm/__generated__/api/v1.d.ts +1676 -142
  2. package/dist/esm/__generated__/api/v1.d.ts.map +1 -1
  3. package/dist/esm/constants/serverRequirements.d.ts +3 -0
  4. package/dist/esm/constants/serverRequirements.d.ts.map +1 -1
  5. package/dist/esm/constants/serverRequirements.js +24 -0
  6. package/dist/esm/constants/serverRequirements.js.map +1 -1
  7. package/dist/esm/prompts/sdks/toOpenAI.d.ts.map +1 -1
  8. package/dist/esm/prompts/sdks/toOpenAI.js +39 -7
  9. package/dist/esm/prompts/sdks/toOpenAI.js.map +1 -1
  10. package/dist/esm/schemas/llm/constants.d.ts +1 -1
  11. package/dist/esm/schemas/llm/converters.d.ts +4 -4
  12. package/dist/esm/schemas/llm/openai/converters.d.ts +1 -1
  13. package/dist/esm/schemas/llm/openai/messageSchemas.d.ts +1 -1
  14. package/dist/esm/schemas/llm/phoenixPrompt/converters.d.ts +2 -2
  15. package/dist/esm/schemas/llm/phoenixPrompt/messageSchemas.d.ts +3 -3
  16. package/dist/esm/schemas/llm/schemas.d.ts +1 -1
  17. package/dist/esm/schemas/llm/vercel/messageSchemas.d.ts +1 -1
  18. package/dist/esm/sessions/addSessionNote.d.ts +11 -2
  19. package/dist/esm/sessions/addSessionNote.d.ts.map +1 -1
  20. package/dist/esm/sessions/addSessionNote.js +12 -3
  21. package/dist/esm/sessions/addSessionNote.js.map +1 -1
  22. package/dist/esm/spans/addSpanNote.d.ts +11 -5
  23. package/dist/esm/spans/addSpanNote.d.ts.map +1 -1
  24. package/dist/esm/spans/addSpanNote.js +13 -5
  25. package/dist/esm/spans/addSpanNote.js.map +1 -1
  26. package/dist/esm/spans/getSpanAnnotations.d.ts +1 -1
  27. package/dist/esm/spans/getSpanAnnotations.d.ts.map +1 -1
  28. package/dist/esm/traces/addTraceNote.d.ts +11 -5
  29. package/dist/esm/traces/addTraceNote.d.ts.map +1 -1
  30. package/dist/esm/traces/addTraceNote.js +12 -6
  31. package/dist/esm/traces/addTraceNote.js.map +1 -1
  32. package/dist/esm/tsconfig.esm.tsbuildinfo +1 -1
  33. package/dist/esm/utils/formatPromptMessages.d.ts.map +1 -1
  34. package/dist/esm/utils/getPromptBySelector.d.ts.map +1 -1
  35. package/dist/src/__generated__/api/v1.d.ts +1676 -142
  36. package/dist/src/__generated__/api/v1.d.ts.map +1 -1
  37. package/dist/src/constants/serverRequirements.d.ts +3 -0
  38. package/dist/src/constants/serverRequirements.d.ts.map +1 -1
  39. package/dist/src/constants/serverRequirements.js +25 -1
  40. package/dist/src/constants/serverRequirements.js.map +1 -1
  41. package/dist/src/prompts/sdks/toOpenAI.d.ts.map +1 -1
  42. package/dist/src/prompts/sdks/toOpenAI.js +39 -7
  43. package/dist/src/prompts/sdks/toOpenAI.js.map +1 -1
  44. package/dist/src/schemas/llm/constants.d.ts +1 -1
  45. package/dist/src/schemas/llm/converters.d.ts +4 -4
  46. package/dist/src/schemas/llm/openai/converters.d.ts +1 -1
  47. package/dist/src/schemas/llm/openai/messageSchemas.d.ts +1 -1
  48. package/dist/src/schemas/llm/phoenixPrompt/converters.d.ts +2 -2
  49. package/dist/src/schemas/llm/phoenixPrompt/messageSchemas.d.ts +3 -3
  50. package/dist/src/schemas/llm/schemas.d.ts +1 -1
  51. package/dist/src/schemas/llm/vercel/messageSchemas.d.ts +1 -1
  52. package/dist/src/sessions/addSessionNote.d.ts +11 -2
  53. package/dist/src/sessions/addSessionNote.d.ts.map +1 -1
  54. package/dist/src/sessions/addSessionNote.js +11 -2
  55. package/dist/src/sessions/addSessionNote.js.map +1 -1
  56. package/dist/src/spans/addSpanNote.d.ts +11 -5
  57. package/dist/src/spans/addSpanNote.d.ts.map +1 -1
  58. package/dist/src/spans/addSpanNote.js +13 -5
  59. package/dist/src/spans/addSpanNote.js.map +1 -1
  60. package/dist/src/spans/getSpanAnnotations.d.ts +1 -1
  61. package/dist/src/spans/getSpanAnnotations.d.ts.map +1 -1
  62. package/dist/src/traces/addTraceNote.d.ts +11 -5
  63. package/dist/src/traces/addTraceNote.d.ts.map +1 -1
  64. package/dist/src/traces/addTraceNote.js +11 -5
  65. package/dist/src/traces/addTraceNote.js.map +1 -1
  66. package/dist/src/utils/formatPromptMessages.d.ts.map +1 -1
  67. package/dist/src/utils/getPromptBySelector.d.ts.map +1 -1
  68. package/dist/tsconfig.tsbuildinfo +1 -1
  69. package/docs/annotations.mdx +7 -3
  70. package/docs/overview.mdx +1 -1
  71. package/docs/sessions.mdx +20 -0
  72. package/docs/traces.mdx +76 -5
  73. package/package.json +2 -2
  74. package/src/__generated__/api/v1.ts +1676 -142
  75. package/src/constants/serverRequirements.ts +27 -0
  76. package/src/prompts/sdks/toOpenAI.ts +41 -8
  77. package/src/sessions/addSessionNote.ts +22 -3
  78. package/src/spans/addSpanNote.ts +20 -5
  79. package/src/spans/getSpanAnnotations.ts +1 -1
  80. package/src/traces/addTraceNote.ts +22 -6
@@ -573,7 +573,7 @@ export interface paths {
573
573
  put?: never;
574
574
  /**
575
575
  * Create a trace note
576
- * @description Add a note annotation to a trace. Each call appends a new note with an auto-generated UUIDv4 identifier, so multiple notes accumulate on the same trace. Structured annotations, by contrast, are keyed by (name, trace_id, identifier) — re-writing the same key overwrites the existing annotation, so to keep multiple structured annotations with the same name on a trace you must supply distinct identifiers.
576
+ * @description Add a note annotation to a trace. By default each call appends a new note with an auto-generated UUIDv4 identifier, so multiple notes accumulate on the same trace. Callers may supply a non-empty `identifier` to upsert on (trace_id, name='note', identifier) — repeated calls with the same identifier overwrite the existing note, matching the semantics of structured annotations.
577
577
  */
578
578
  post: operations["createTraceNote"];
579
579
  delete?: never;
@@ -678,7 +678,7 @@ export interface paths {
678
678
  put?: never;
679
679
  /**
680
680
  * Create a span note
681
- * @description Add a note annotation to a span. Each call appends a new note with an auto-generated UUIDv4 identifier, so multiple notes accumulate on the same span. Structured annotations, by contrast, are keyed by (name, span_id, identifier) — re-writing the same key overwrites the existing annotation, so to keep multiple structured annotations with the same name on a span you must supply distinct identifiers.
681
+ * @description Add a note annotation to a span. By default each call appends a new note with an auto-generated UUIDv4 identifier, so multiple notes accumulate on the same span. Callers may supply a non-empty `identifier` to upsert on (span_id, name='note', identifier) — repeated calls with the same identifier overwrite the existing note, matching the semantics of structured annotations.
682
682
  */
683
683
  post: operations["createSpanNote"];
684
684
  delete?: never;
@@ -1029,7 +1029,7 @@ export interface paths {
1029
1029
  put?: never;
1030
1030
  /**
1031
1031
  * Create a session note
1032
- * @description Add a note annotation to a session. Each call appends a new note with an auto-generated UUIDv4 identifier, so multiple notes accumulate on the same session. Structured annotations, by contrast, are keyed by (name, session_id, identifier) — re-writing the same key overwrites the existing annotation, so to keep multiple structured annotations with the same name on a session you must supply distinct identifiers.
1032
+ * @description Add a note annotation to a session. By default each call appends a new note with an auto-generated UUIDv4 identifier, so multiple notes accumulate on the same session. Callers may supply a non-empty `identifier` to upsert on (session_id, name='note', identifier) — repeated calls with the same identifier overwrite the existing note, matching the semantics of structured annotations.
1033
1033
  */
1034
1034
  post: operations["createSessionNote"];
1035
1035
  delete?: never;
@@ -1139,10 +1139,287 @@ export interface paths {
1139
1139
  patch?: never;
1140
1140
  trace?: never;
1141
1141
  };
1142
+ "/auth/login": {
1143
+ parameters: {
1144
+ query?: never;
1145
+ header?: never;
1146
+ path?: never;
1147
+ cookie?: never;
1148
+ };
1149
+ get?: never;
1150
+ put?: never;
1151
+ /**
1152
+ * Login
1153
+ * @description Authenticate user via email/password and return access/refresh tokens.
1154
+ */
1155
+ post: operations["_login_auth_login_post"];
1156
+ delete?: never;
1157
+ options?: never;
1158
+ head?: never;
1159
+ patch?: never;
1160
+ trace?: never;
1161
+ };
1162
+ "/auth/logout": {
1163
+ parameters: {
1164
+ query?: never;
1165
+ header?: never;
1166
+ path?: never;
1167
+ cookie?: never;
1168
+ };
1169
+ /**
1170
+ * Logout
1171
+ * @description Log out user by revoking tokens and clearing cookies.
1172
+ */
1173
+ get: operations["_logout_auth_logout_get"];
1174
+ put?: never;
1175
+ post?: never;
1176
+ delete?: never;
1177
+ options?: never;
1178
+ head?: never;
1179
+ patch?: never;
1180
+ trace?: never;
1181
+ };
1182
+ "/auth/refresh": {
1183
+ parameters: {
1184
+ query?: never;
1185
+ header?: never;
1186
+ path?: never;
1187
+ cookie?: never;
1188
+ };
1189
+ get?: never;
1190
+ put?: never;
1191
+ /**
1192
+ * Refresh Tokens
1193
+ * @description Refresh access and refresh tokens.
1194
+ */
1195
+ post: operations["_refresh_tokens_auth_refresh_post"];
1196
+ delete?: never;
1197
+ options?: never;
1198
+ head?: never;
1199
+ patch?: never;
1200
+ trace?: never;
1201
+ };
1202
+ "/auth/password-reset-email": {
1203
+ parameters: {
1204
+ query?: never;
1205
+ header?: never;
1206
+ path?: never;
1207
+ cookie?: never;
1208
+ };
1209
+ get?: never;
1210
+ put?: never;
1211
+ /**
1212
+ * Initiate Password Reset
1213
+ * @description Send password reset email to user.
1214
+ */
1215
+ post: operations["_initiate_password_reset_auth_password_reset_email_post"];
1216
+ delete?: never;
1217
+ options?: never;
1218
+ head?: never;
1219
+ patch?: never;
1220
+ trace?: never;
1221
+ };
1222
+ "/auth/password-reset": {
1223
+ parameters: {
1224
+ query?: never;
1225
+ header?: never;
1226
+ path?: never;
1227
+ cookie?: never;
1228
+ };
1229
+ get?: never;
1230
+ put?: never;
1231
+ /**
1232
+ * Reset Password
1233
+ * @description Reset user password using a valid reset token.
1234
+ */
1235
+ post: operations["_reset_password_auth_password_reset_post"];
1236
+ delete?: never;
1237
+ options?: never;
1238
+ head?: never;
1239
+ patch?: never;
1240
+ trace?: never;
1241
+ };
1242
+ "/auth/ldap/login": {
1243
+ parameters: {
1244
+ query?: never;
1245
+ header?: never;
1246
+ path?: never;
1247
+ cookie?: never;
1248
+ };
1249
+ get?: never;
1250
+ put?: never;
1251
+ /**
1252
+ * Ldap Login
1253
+ * @description Authenticate user via LDAP and return access/refresh tokens.
1254
+ */
1255
+ post: operations["_ldap_login_auth_ldap_login_post"];
1256
+ delete?: never;
1257
+ options?: never;
1258
+ head?: never;
1259
+ patch?: never;
1260
+ trace?: never;
1261
+ };
1262
+ "/oauth2/{idp_name}/login": {
1263
+ parameters: {
1264
+ query?: never;
1265
+ header?: never;
1266
+ path?: never;
1267
+ cookie?: never;
1268
+ };
1269
+ /** Login */
1270
+ get: operations["login_oauth2__idp_name__login_get"];
1271
+ put?: never;
1272
+ /** Login */
1273
+ post: operations["login_oauth2__idp_name__login_post"];
1274
+ delete?: never;
1275
+ options?: never;
1276
+ head?: never;
1277
+ patch?: never;
1278
+ trace?: never;
1279
+ };
1280
+ "/oauth2/{idp_name}/tokens": {
1281
+ parameters: {
1282
+ query?: never;
1283
+ header?: never;
1284
+ path?: never;
1285
+ cookie?: never;
1286
+ };
1287
+ /** Create Tokens */
1288
+ get: operations["create_tokens_oauth2__idp_name__tokens_get"];
1289
+ put?: never;
1290
+ post?: never;
1291
+ delete?: never;
1292
+ options?: never;
1293
+ head?: never;
1294
+ patch?: never;
1295
+ trace?: never;
1296
+ };
1297
+ "/agents/{agent_id}/sessions/{session_id}/chat": {
1298
+ parameters: {
1299
+ query?: never;
1300
+ header?: never;
1301
+ path?: never;
1302
+ cookie?: never;
1303
+ };
1304
+ get?: never;
1305
+ put?: never;
1306
+ /** Chat */
1307
+ post: operations["chat_agents__agent_id__sessions__session_id__chat_post"];
1308
+ delete?: never;
1309
+ options?: never;
1310
+ head?: never;
1311
+ patch?: never;
1312
+ trace?: never;
1313
+ };
1314
+ "/agents/{agent_id}/sessions/{session_id}/summary": {
1315
+ parameters: {
1316
+ query?: never;
1317
+ header?: never;
1318
+ path?: never;
1319
+ cookie?: never;
1320
+ };
1321
+ get?: never;
1322
+ put?: never;
1323
+ /** Summarize Endpoint */
1324
+ post: operations["summarize_endpoint_agents__agent_id__sessions__session_id__summary_post"];
1325
+ delete?: never;
1326
+ options?: never;
1327
+ head?: never;
1328
+ patch?: never;
1329
+ trace?: never;
1330
+ };
1331
+ "/arize_phoenix_version": {
1332
+ parameters: {
1333
+ query?: never;
1334
+ header?: never;
1335
+ path?: never;
1336
+ cookie?: never;
1337
+ };
1338
+ /** Version */
1339
+ get: operations["version_arize_phoenix_version_get"];
1340
+ put?: never;
1341
+ post?: never;
1342
+ delete?: never;
1343
+ options?: never;
1344
+ head?: never;
1345
+ patch?: never;
1346
+ trace?: never;
1347
+ };
1348
+ "/healthz": {
1349
+ parameters: {
1350
+ query?: never;
1351
+ header?: never;
1352
+ path?: never;
1353
+ cookie?: never;
1354
+ };
1355
+ /** Check Healthz */
1356
+ get: operations["check_healthz_healthz_get"];
1357
+ put?: never;
1358
+ post?: never;
1359
+ delete?: never;
1360
+ options?: never;
1361
+ head?: never;
1362
+ patch?: never;
1363
+ trace?: never;
1364
+ };
1365
+ "/readyz": {
1366
+ parameters: {
1367
+ query?: never;
1368
+ header?: never;
1369
+ path?: never;
1370
+ cookie?: never;
1371
+ };
1372
+ /** Check Readyz */
1373
+ get: operations["check_readyz_readyz_get"];
1374
+ put?: never;
1375
+ post?: never;
1376
+ delete?: never;
1377
+ options?: never;
1378
+ head?: never;
1379
+ patch?: never;
1380
+ trace?: never;
1381
+ };
1142
1382
  }
1143
1383
  export type webhooks = Record<string, never>;
1144
1384
  export interface components {
1145
1385
  schemas: {
1386
+ /**
1387
+ * AgentCapabilities
1388
+ * @description Runtime capability state sent by the browser for a chat turn.
1389
+ */
1390
+ AgentCapabilities: {
1391
+ /**
1392
+ * Bash.Retaininactivesessions
1393
+ * @default false
1394
+ */
1395
+ "bash.retainInactiveSessions"?: boolean;
1396
+ /**
1397
+ * Graphql.Mutations
1398
+ * @default false
1399
+ */
1400
+ "graphql.mutations"?: boolean;
1401
+ };
1402
+ /**
1403
+ * AgentSpanContext
1404
+ * @description Span the user has selected.
1405
+ *
1406
+ * Exactly one of ``span_node_id`` (relay) or ``otel_span_id`` (OpenTelemetry
1407
+ * hex) must be set. ``project_node_id`` is optional because a span can be
1408
+ * selected from views outside a project route.
1409
+ */
1410
+ AgentSpanContext: {
1411
+ /**
1412
+ * @description discriminator enum property added by openapi-typescript
1413
+ * @enum {string}
1414
+ */
1415
+ type: "span";
1416
+ /** Projectnodeid */
1417
+ projectNodeId?: string | null;
1418
+ /** Spannodeid */
1419
+ spanNodeId?: string | null;
1420
+ /** Otelspanid */
1421
+ otelSpanId?: string | null;
1422
+ };
1146
1423
  /** AnnotateSessionsRequestBody */
1147
1424
  AnnotateSessionsRequestBody: {
1148
1425
  /** Data */
@@ -1212,6 +1489,100 @@ export interface components {
1212
1489
  */
1213
1490
  auth_method: "ANONYMOUS";
1214
1491
  };
1492
+ /**
1493
+ * AppContext
1494
+ * @description Per-turn browser clock context for resolving relative time requests.
1495
+ */
1496
+ AppContext: {
1497
+ /**
1498
+ * @description discriminator enum property added by openapi-typescript
1499
+ * @enum {string}
1500
+ */
1501
+ type: "app";
1502
+ /** Currentdatetime */
1503
+ currentDateTime: string;
1504
+ /** Timezone */
1505
+ timeZone: string;
1506
+ };
1507
+ /**
1508
+ * AssistantMessageMetadata
1509
+ * @description Wire schema for the chat stream's `message_metadata` payload.
1510
+ */
1511
+ AssistantMessageMetadata: {
1512
+ /** Sessionid */
1513
+ sessionId: string;
1514
+ trace?: components["schemas"]["AssistantMessageMetadataTraceIds"] | null;
1515
+ usage?: components["schemas"]["AssistantMessageMetadataUsage"] | null;
1516
+ };
1517
+ /** AssistantMessageMetadataTraceIds */
1518
+ AssistantMessageMetadataTraceIds: {
1519
+ /** Traceid */
1520
+ traceId: string;
1521
+ /** Rootspanid */
1522
+ rootSpanId: string;
1523
+ };
1524
+ /** AssistantMessageMetadataUsage */
1525
+ AssistantMessageMetadataUsage: {
1526
+ tokens: components["schemas"]["AssistantMessageMetadataUsageTokens"];
1527
+ promptDetails?: components["schemas"]["AssistantMessageMetadataUsageTokenDetails"] | null;
1528
+ };
1529
+ /** AssistantMessageMetadataUsageTokenDetails */
1530
+ AssistantMessageMetadataUsageTokenDetails: {
1531
+ /** Cacheread */
1532
+ cacheRead: number;
1533
+ /** Cachewrite */
1534
+ cacheWrite: number;
1535
+ };
1536
+ /** AssistantMessageMetadataUsageTokens */
1537
+ AssistantMessageMetadataUsageTokens: {
1538
+ /** Prompt */
1539
+ prompt: number;
1540
+ /** Completion */
1541
+ completion: number;
1542
+ /** Total */
1543
+ total: number;
1544
+ };
1545
+ /**
1546
+ * AssistantMetadataUIMessage
1547
+ * @description `UIMessage` with `metadata` narrowed to `AssistantMessageMetadata`.
1548
+ */
1549
+ AssistantMetadataUIMessage: {
1550
+ /** Id */
1551
+ id: string;
1552
+ /**
1553
+ * Role
1554
+ * @enum {string}
1555
+ */
1556
+ role: "system" | "user" | "assistant";
1557
+ metadata?: components["schemas"]["AssistantMessageMetadata"] | null;
1558
+ /** Parts */
1559
+ parts: (components["schemas"]["TextUIPart"] | components["schemas"]["ReasoningUIPart"] | components["schemas"]["ToolInputStreamingPart"] | components["schemas"]["ToolInputAvailablePart"] | components["schemas"]["ToolOutputAvailablePart"] | components["schemas"]["ToolOutputErrorPart"] | components["schemas"]["ToolApprovalRequestedPart"] | components["schemas"]["ToolApprovalRespondedPart"] | components["schemas"]["ToolOutputDeniedPart"] | components["schemas"]["DynamicToolInputStreamingPart"] | components["schemas"]["DynamicToolInputAvailablePart"] | components["schemas"]["DynamicToolOutputAvailablePart"] | components["schemas"]["DynamicToolOutputErrorPart"] | components["schemas"]["DynamicToolApprovalRequestedPart"] | components["schemas"]["DynamicToolApprovalRespondedPart"] | components["schemas"]["DynamicToolOutputDeniedPart"] | components["schemas"]["SourceUrlUIPart"] | components["schemas"]["SourceDocumentUIPart"] | components["schemas"]["FileUIPart"] | components["schemas"]["DataUIPart"] | components["schemas"]["StepStartUIPart"])[];
1560
+ };
1561
+ /**
1562
+ * BuiltInProviderModelSelection
1563
+ * @description Chat against a Phoenix built-in provider.
1564
+ *
1565
+ * Credentials and connection details (base URL, Azure endpoint, AWS
1566
+ * region) are resolved from the secret store first and the process
1567
+ * environment second. ``openai_api_type`` is honoured by the OpenAI and
1568
+ * Azure OpenAI branches; other providers ignore it.
1569
+ */
1570
+ BuiltInProviderModelSelection: {
1571
+ /**
1572
+ * @description discriminator enum property added by openapi-typescript
1573
+ * @enum {string}
1574
+ */
1575
+ providerType: "builtin";
1576
+ provider: components["schemas"]["ModelProvider"];
1577
+ /** Modelname */
1578
+ modelName: string;
1579
+ /**
1580
+ * Openaiapitype
1581
+ * @default responses
1582
+ * @enum {string}
1583
+ */
1584
+ openaiApiType?: "chat_completions" | "responses";
1585
+ };
1215
1586
  /** CategoricalAnnotationConfig */
1216
1587
  CategoricalAnnotationConfig: {
1217
1588
  /** Name */
@@ -1251,6 +1622,86 @@ export interface components {
1251
1622
  /** Score */
1252
1623
  score?: number | null;
1253
1624
  };
1625
+ /**
1626
+ * ChatContext
1627
+ * @description Discriminated union of every UI-state context the agent understands.
1628
+ *
1629
+ * Wrapped in ``RootModel`` so the generated OpenAPI schema exposes a single
1630
+ * named ``ChatContext`` component instead of inlining the ``oneOf`` at every
1631
+ * reference site. The actual member is accessible via ``.root``.
1632
+ */
1633
+ ChatContext: components["schemas"]["AppContext"] | components["schemas"]["ProjectContext"] | components["schemas"]["TraceContext"] | components["schemas"]["AgentSpanContext"] | components["schemas"]["PlaygroundContext"];
1634
+ /**
1635
+ * ChatRegenerateMessage
1636
+ * @description Regenerate message extended with Phoenix-specific fields.
1637
+ */
1638
+ ChatRegenerateMessage: {
1639
+ /**
1640
+ * @description discriminator enum property added by openapi-typescript
1641
+ * @enum {string}
1642
+ */
1643
+ trigger: "regenerate-message";
1644
+ /** Id */
1645
+ id: string;
1646
+ /** Messages */
1647
+ messages: components["schemas"]["AssistantMetadataUIMessage"][];
1648
+ /** Messageid */
1649
+ messageId?: string | null;
1650
+ /**
1651
+ * Ingesttraces
1652
+ * @default false
1653
+ */
1654
+ ingestTraces?: boolean;
1655
+ /**
1656
+ * Exportremotetraces
1657
+ * @default false
1658
+ */
1659
+ exportRemoteTraces?: boolean;
1660
+ /** Contexts */
1661
+ contexts?: components["schemas"]["ChatContext"][];
1662
+ capabilities?: components["schemas"]["AgentCapabilities"];
1663
+ /** Model */
1664
+ model: components["schemas"]["CustomProviderModelSelection"] | components["schemas"]["BuiltInProviderModelSelection"];
1665
+ } & {
1666
+ [key: string]: unknown;
1667
+ };
1668
+ /**
1669
+ * ChatRequest
1670
+ * @description Discriminated union of chat request payloads.
1671
+ */
1672
+ ChatRequest: components["schemas"]["ChatSubmitMessage"] | components["schemas"]["ChatRegenerateMessage"];
1673
+ /**
1674
+ * ChatSubmitMessage
1675
+ * @description Submit message extended with Phoenix-specific fields.
1676
+ */
1677
+ ChatSubmitMessage: {
1678
+ /**
1679
+ * @description discriminator enum property added by openapi-typescript
1680
+ * @enum {string}
1681
+ */
1682
+ trigger: "submit-message";
1683
+ /** Id */
1684
+ id: string;
1685
+ /** Messages */
1686
+ messages: components["schemas"]["AssistantMetadataUIMessage"][];
1687
+ /**
1688
+ * Ingesttraces
1689
+ * @default false
1690
+ */
1691
+ ingestTraces?: boolean;
1692
+ /**
1693
+ * Exportremotetraces
1694
+ * @default false
1695
+ */
1696
+ exportRemoteTraces?: boolean;
1697
+ /** Contexts */
1698
+ contexts?: components["schemas"]["ChatContext"][];
1699
+ capabilities?: components["schemas"]["AgentCapabilities"];
1700
+ /** Model */
1701
+ model: components["schemas"]["CustomProviderModelSelection"] | components["schemas"]["BuiltInProviderModelSelection"];
1702
+ } & {
1703
+ [key: string]: unknown;
1704
+ };
1254
1705
  /** ContinuousAnnotationConfig */
1255
1706
  ContinuousAnnotationConfig: {
1256
1707
  /** Name */
@@ -1466,6 +1917,33 @@ export interface components {
1466
1917
  /** Data */
1467
1918
  data: components["schemas"]["LocalUser"] | components["schemas"]["OAuth2User"] | components["schemas"]["LDAPUser"];
1468
1919
  };
1920
+ /**
1921
+ * CustomProviderModelSelection
1922
+ * @description Chat against a stored custom provider record.
1923
+ */
1924
+ CustomProviderModelSelection: {
1925
+ /**
1926
+ * @description discriminator enum property added by openapi-typescript
1927
+ * @enum {string}
1928
+ */
1929
+ providerType: "custom";
1930
+ /** Providerid */
1931
+ providerId: string;
1932
+ /** Modelname */
1933
+ modelName: string;
1934
+ };
1935
+ /**
1936
+ * DataUIPart
1937
+ * @description Data part with dynamic type based on data name.
1938
+ */
1939
+ DataUIPart: {
1940
+ /** Type */
1941
+ type: string;
1942
+ /** Id */
1943
+ id?: string | null;
1944
+ /** Data */
1945
+ data: unknown;
1946
+ };
1469
1947
  /** Dataset */
1470
1948
  Dataset: {
1471
1949
  /** Id */
@@ -1510,64 +1988,294 @@ export interface components {
1510
1988
  [key: string]: unknown;
1511
1989
  };
1512
1990
  /**
1513
- * Updated At
1514
- * Format: date-time
1991
+ * Updated At
1992
+ * Format: date-time
1993
+ */
1994
+ updated_at: string;
1995
+ };
1996
+ /** DatasetVersion */
1997
+ DatasetVersion: {
1998
+ /** Version Id */
1999
+ version_id: string;
2000
+ /** Description */
2001
+ description: string | null;
2002
+ /** Metadata */
2003
+ metadata: {
2004
+ [key: string]: unknown;
2005
+ };
2006
+ /**
2007
+ * Created At
2008
+ * Format: date-time
2009
+ */
2010
+ created_at: string;
2011
+ };
2012
+ /** DatasetWithExampleCount */
2013
+ DatasetWithExampleCount: {
2014
+ /** Id */
2015
+ id: string;
2016
+ /** Name */
2017
+ name: string;
2018
+ /** Description */
2019
+ description: string | null;
2020
+ /** Metadata */
2021
+ metadata: {
2022
+ [key: string]: unknown;
2023
+ };
2024
+ /**
2025
+ * Created At
2026
+ * Format: date-time
2027
+ */
2028
+ created_at: string;
2029
+ /**
2030
+ * Updated At
2031
+ * Format: date-time
2032
+ */
2033
+ updated_at: string;
2034
+ /** Example Count */
2035
+ example_count: number;
2036
+ };
2037
+ /** DeleteAnnotationConfigResponseBody */
2038
+ DeleteAnnotationConfigResponseBody: {
2039
+ /** Data */
2040
+ data: components["schemas"]["CategoricalAnnotationConfig"] | components["schemas"]["ContinuousAnnotationConfig"] | components["schemas"]["FreeformAnnotationConfig"];
2041
+ };
2042
+ /** DeleteSessionsRequestBody */
2043
+ DeleteSessionsRequestBody: {
2044
+ /**
2045
+ * Session Identifiers
2046
+ * @description List of session identifiers to delete. All identifiers must be the same type: either all GlobalIDs or all user-provided session_id strings.
2047
+ */
2048
+ session_identifiers: string[];
2049
+ };
2050
+ /**
2051
+ * DynamicToolApprovalRequestedPart
2052
+ * @description Dynamic tool part in approval-requested state (awaiting user decision).
2053
+ */
2054
+ DynamicToolApprovalRequestedPart: {
2055
+ /**
2056
+ * Type
2057
+ * @default dynamic-tool
2058
+ * @constant
2059
+ */
2060
+ type?: "dynamic-tool";
2061
+ /** Toolname */
2062
+ toolName: string;
2063
+ /** Toolcallid */
2064
+ toolCallId: string;
2065
+ /**
2066
+ * State
2067
+ * @default approval-requested
2068
+ * @constant
2069
+ */
2070
+ state?: "approval-requested";
2071
+ /** Input */
2072
+ input: unknown;
2073
+ /** Callprovidermetadata */
2074
+ callProviderMetadata?: {
2075
+ [key: string]: {
2076
+ [key: string]: unknown;
2077
+ };
2078
+ } | null;
2079
+ /** Approval */
2080
+ approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
2081
+ };
2082
+ /**
2083
+ * DynamicToolApprovalRespondedPart
2084
+ * @description Dynamic tool part in approval-responded state (user approved/denied, execution pending).
2085
+ */
2086
+ DynamicToolApprovalRespondedPart: {
2087
+ /**
2088
+ * Type
2089
+ * @default dynamic-tool
2090
+ * @constant
2091
+ */
2092
+ type?: "dynamic-tool";
2093
+ /** Toolname */
2094
+ toolName: string;
2095
+ /** Toolcallid */
2096
+ toolCallId: string;
2097
+ /**
2098
+ * State
2099
+ * @default approval-responded
2100
+ * @constant
2101
+ */
2102
+ state?: "approval-responded";
2103
+ /** Input */
2104
+ input: unknown;
2105
+ /** Callprovidermetadata */
2106
+ callProviderMetadata?: {
2107
+ [key: string]: {
2108
+ [key: string]: unknown;
2109
+ };
2110
+ } | null;
2111
+ /** Approval */
2112
+ approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
2113
+ };
2114
+ /**
2115
+ * DynamicToolInputAvailablePart
2116
+ * @description Dynamic tool part in input-available state.
2117
+ */
2118
+ DynamicToolInputAvailablePart: {
2119
+ /**
2120
+ * Type
2121
+ * @default dynamic-tool
2122
+ * @constant
2123
+ */
2124
+ type?: "dynamic-tool";
2125
+ /** Toolname */
2126
+ toolName: string;
2127
+ /** Toolcallid */
2128
+ toolCallId: string;
2129
+ /**
2130
+ * State
2131
+ * @default input-available
2132
+ * @constant
2133
+ */
2134
+ state?: "input-available";
2135
+ /** Input */
2136
+ input: unknown;
2137
+ /** Callprovidermetadata */
2138
+ callProviderMetadata?: {
2139
+ [key: string]: {
2140
+ [key: string]: unknown;
2141
+ };
2142
+ } | null;
2143
+ /** Approval */
2144
+ approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
2145
+ };
2146
+ /**
2147
+ * DynamicToolInputStreamingPart
2148
+ * @description Dynamic tool part in input-streaming state.
2149
+ */
2150
+ DynamicToolInputStreamingPart: {
2151
+ /**
2152
+ * Type
2153
+ * @default dynamic-tool
2154
+ * @constant
2155
+ */
2156
+ type?: "dynamic-tool";
2157
+ /** Toolname */
2158
+ toolName: string;
2159
+ /** Toolcallid */
2160
+ toolCallId: string;
2161
+ /**
2162
+ * State
2163
+ * @default input-streaming
2164
+ * @constant
2165
+ */
2166
+ state?: "input-streaming";
2167
+ /** Input */
2168
+ input?: unknown | null;
2169
+ /** Callprovidermetadata */
2170
+ callProviderMetadata?: {
2171
+ [key: string]: {
2172
+ [key: string]: unknown;
2173
+ };
2174
+ } | null;
2175
+ /** Approval */
2176
+ approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
2177
+ };
2178
+ /**
2179
+ * DynamicToolOutputAvailablePart
2180
+ * @description Dynamic tool part in output-available state.
2181
+ */
2182
+ DynamicToolOutputAvailablePart: {
2183
+ /**
2184
+ * Type
2185
+ * @default dynamic-tool
2186
+ * @constant
1515
2187
  */
1516
- updated_at: string;
1517
- };
1518
- /** DatasetVersion */
1519
- DatasetVersion: {
1520
- /** Version Id */
1521
- version_id: string;
1522
- /** Description */
1523
- description: string | null;
1524
- /** Metadata */
1525
- metadata: {
1526
- [key: string]: unknown;
1527
- };
2188
+ type?: "dynamic-tool";
2189
+ /** Toolname */
2190
+ toolName: string;
2191
+ /** Toolcallid */
2192
+ toolCallId: string;
1528
2193
  /**
1529
- * Created At
1530
- * Format: date-time
2194
+ * State
2195
+ * @default output-available
2196
+ * @constant
1531
2197
  */
1532
- created_at: string;
2198
+ state?: "output-available";
2199
+ /** Input */
2200
+ input: unknown;
2201
+ /** Output */
2202
+ output: unknown;
2203
+ /** Callprovidermetadata */
2204
+ callProviderMetadata?: {
2205
+ [key: string]: {
2206
+ [key: string]: unknown;
2207
+ };
2208
+ } | null;
2209
+ /** Preliminary */
2210
+ preliminary?: boolean | null;
2211
+ /** Approval */
2212
+ approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
1533
2213
  };
1534
- /** DatasetWithExampleCount */
1535
- DatasetWithExampleCount: {
1536
- /** Id */
1537
- id: string;
1538
- /** Name */
1539
- name: string;
1540
- /** Description */
1541
- description: string | null;
1542
- /** Metadata */
1543
- metadata: {
1544
- [key: string]: unknown;
1545
- };
2214
+ /**
2215
+ * DynamicToolOutputDeniedPart
2216
+ * @description Dynamic tool part in output-denied state (tool was denied, terminal state).
2217
+ */
2218
+ DynamicToolOutputDeniedPart: {
1546
2219
  /**
1547
- * Created At
1548
- * Format: date-time
2220
+ * Type
2221
+ * @default dynamic-tool
2222
+ * @constant
1549
2223
  */
1550
- created_at: string;
2224
+ type?: "dynamic-tool";
2225
+ /** Toolname */
2226
+ toolName: string;
2227
+ /** Toolcallid */
2228
+ toolCallId: string;
1551
2229
  /**
1552
- * Updated At
1553
- * Format: date-time
2230
+ * State
2231
+ * @default output-denied
2232
+ * @constant
1554
2233
  */
1555
- updated_at: string;
1556
- /** Example Count */
1557
- example_count: number;
1558
- };
1559
- /** DeleteAnnotationConfigResponseBody */
1560
- DeleteAnnotationConfigResponseBody: {
1561
- /** Data */
1562
- data: components["schemas"]["CategoricalAnnotationConfig"] | components["schemas"]["ContinuousAnnotationConfig"] | components["schemas"]["FreeformAnnotationConfig"];
2234
+ state?: "output-denied";
2235
+ /** Input */
2236
+ input: unknown;
2237
+ /** Callprovidermetadata */
2238
+ callProviderMetadata?: {
2239
+ [key: string]: {
2240
+ [key: string]: unknown;
2241
+ };
2242
+ } | null;
2243
+ /** Approval */
2244
+ approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
1563
2245
  };
1564
- /** DeleteSessionsRequestBody */
1565
- DeleteSessionsRequestBody: {
2246
+ /**
2247
+ * DynamicToolOutputErrorPart
2248
+ * @description Dynamic tool part in output-error state.
2249
+ */
2250
+ DynamicToolOutputErrorPart: {
1566
2251
  /**
1567
- * Session Identifiers
1568
- * @description List of session identifiers to delete. All identifiers must be the same type: either all GlobalIDs or all user-provided session_id strings.
2252
+ * Type
2253
+ * @default dynamic-tool
2254
+ * @constant
1569
2255
  */
1570
- session_identifiers: string[];
2256
+ type?: "dynamic-tool";
2257
+ /** Toolname */
2258
+ toolName: string;
2259
+ /** Toolcallid */
2260
+ toolCallId: string;
2261
+ /**
2262
+ * State
2263
+ * @default output-error
2264
+ * @constant
2265
+ */
2266
+ state?: "output-error";
2267
+ /** Input */
2268
+ input: unknown;
2269
+ /** Errortext */
2270
+ errorText: string;
2271
+ /** Callprovidermetadata */
2272
+ callProviderMetadata?: {
2273
+ [key: string]: {
2274
+ [key: string]: unknown;
2275
+ };
2276
+ } | null;
2277
+ /** Approval */
2278
+ approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
1571
2279
  };
1572
2280
  /** Experiment */
1573
2281
  Experiment: {
@@ -1704,6 +2412,30 @@ export interface components {
1704
2412
  */
1705
2413
  experiment_id: string;
1706
2414
  };
2415
+ /**
2416
+ * FileUIPart
2417
+ * @description A file part of a message.
2418
+ */
2419
+ FileUIPart: {
2420
+ /**
2421
+ * Type
2422
+ * @default file
2423
+ * @constant
2424
+ */
2425
+ type?: "file";
2426
+ /** Mediatype */
2427
+ mediaType: string;
2428
+ /** Filename */
2429
+ filename?: string | null;
2430
+ /** Url */
2431
+ url: string;
2432
+ /** Providermetadata */
2433
+ providerMetadata?: {
2434
+ [key: string]: {
2435
+ [key: string]: unknown;
2436
+ };
2437
+ } | null;
2438
+ };
1707
2439
  /** FreeformAnnotationConfig */
1708
2440
  FreeformAnnotationConfig: {
1709
2441
  /** Name */
@@ -2307,6 +3039,19 @@ export interface components {
2307
3039
  */
2308
3040
  message?: string | null;
2309
3041
  };
3042
+ /**
3043
+ * PlaygroundContext
3044
+ * @description Playground prompt editor state mounted in the current browser route.
3045
+ */
3046
+ PlaygroundContext: {
3047
+ /**
3048
+ * @description discriminator enum property added by openapi-typescript
3049
+ * @enum {string}
3050
+ */
3051
+ type: "playground";
3052
+ /** Instanceids */
3053
+ instanceIds: number[];
3054
+ };
2310
3055
  /** Project */
2311
3056
  Project: {
2312
3057
  /** Name */
@@ -2316,6 +3061,32 @@ export interface components {
2316
3061
  /** Id */
2317
3062
  id: string;
2318
3063
  };
3064
+ /**
3065
+ * ProjectContext
3066
+ * @description Project the user is currently viewing.
3067
+ *
3068
+ * ``span_filter`` carries the project-scoped span filter expression when the
3069
+ * span filter field is mounted — empty string when the field is mounted with
3070
+ * no condition applied, ``None`` when the field is not present at all.
3071
+ *
3072
+ * ``root_spans_only`` carries the current state of the spans-table root vs.
3073
+ * all toggle when that toggle is mounted — ``True`` when the table is
3074
+ * restricted to root spans, ``False`` when it shows every span, ``None``
3075
+ * when the toggle is not present (e.g. on the traces tab).
3076
+ */
3077
+ ProjectContext: {
3078
+ /**
3079
+ * @description discriminator enum property added by openapi-typescript
3080
+ * @enum {string}
3081
+ */
3082
+ type: "project";
3083
+ /** Projectnodeid */
3084
+ projectNodeId: string;
3085
+ /** Spanfilter */
3086
+ spanFilter?: string | null;
3087
+ /** Rootspansonly */
3088
+ rootSpansOnly?: boolean | null;
3089
+ };
2319
3090
  /** Prompt */
2320
3091
  Prompt: {
2321
3092
  name: components["schemas"]["Identifier"];
@@ -3073,6 +3844,28 @@ export interface components {
3073
3844
  [key: string]: unknown;
3074
3845
  };
3075
3846
  };
3847
+ /**
3848
+ * ReasoningUIPart
3849
+ * @description A reasoning part of a message.
3850
+ */
3851
+ ReasoningUIPart: {
3852
+ /**
3853
+ * Type
3854
+ * @default reasoning
3855
+ * @constant
3856
+ */
3857
+ type?: "reasoning";
3858
+ /** Text */
3859
+ text: string;
3860
+ /** State */
3861
+ state?: ("streaming" | "done") | null;
3862
+ /** Providermetadata */
3863
+ providerMetadata?: {
3864
+ [key: string]: {
3865
+ [key: string]: unknown;
3866
+ };
3867
+ } | null;
3868
+ };
3076
3869
  /** ResponseBody[UpsertOrDeleteSecretsResult] */
3077
3870
  ResponseBody_UpsertOrDeleteSecretsResult_: {
3078
3871
  data: components["schemas"]["UpsertOrDeleteSecretsResult"];
@@ -3235,6 +4028,12 @@ export interface components {
3235
4028
  * @description The note text to add to the session
3236
4029
  */
3237
4030
  note: string;
4031
+ /**
4032
+ * Identifier
4033
+ * @description Optional caller-supplied identifier. When non-empty, the note is upserted on (session_id, name='note', identifier) — repeated calls with the same identifier overwrite the existing note. When omitted or empty, the server stamps a unique 'px-session-note:<uuid>' identifier so each call appends a new note.
4034
+ * @default
4035
+ */
4036
+ identifier?: string;
3238
4037
  };
3239
4038
  /** SessionTraceData */
3240
4039
  SessionTraceData: {
@@ -3253,6 +4052,56 @@ export interface components {
3253
4052
  */
3254
4053
  end_time: string;
3255
4054
  };
4055
+ /**
4056
+ * SourceDocumentUIPart
4057
+ * @description A document source part of a message.
4058
+ */
4059
+ SourceDocumentUIPart: {
4060
+ /**
4061
+ * Type
4062
+ * @default source-document
4063
+ * @constant
4064
+ */
4065
+ type?: "source-document";
4066
+ /** Sourceid */
4067
+ sourceId: string;
4068
+ /** Mediatype */
4069
+ mediaType: string;
4070
+ /** Title */
4071
+ title: string;
4072
+ /** Filename */
4073
+ filename?: string | null;
4074
+ /** Providermetadata */
4075
+ providerMetadata?: {
4076
+ [key: string]: {
4077
+ [key: string]: unknown;
4078
+ };
4079
+ } | null;
4080
+ };
4081
+ /**
4082
+ * SourceUrlUIPart
4083
+ * @description A source part of a message.
4084
+ */
4085
+ SourceUrlUIPart: {
4086
+ /**
4087
+ * Type
4088
+ * @default source-url
4089
+ * @constant
4090
+ */
4091
+ type?: "source-url";
4092
+ /** Sourceid */
4093
+ sourceId: string;
4094
+ /** Url */
4095
+ url: string;
4096
+ /** Title */
4097
+ title?: string | null;
4098
+ /** Providermetadata */
4099
+ providerMetadata?: {
4100
+ [key: string]: {
4101
+ [key: string]: unknown;
4102
+ };
4103
+ } | null;
4104
+ };
3256
4105
  /**
3257
4106
  * Span
3258
4107
  * @example {
@@ -3528,6 +4377,12 @@ export interface components {
3528
4377
  * @description The note text to add to the span
3529
4378
  */
3530
4379
  note: string;
4380
+ /**
4381
+ * Identifier
4382
+ * @description Optional caller-supplied identifier. When non-empty, the note is upserted on (span_id, name='note', identifier) — repeated calls with the same identifier overwrite the existing note. When omitted or empty, the server stamps a unique 'px-span-note:<uuid>' identifier so each call appends a new note.
4383
+ * @default
4384
+ */
4385
+ identifier?: string;
3531
4386
  };
3532
4387
  /** SpansResponseBody */
3533
4388
  SpansResponseBody: {
@@ -3536,6 +4391,18 @@ export interface components {
3536
4391
  /** Next Cursor */
3537
4392
  next_cursor: string | null;
3538
4393
  };
4394
+ /**
4395
+ * StepStartUIPart
4396
+ * @description A step boundary part of a message.
4397
+ */
4398
+ StepStartUIPart: {
4399
+ /**
4400
+ * Type
4401
+ * @default step-start
4402
+ * @constant
4403
+ */
4404
+ type?: "step-start";
4405
+ };
3539
4406
  /** TextContentPart */
3540
4407
  TextContentPart: {
3541
4408
  /**
@@ -3546,6 +4413,104 @@ export interface components {
3546
4413
  /** Text */
3547
4414
  text: string;
3548
4415
  };
4416
+ /**
4417
+ * TextUIPart
4418
+ * @description A text part of a message.
4419
+ */
4420
+ TextUIPart: {
4421
+ /**
4422
+ * Type
4423
+ * @default text
4424
+ * @constant
4425
+ */
4426
+ type?: "text";
4427
+ /** Text */
4428
+ text: string;
4429
+ /** State */
4430
+ state?: ("streaming" | "done") | null;
4431
+ /** Providermetadata */
4432
+ providerMetadata?: {
4433
+ [key: string]: {
4434
+ [key: string]: unknown;
4435
+ };
4436
+ } | null;
4437
+ };
4438
+ /**
4439
+ * ToolApprovalRequested
4440
+ * @description Tool approval in requested state (awaiting user response).
4441
+ */
4442
+ ToolApprovalRequested: {
4443
+ /** Id */
4444
+ id: string;
4445
+ };
4446
+ /**
4447
+ * ToolApprovalRequestedPart
4448
+ * @description Tool part in approval-requested state (awaiting user decision).
4449
+ */
4450
+ ToolApprovalRequestedPart: {
4451
+ /** Type */
4452
+ type: string;
4453
+ /** Toolcallid */
4454
+ toolCallId: string;
4455
+ /**
4456
+ * State
4457
+ * @default approval-requested
4458
+ * @constant
4459
+ */
4460
+ state?: "approval-requested";
4461
+ /** Input */
4462
+ input?: unknown | null;
4463
+ /** Providerexecuted */
4464
+ providerExecuted?: boolean | null;
4465
+ /** Callprovidermetadata */
4466
+ callProviderMetadata?: {
4467
+ [key: string]: {
4468
+ [key: string]: unknown;
4469
+ };
4470
+ } | null;
4471
+ /** Approval */
4472
+ approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
4473
+ };
4474
+ /**
4475
+ * ToolApprovalResponded
4476
+ * @description Tool approval in responded state (user has approved or denied).
4477
+ */
4478
+ ToolApprovalResponded: {
4479
+ /** Id */
4480
+ id: string;
4481
+ /** Approved */
4482
+ approved: boolean;
4483
+ /** Reason */
4484
+ reason?: string | null;
4485
+ };
4486
+ /**
4487
+ * ToolApprovalRespondedPart
4488
+ * @description Tool part in approval-responded state (user approved/denied, execution pending).
4489
+ */
4490
+ ToolApprovalRespondedPart: {
4491
+ /** Type */
4492
+ type: string;
4493
+ /** Toolcallid */
4494
+ toolCallId: string;
4495
+ /**
4496
+ * State
4497
+ * @default approval-responded
4498
+ * @constant
4499
+ */
4500
+ state?: "approval-responded";
4501
+ /** Input */
4502
+ input?: unknown | null;
4503
+ /** Providerexecuted */
4504
+ providerExecuted?: boolean | null;
4505
+ /** Callprovidermetadata */
4506
+ callProviderMetadata?: {
4507
+ [key: string]: {
4508
+ [key: string]: unknown;
4509
+ };
4510
+ } | null;
4511
+ /** Approval */
4512
+ approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
4513
+ };
3549
4514
  /** ToolCallContentPart */
3550
4515
  ToolCallContentPart: {
3551
4516
  /**
@@ -3570,6 +4535,154 @@ export interface components {
3570
4535
  /** Arguments */
3571
4536
  arguments: string;
3572
4537
  };
4538
+ /**
4539
+ * ToolInputAvailablePart
4540
+ * @description Tool part in input-available state.
4541
+ */
4542
+ ToolInputAvailablePart: {
4543
+ /** Type */
4544
+ type: string;
4545
+ /** Toolcallid */
4546
+ toolCallId: string;
4547
+ /**
4548
+ * State
4549
+ * @default input-available
4550
+ * @constant
4551
+ */
4552
+ state?: "input-available";
4553
+ /** Input */
4554
+ input?: unknown | null;
4555
+ /** Providerexecuted */
4556
+ providerExecuted?: boolean | null;
4557
+ /** Callprovidermetadata */
4558
+ callProviderMetadata?: {
4559
+ [key: string]: {
4560
+ [key: string]: unknown;
4561
+ };
4562
+ } | null;
4563
+ /** Approval */
4564
+ approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
4565
+ };
4566
+ /**
4567
+ * ToolInputStreamingPart
4568
+ * @description Tool part in input-streaming state.
4569
+ */
4570
+ ToolInputStreamingPart: {
4571
+ /** Type */
4572
+ type: string;
4573
+ /** Toolcallid */
4574
+ toolCallId: string;
4575
+ /**
4576
+ * State
4577
+ * @default input-streaming
4578
+ * @constant
4579
+ */
4580
+ state?: "input-streaming";
4581
+ /** Input */
4582
+ input?: unknown | null;
4583
+ /** Providerexecuted */
4584
+ providerExecuted?: boolean | null;
4585
+ /** Callprovidermetadata */
4586
+ callProviderMetadata?: {
4587
+ [key: string]: {
4588
+ [key: string]: unknown;
4589
+ };
4590
+ } | null;
4591
+ /** Approval */
4592
+ approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
4593
+ };
4594
+ /**
4595
+ * ToolOutputAvailablePart
4596
+ * @description Tool part in output-available state.
4597
+ */
4598
+ ToolOutputAvailablePart: {
4599
+ /** Type */
4600
+ type: string;
4601
+ /** Toolcallid */
4602
+ toolCallId: string;
4603
+ /**
4604
+ * State
4605
+ * @default output-available
4606
+ * @constant
4607
+ */
4608
+ state?: "output-available";
4609
+ /** Input */
4610
+ input?: unknown | null;
4611
+ /** Output */
4612
+ output?: unknown | null;
4613
+ /** Providerexecuted */
4614
+ providerExecuted?: boolean | null;
4615
+ /** Callprovidermetadata */
4616
+ callProviderMetadata?: {
4617
+ [key: string]: {
4618
+ [key: string]: unknown;
4619
+ };
4620
+ } | null;
4621
+ /** Preliminary */
4622
+ preliminary?: boolean | null;
4623
+ /** Approval */
4624
+ approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
4625
+ };
4626
+ /**
4627
+ * ToolOutputDeniedPart
4628
+ * @description Tool part in output-denied state (tool was denied, terminal state).
4629
+ */
4630
+ ToolOutputDeniedPart: {
4631
+ /** Type */
4632
+ type: string;
4633
+ /** Toolcallid */
4634
+ toolCallId: string;
4635
+ /**
4636
+ * State
4637
+ * @default output-denied
4638
+ * @constant
4639
+ */
4640
+ state?: "output-denied";
4641
+ /** Input */
4642
+ input?: unknown | null;
4643
+ /** Providerexecuted */
4644
+ providerExecuted?: boolean | null;
4645
+ /** Callprovidermetadata */
4646
+ callProviderMetadata?: {
4647
+ [key: string]: {
4648
+ [key: string]: unknown;
4649
+ };
4650
+ } | null;
4651
+ /** Approval */
4652
+ approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
4653
+ };
4654
+ /**
4655
+ * ToolOutputErrorPart
4656
+ * @description Tool part in output-error state.
4657
+ */
4658
+ ToolOutputErrorPart: {
4659
+ /** Type */
4660
+ type: string;
4661
+ /** Toolcallid */
4662
+ toolCallId: string;
4663
+ /**
4664
+ * State
4665
+ * @default output-error
4666
+ * @constant
4667
+ */
4668
+ state?: "output-error";
4669
+ /** Input */
4670
+ input?: unknown | null;
4671
+ /** Rawinput */
4672
+ rawInput?: unknown | null;
4673
+ /** Errortext */
4674
+ errorText: string;
4675
+ /** Providerexecuted */
4676
+ providerExecuted?: boolean | null;
4677
+ /** Callprovidermetadata */
4678
+ callProviderMetadata?: {
4679
+ [key: string]: {
4680
+ [key: string]: unknown;
4681
+ };
4682
+ } | null;
4683
+ /** Approval */
4684
+ approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
4685
+ };
3573
4686
  /** ToolResultContentPart */
3574
4687
  ToolResultContentPart: {
3575
4688
  /**
@@ -3678,6 +4791,18 @@ export interface components {
3678
4791
  /** Next Cursor */
3679
4792
  next_cursor: string | null;
3680
4793
  };
4794
+ /** TraceContext */
4795
+ TraceContext: {
4796
+ /**
4797
+ * @description discriminator enum property added by openapi-typescript
4798
+ * @enum {string}
4799
+ */
4800
+ type: "trace";
4801
+ /** Projectnodeid */
4802
+ projectNodeId: string;
4803
+ /** Oteltraceid */
4804
+ otelTraceId: string;
4805
+ };
3681
4806
  /** TraceData */
3682
4807
  TraceData: {
3683
4808
  /** Id */
@@ -3729,6 +4854,12 @@ export interface components {
3729
4854
  * @description The note text to add to the trace
3730
4855
  */
3731
4856
  note: string;
4857
+ /**
4858
+ * Identifier
4859
+ * @description Optional caller-supplied identifier. When non-empty, the note is upserted on (trace_id, name='note', identifier) — repeated calls with the same identifier overwrite the existing note. When omitted or empty, the server stamps a unique 'px-trace-note:<uuid>' identifier so each call appends a new note.
4860
+ * @default
4861
+ */
4862
+ identifier?: string;
3732
4863
  };
3733
4864
  /** TraceSpanData */
3734
4865
  TraceSpanData: {
@@ -3750,10 +4881,27 @@ export interface components {
3750
4881
  */
3751
4882
  start_time: string;
3752
4883
  /**
3753
- * End Time
3754
- * Format: date-time
4884
+ * End Time
4885
+ * Format: date-time
4886
+ */
4887
+ end_time: string;
4888
+ };
4889
+ /**
4890
+ * UIMessage
4891
+ * @description A message as displayed in the UI by Vercel AI Elements.
4892
+ */
4893
+ UIMessage: {
4894
+ /** Id */
4895
+ id: string;
4896
+ /**
4897
+ * Role
4898
+ * @enum {string}
3755
4899
  */
3756
- end_time: string;
4900
+ role: "system" | "user" | "assistant";
4901
+ /** Metadata */
4902
+ metadata?: unknown | null;
4903
+ /** Parts */
4904
+ parts: (components["schemas"]["TextUIPart"] | components["schemas"]["ReasoningUIPart"] | components["schemas"]["ToolInputStreamingPart"] | components["schemas"]["ToolInputAvailablePart"] | components["schemas"]["ToolOutputAvailablePart"] | components["schemas"]["ToolOutputErrorPart"] | components["schemas"]["ToolApprovalRequestedPart"] | components["schemas"]["ToolApprovalRespondedPart"] | components["schemas"]["ToolOutputDeniedPart"] | components["schemas"]["DynamicToolInputStreamingPart"] | components["schemas"]["DynamicToolInputAvailablePart"] | components["schemas"]["DynamicToolOutputAvailablePart"] | components["schemas"]["DynamicToolOutputErrorPart"] | components["schemas"]["DynamicToolApprovalRequestedPart"] | components["schemas"]["DynamicToolApprovalRespondedPart"] | components["schemas"]["DynamicToolOutputDeniedPart"] | components["schemas"]["SourceUrlUIPart"] | components["schemas"]["SourceDocumentUIPart"] | components["schemas"]["FileUIPart"] | components["schemas"]["DataUIPart"] | components["schemas"]["StepStartUIPart"])[];
3757
4905
  };
3758
4906
  /** UpdateAnnotationConfigResponseBody */
3759
4907
  UpdateAnnotationConfigResponseBody: {
@@ -3879,6 +5027,34 @@ export interface components {
3879
5027
  /** Context */
3880
5028
  ctx?: Record<string, unknown>;
3881
5029
  };
5030
+ /**
5031
+ * _SummarizeRequest
5032
+ * @description Body for POST /agents/{agent_id}/sessions/{session_id}/summary.
5033
+ *
5034
+ * Carries the Vercel-style messages array; the backend owns the prompt and
5035
+ * the structured-output tool schema.
5036
+ */
5037
+ _SummarizeRequest: {
5038
+ /**
5039
+ * Ingesttraces
5040
+ * @default false
5041
+ */
5042
+ ingestTraces?: boolean;
5043
+ /**
5044
+ * Exportremotetraces
5045
+ * @default false
5046
+ */
5047
+ exportRemoteTraces?: boolean;
5048
+ /** Messages */
5049
+ messages: components["schemas"]["UIMessage"][];
5050
+ /** Model */
5051
+ model: components["schemas"]["CustomProviderModelSelection"] | components["schemas"]["BuiltInProviderModelSelection"];
5052
+ };
5053
+ /** _SummarizeResponse */
5054
+ _SummarizeResponse: {
5055
+ /** Summary */
5056
+ summary: string;
5057
+ };
3882
5058
  };
3883
5059
  responses: never;
3884
5060
  parameters: never;
@@ -4107,7 +5283,7 @@ export interface operations {
4107
5283
  span_ids?: string[] | null;
4108
5284
  /** @description Optional list of annotation identifiers to filter by. Each value must be non-empty. If omitted, `span_ids` must be supplied. When combined with `span_ids`, results are the AND-intersection of both filters. */
4109
5285
  identifier?: string[] | null;
4110
- /** @description Optional list of annotation names to include. If provided, only annotations with these names will be returned. 'note' annotations are excluded by default unless explicitly included in this list. */
5286
+ /** @description Optional list of annotation names to include. If provided, only annotations with these names will be returned (allowlist). When omitted, the response includes every matching row regardless of name (no annotation names are excluded by default). */
4111
5287
  include_annotation_names?: string[] | null;
4112
5288
  /** @description Optional list of annotation names to exclude from results. */
4113
5289
  exclude_annotation_names?: string[] | null;
@@ -4231,7 +5407,7 @@ export interface operations {
4231
5407
  trace_ids?: string[] | null;
4232
5408
  /** @description Optional list of annotation identifiers to filter by. Each value must be non-empty. If omitted, `trace_ids` must be supplied. When combined with `trace_ids`, results are the AND-intersection of both filters. */
4233
5409
  identifier?: string[] | null;
4234
- /** @description Optional list of annotation names to include. If provided, only annotations with these names will be returned. 'note' annotations are excluded by default unless explicitly included in this list. */
5410
+ /** @description Optional list of annotation names to include. If provided, only annotations with these names will be returned (allowlist). When omitted, the response includes every matching row regardless of name (no annotation names are excluded by default). */
4235
5411
  include_annotation_names?: string[] | null;
4236
5412
  /** @description Optional list of annotation names to exclude from results. */
4237
5413
  exclude_annotation_names?: string[] | null;
@@ -4355,7 +5531,7 @@ export interface operations {
4355
5531
  session_ids?: string[] | null;
4356
5532
  /** @description Optional list of annotation identifiers to filter by. Each value must be non-empty. If omitted, `session_ids` must be supplied. When combined with `session_ids`, results are the AND-intersection of both filters. */
4357
5533
  identifier?: string[] | null;
4358
- /** @description Optional list of annotation names to include. If provided, only annotations with these names will be returned. 'note' annotations are excluded by default unless explicitly included in this list. */
5534
+ /** @description Optional list of annotation names to include. If provided, only annotations with these names will be returned (allowlist). When omitted, the response includes every matching row regardless of name (no annotation names are excluded by default). */
4359
5535
  include_annotation_names?: string[] | null;
4360
5536
  /** @description Optional list of annotation names to exclude from results. */
4361
5537
  exclude_annotation_names?: string[] | null;
@@ -7180,17 +8356,257 @@ export interface operations {
7180
8356
  };
7181
8357
  requestBody: {
7182
8358
  content: {
7183
- "application/json": components["schemas"]["AnnotateSpanDocumentsRequestBody"];
8359
+ "application/json": components["schemas"]["AnnotateSpanDocumentsRequestBody"];
8360
+ };
8361
+ };
8362
+ responses: {
8363
+ /** @description Span document annotation inserted successfully */
8364
+ 200: {
8365
+ headers: {
8366
+ [name: string]: unknown;
8367
+ };
8368
+ content: {
8369
+ "application/json": components["schemas"]["AnnotateSpanDocumentsResponseBody"];
8370
+ };
8371
+ };
8372
+ /** @description Forbidden */
8373
+ 403: {
8374
+ headers: {
8375
+ [name: string]: unknown;
8376
+ };
8377
+ content: {
8378
+ "text/plain": string;
8379
+ };
8380
+ };
8381
+ /** @description Span not found */
8382
+ 404: {
8383
+ headers: {
8384
+ [name: string]: unknown;
8385
+ };
8386
+ content: {
8387
+ "text/plain": string;
8388
+ };
8389
+ };
8390
+ /** @description Invalid request - non-empty identifier not supported */
8391
+ 422: {
8392
+ headers: {
8393
+ [name: string]: unknown;
8394
+ };
8395
+ content: {
8396
+ "text/plain": string;
8397
+ };
8398
+ };
8399
+ };
8400
+ };
8401
+ getViewer: {
8402
+ parameters: {
8403
+ query?: never;
8404
+ header?: never;
8405
+ path?: never;
8406
+ cookie?: never;
8407
+ };
8408
+ requestBody?: never;
8409
+ responses: {
8410
+ /** @description The authenticated user's profile. */
8411
+ 200: {
8412
+ headers: {
8413
+ [name: string]: unknown;
8414
+ };
8415
+ content: {
8416
+ "application/json": components["schemas"]["GetViewerResponseBody"];
8417
+ };
8418
+ };
8419
+ /** @description User not found. */
8420
+ 401: {
8421
+ headers: {
8422
+ [name: string]: unknown;
8423
+ };
8424
+ content: {
8425
+ "text/plain": string;
8426
+ };
8427
+ };
8428
+ /** @description Forbidden */
8429
+ 403: {
8430
+ headers: {
8431
+ [name: string]: unknown;
8432
+ };
8433
+ content: {
8434
+ "text/plain": string;
8435
+ };
8436
+ };
8437
+ };
8438
+ };
8439
+ getUsers: {
8440
+ parameters: {
8441
+ query?: {
8442
+ /** @description Cursor for pagination (base64-encoded user ID) */
8443
+ cursor?: string;
8444
+ /** @description The max number of users to return at a time. */
8445
+ limit?: number;
8446
+ };
8447
+ header?: never;
8448
+ path?: never;
8449
+ cookie?: never;
8450
+ };
8451
+ requestBody?: never;
8452
+ responses: {
8453
+ /** @description A list of users. */
8454
+ 200: {
8455
+ headers: {
8456
+ [name: string]: unknown;
8457
+ };
8458
+ content: {
8459
+ "application/json": components["schemas"]["GetUsersResponseBody"];
8460
+ };
8461
+ };
8462
+ /** @description Forbidden */
8463
+ 403: {
8464
+ headers: {
8465
+ [name: string]: unknown;
8466
+ };
8467
+ content: {
8468
+ "text/plain": string;
8469
+ };
8470
+ };
8471
+ /** @description Unprocessable Entity */
8472
+ 422: {
8473
+ headers: {
8474
+ [name: string]: unknown;
8475
+ };
8476
+ content: {
8477
+ "text/plain": string;
8478
+ };
8479
+ };
8480
+ };
8481
+ };
8482
+ createUser: {
8483
+ parameters: {
8484
+ query?: never;
8485
+ header?: never;
8486
+ path?: never;
8487
+ cookie?: never;
8488
+ };
8489
+ requestBody: {
8490
+ content: {
8491
+ "application/json": components["schemas"]["CreateUserRequestBody"];
8492
+ };
8493
+ };
8494
+ responses: {
8495
+ /** @description The newly created user. */
8496
+ 201: {
8497
+ headers: {
8498
+ [name: string]: unknown;
8499
+ };
8500
+ content: {
8501
+ "application/json": components["schemas"]["CreateUserResponseBody"];
8502
+ };
8503
+ };
8504
+ /** @description Role not found. */
8505
+ 400: {
8506
+ headers: {
8507
+ [name: string]: unknown;
8508
+ };
8509
+ content: {
8510
+ "text/plain": string;
8511
+ };
8512
+ };
8513
+ /** @description Forbidden */
8514
+ 403: {
8515
+ headers: {
8516
+ [name: string]: unknown;
8517
+ };
8518
+ content: {
8519
+ "text/plain": string;
8520
+ };
8521
+ };
8522
+ /** @description Username or email already exists. */
8523
+ 409: {
8524
+ headers: {
8525
+ [name: string]: unknown;
8526
+ };
8527
+ content: {
8528
+ "text/plain": string;
8529
+ };
8530
+ };
8531
+ /** @description Unprocessable Entity */
8532
+ 422: {
8533
+ headers: {
8534
+ [name: string]: unknown;
8535
+ };
8536
+ content: {
8537
+ "text/plain": string;
8538
+ };
8539
+ };
8540
+ };
8541
+ };
8542
+ deleteUser: {
8543
+ parameters: {
8544
+ query?: never;
8545
+ header?: never;
8546
+ path: {
8547
+ /** @description The GlobalID of the user (e.g. 'VXNlcjox'). */
8548
+ user_id: string;
8549
+ };
8550
+ cookie?: never;
8551
+ };
8552
+ requestBody?: never;
8553
+ responses: {
8554
+ /** @description No content returned on successful deletion. */
8555
+ 204: {
8556
+ headers: {
8557
+ [name: string]: unknown;
8558
+ };
8559
+ content?: never;
8560
+ };
8561
+ /** @description Cannot delete the default admin or system user */
8562
+ 403: {
8563
+ headers: {
8564
+ [name: string]: unknown;
8565
+ };
8566
+ content: {
8567
+ "text/plain": string;
8568
+ };
8569
+ };
8570
+ /** @description User not found. */
8571
+ 404: {
8572
+ headers: {
8573
+ [name: string]: unknown;
8574
+ };
8575
+ content: {
8576
+ "text/plain": string;
8577
+ };
8578
+ };
8579
+ /** @description Unprocessable Entity */
8580
+ 422: {
8581
+ headers: {
8582
+ [name: string]: unknown;
8583
+ };
8584
+ content: {
8585
+ "text/plain": string;
8586
+ };
8587
+ };
8588
+ };
8589
+ };
8590
+ upsertOrDeleteSecrets: {
8591
+ parameters: {
8592
+ query?: never;
8593
+ header?: never;
8594
+ path?: never;
8595
+ cookie?: never;
8596
+ };
8597
+ requestBody: {
8598
+ content: {
8599
+ "application/json": components["schemas"]["UpsertOrDeleteSecretsRequest"];
7184
8600
  };
7185
8601
  };
7186
8602
  responses: {
7187
- /** @description Span document annotation inserted successfully */
8603
+ /** @description Successful Response */
7188
8604
  200: {
7189
8605
  headers: {
7190
8606
  [name: string]: unknown;
7191
8607
  };
7192
8608
  content: {
7193
- "application/json": components["schemas"]["AnnotateSpanDocumentsResponseBody"];
8609
+ "application/json": components["schemas"]["ResponseBody_UpsertOrDeleteSecretsResult_"];
7194
8610
  };
7195
8611
  };
7196
8612
  /** @description Forbidden */
@@ -7202,8 +8618,8 @@ export interface operations {
7202
8618
  "text/plain": string;
7203
8619
  };
7204
8620
  };
7205
- /** @description Span not found */
7206
- 404: {
8621
+ /** @description Unprocessable Entity */
8622
+ 422: {
7207
8623
  headers: {
7208
8624
  [name: string]: unknown;
7209
8625
  };
@@ -7211,8 +8627,8 @@ export interface operations {
7211
8627
  "text/plain": string;
7212
8628
  };
7213
8629
  };
7214
- /** @description Invalid request - non-empty identifier not supported */
7215
- 422: {
8630
+ /** @description Insufficient Storage */
8631
+ 507: {
7216
8632
  headers: {
7217
8633
  [name: string]: unknown;
7218
8634
  };
@@ -7222,7 +8638,7 @@ export interface operations {
7222
8638
  };
7223
8639
  };
7224
8640
  };
7225
- getViewer: {
8641
+ _login_auth_login_post: {
7226
8642
  parameters: {
7227
8643
  query?: never;
7228
8644
  header?: never;
@@ -7231,196 +8647,272 @@ export interface operations {
7231
8647
  };
7232
8648
  requestBody?: never;
7233
8649
  responses: {
7234
- /** @description The authenticated user's profile. */
8650
+ /** @description Successful Response */
7235
8651
  200: {
7236
8652
  headers: {
7237
8653
  [name: string]: unknown;
7238
8654
  };
7239
8655
  content: {
7240
- "application/json": components["schemas"]["GetViewerResponseBody"];
7241
- };
7242
- };
7243
- /** @description User not found. */
7244
- 401: {
7245
- headers: {
7246
- [name: string]: unknown;
7247
- };
7248
- content: {
7249
- "text/plain": string;
8656
+ "application/json": unknown;
7250
8657
  };
7251
8658
  };
7252
- /** @description Forbidden */
7253
- 403: {
8659
+ };
8660
+ };
8661
+ _logout_auth_logout_get: {
8662
+ parameters: {
8663
+ query?: never;
8664
+ header?: never;
8665
+ path?: never;
8666
+ cookie?: never;
8667
+ };
8668
+ requestBody?: never;
8669
+ responses: {
8670
+ /** @description Successful Response */
8671
+ 200: {
7254
8672
  headers: {
7255
8673
  [name: string]: unknown;
7256
8674
  };
7257
8675
  content: {
7258
- "text/plain": string;
8676
+ "application/json": unknown;
7259
8677
  };
7260
8678
  };
7261
8679
  };
7262
8680
  };
7263
- getUsers: {
8681
+ _refresh_tokens_auth_refresh_post: {
7264
8682
  parameters: {
7265
- query?: {
7266
- /** @description Cursor for pagination (base64-encoded user ID) */
7267
- cursor?: string;
7268
- /** @description The max number of users to return at a time. */
7269
- limit?: number;
7270
- };
8683
+ query?: never;
7271
8684
  header?: never;
7272
8685
  path?: never;
7273
8686
  cookie?: never;
7274
8687
  };
7275
8688
  requestBody?: never;
7276
8689
  responses: {
7277
- /** @description A list of users. */
8690
+ /** @description Successful Response */
7278
8691
  200: {
7279
8692
  headers: {
7280
8693
  [name: string]: unknown;
7281
8694
  };
7282
8695
  content: {
7283
- "application/json": components["schemas"]["GetUsersResponseBody"];
8696
+ "application/json": unknown;
7284
8697
  };
7285
8698
  };
7286
- /** @description Forbidden */
7287
- 403: {
8699
+ };
8700
+ };
8701
+ _initiate_password_reset_auth_password_reset_email_post: {
8702
+ parameters: {
8703
+ query?: never;
8704
+ header?: never;
8705
+ path?: never;
8706
+ cookie?: never;
8707
+ };
8708
+ requestBody?: never;
8709
+ responses: {
8710
+ /** @description Successful Response */
8711
+ 200: {
7288
8712
  headers: {
7289
8713
  [name: string]: unknown;
7290
8714
  };
7291
8715
  content: {
7292
- "text/plain": string;
8716
+ "application/json": unknown;
7293
8717
  };
7294
8718
  };
7295
- /** @description Unprocessable Entity */
7296
- 422: {
8719
+ };
8720
+ };
8721
+ _reset_password_auth_password_reset_post: {
8722
+ parameters: {
8723
+ query?: never;
8724
+ header?: never;
8725
+ path?: never;
8726
+ cookie?: never;
8727
+ };
8728
+ requestBody?: never;
8729
+ responses: {
8730
+ /** @description Successful Response */
8731
+ 200: {
7297
8732
  headers: {
7298
8733
  [name: string]: unknown;
7299
8734
  };
7300
8735
  content: {
7301
- "text/plain": string;
8736
+ "application/json": unknown;
7302
8737
  };
7303
8738
  };
7304
8739
  };
7305
8740
  };
7306
- createUser: {
8741
+ _ldap_login_auth_ldap_login_post: {
7307
8742
  parameters: {
7308
8743
  query?: never;
7309
8744
  header?: never;
7310
8745
  path?: never;
7311
8746
  cookie?: never;
7312
8747
  };
7313
- requestBody: {
7314
- content: {
7315
- "application/json": components["schemas"]["CreateUserRequestBody"];
7316
- };
7317
- };
8748
+ requestBody?: never;
7318
8749
  responses: {
7319
- /** @description The newly created user. */
7320
- 201: {
8750
+ /** @description Successful Response */
8751
+ 200: {
7321
8752
  headers: {
7322
8753
  [name: string]: unknown;
7323
8754
  };
7324
8755
  content: {
7325
- "application/json": components["schemas"]["CreateUserResponseBody"];
8756
+ "application/json": unknown;
7326
8757
  };
7327
8758
  };
7328
- /** @description Role not found. */
7329
- 400: {
8759
+ };
8760
+ };
8761
+ login_oauth2__idp_name__login_get: {
8762
+ parameters: {
8763
+ query?: {
8764
+ returnUrl?: string | null;
8765
+ };
8766
+ header?: never;
8767
+ path: {
8768
+ idp_name: string;
8769
+ };
8770
+ cookie?: never;
8771
+ };
8772
+ requestBody?: never;
8773
+ responses: {
8774
+ /** @description Successful Response */
8775
+ 200: {
7330
8776
  headers: {
7331
8777
  [name: string]: unknown;
7332
8778
  };
7333
8779
  content: {
7334
- "text/plain": string;
8780
+ "application/json": unknown;
7335
8781
  };
7336
8782
  };
7337
- /** @description Forbidden */
7338
- 403: {
8783
+ /** @description Validation Error */
8784
+ 422: {
7339
8785
  headers: {
7340
8786
  [name: string]: unknown;
7341
8787
  };
7342
8788
  content: {
7343
- "text/plain": string;
8789
+ "application/json": components["schemas"]["HTTPValidationError"];
7344
8790
  };
7345
8791
  };
7346
- /** @description Username or email already exists. */
7347
- 409: {
8792
+ };
8793
+ };
8794
+ login_oauth2__idp_name__login_post: {
8795
+ parameters: {
8796
+ query?: {
8797
+ returnUrl?: string | null;
8798
+ };
8799
+ header?: never;
8800
+ path: {
8801
+ idp_name: string;
8802
+ };
8803
+ cookie?: never;
8804
+ };
8805
+ requestBody?: never;
8806
+ responses: {
8807
+ /** @description Successful Response */
8808
+ 200: {
7348
8809
  headers: {
7349
8810
  [name: string]: unknown;
7350
8811
  };
7351
8812
  content: {
7352
- "text/plain": string;
8813
+ "application/json": unknown;
7353
8814
  };
7354
8815
  };
7355
- /** @description Unprocessable Entity */
8816
+ /** @description Validation Error */
7356
8817
  422: {
7357
8818
  headers: {
7358
8819
  [name: string]: unknown;
7359
8820
  };
7360
8821
  content: {
7361
- "text/plain": string;
8822
+ "application/json": components["schemas"]["HTTPValidationError"];
7362
8823
  };
7363
8824
  };
7364
8825
  };
7365
8826
  };
7366
- deleteUser: {
8827
+ create_tokens_oauth2__idp_name__tokens_get: {
7367
8828
  parameters: {
7368
- query?: never;
8829
+ query: {
8830
+ state: string;
8831
+ code?: string | null;
8832
+ error?: string | null;
8833
+ error_description?: string | null;
8834
+ };
7369
8835
  header?: never;
7370
8836
  path: {
7371
- /** @description The GlobalID of the user (e.g. 'VXNlcjox'). */
7372
- user_id: string;
8837
+ idp_name: string;
8838
+ };
8839
+ cookie: {
8840
+ "phoenix-oauth2-state": string;
8841
+ "phoenix-oauth2-nonce": string;
8842
+ "phoenix-oauth2-code-verifier"?: string | null;
7373
8843
  };
7374
- cookie?: never;
7375
8844
  };
7376
8845
  requestBody?: never;
7377
8846
  responses: {
7378
- /** @description No content returned on successful deletion. */
7379
- 204: {
8847
+ /** @description Successful Response */
8848
+ 200: {
7380
8849
  headers: {
7381
8850
  [name: string]: unknown;
7382
8851
  };
7383
- content?: never;
8852
+ content: {
8853
+ "application/json": unknown;
8854
+ };
7384
8855
  };
7385
- /** @description Cannot delete the default admin or system user */
7386
- 403: {
8856
+ /** @description Validation Error */
8857
+ 422: {
7387
8858
  headers: {
7388
8859
  [name: string]: unknown;
7389
8860
  };
7390
8861
  content: {
7391
- "text/plain": string;
8862
+ "application/json": components["schemas"]["HTTPValidationError"];
7392
8863
  };
7393
8864
  };
7394
- /** @description User not found. */
7395
- 404: {
8865
+ };
8866
+ };
8867
+ chat_agents__agent_id__sessions__session_id__chat_post: {
8868
+ parameters: {
8869
+ query?: never;
8870
+ header?: never;
8871
+ path: {
8872
+ agent_id: string;
8873
+ session_id: string;
8874
+ };
8875
+ cookie?: never;
8876
+ };
8877
+ requestBody: {
8878
+ content: {
8879
+ "application/json": components["schemas"]["ChatRequest"];
8880
+ };
8881
+ };
8882
+ responses: {
8883
+ /** @description Vercel-AI-style SSE stream. The turn ends with a `message-metadata` chunk whose `messageMetadata` payload matches `AssistantMessageMetadata`. Declared here so the model is included in the generated OpenAPI components. */
8884
+ 200: {
7396
8885
  headers: {
7397
8886
  [name: string]: unknown;
7398
8887
  };
7399
8888
  content: {
7400
- "text/plain": string;
8889
+ "application/json": components["schemas"]["AssistantMessageMetadata"];
7401
8890
  };
7402
8891
  };
7403
- /** @description Unprocessable Entity */
8892
+ /** @description Validation Error */
7404
8893
  422: {
7405
8894
  headers: {
7406
8895
  [name: string]: unknown;
7407
8896
  };
7408
8897
  content: {
7409
- "text/plain": string;
8898
+ "application/json": components["schemas"]["HTTPValidationError"];
7410
8899
  };
7411
8900
  };
7412
8901
  };
7413
8902
  };
7414
- upsertOrDeleteSecrets: {
8903
+ summarize_endpoint_agents__agent_id__sessions__session_id__summary_post: {
7415
8904
  parameters: {
7416
8905
  query?: never;
7417
8906
  header?: never;
7418
- path?: never;
8907
+ path: {
8908
+ agent_id: string;
8909
+ session_id: string;
8910
+ };
7419
8911
  cookie?: never;
7420
8912
  };
7421
8913
  requestBody: {
7422
8914
  content: {
7423
- "application/json": components["schemas"]["UpsertOrDeleteSecretsRequest"];
8915
+ "application/json": components["schemas"]["_SummarizeRequest"];
7424
8916
  };
7425
8917
  };
7426
8918
  responses: {
@@ -7430,34 +8922,76 @@ export interface operations {
7430
8922
  [name: string]: unknown;
7431
8923
  };
7432
8924
  content: {
7433
- "application/json": components["schemas"]["ResponseBody_UpsertOrDeleteSecretsResult_"];
8925
+ "application/json": components["schemas"]["_SummarizeResponse"];
7434
8926
  };
7435
8927
  };
7436
- /** @description Forbidden */
7437
- 403: {
8928
+ /** @description Validation Error */
8929
+ 422: {
7438
8930
  headers: {
7439
8931
  [name: string]: unknown;
7440
8932
  };
7441
8933
  content: {
7442
- "text/plain": string;
8934
+ "application/json": components["schemas"]["HTTPValidationError"];
7443
8935
  };
7444
8936
  };
7445
- /** @description Unprocessable Entity */
7446
- 422: {
8937
+ };
8938
+ };
8939
+ version_arize_phoenix_version_get: {
8940
+ parameters: {
8941
+ query?: never;
8942
+ header?: never;
8943
+ path?: never;
8944
+ cookie?: never;
8945
+ };
8946
+ requestBody?: never;
8947
+ responses: {
8948
+ /** @description Successful Response */
8949
+ 200: {
7447
8950
  headers: {
7448
8951
  [name: string]: unknown;
7449
8952
  };
7450
8953
  content: {
7451
- "text/plain": string;
8954
+ "application/json": unknown;
7452
8955
  };
7453
8956
  };
7454
- /** @description Insufficient Storage */
7455
- 507: {
8957
+ };
8958
+ };
8959
+ check_healthz_healthz_get: {
8960
+ parameters: {
8961
+ query?: never;
8962
+ header?: never;
8963
+ path?: never;
8964
+ cookie?: never;
8965
+ };
8966
+ requestBody?: never;
8967
+ responses: {
8968
+ /** @description Successful Response */
8969
+ 200: {
7456
8970
  headers: {
7457
8971
  [name: string]: unknown;
7458
8972
  };
7459
8973
  content: {
7460
- "text/plain": string;
8974
+ "application/json": unknown;
8975
+ };
8976
+ };
8977
+ };
8978
+ };
8979
+ check_readyz_readyz_get: {
8980
+ parameters: {
8981
+ query?: never;
8982
+ header?: never;
8983
+ path?: never;
8984
+ cookie?: never;
8985
+ };
8986
+ requestBody?: never;
8987
+ responses: {
8988
+ /** @description Successful Response */
8989
+ 200: {
8990
+ headers: {
8991
+ [name: string]: unknown;
8992
+ };
8993
+ content: {
8994
+ "application/json": unknown;
7461
8995
  };
7462
8996
  };
7463
8997
  };