@arizeai/phoenix-client 6.9.1 → 6.9.3

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 (92) hide show
  1. package/dist/esm/__generated__/api/v1.d.ts +1809 -18
  2. package/dist/esm/__generated__/api/v1.d.ts.map +1 -1
  3. package/dist/esm/client.d.ts +1 -0
  4. package/dist/esm/client.d.ts.map +1 -1
  5. package/dist/esm/prompts/sdks/toAI.d.ts.map +1 -1
  6. package/dist/esm/prompts/sdks/toAI.js +31 -11
  7. package/dist/esm/prompts/sdks/toAI.js.map +1 -1
  8. package/dist/esm/prompts/sdks/toAnthropic.d.ts.map +1 -1
  9. package/dist/esm/prompts/sdks/toAnthropic.js +23 -13
  10. package/dist/esm/prompts/sdks/toAnthropic.js.map +1 -1
  11. package/dist/esm/prompts/sdks/toOpenAI.d.ts.map +1 -1
  12. package/dist/esm/prompts/sdks/toOpenAI.js +62 -20
  13. package/dist/esm/prompts/sdks/toOpenAI.js.map +1 -1
  14. package/dist/esm/schemas/llm/constants.d.ts +1 -1
  15. package/dist/esm/schemas/llm/converters.d.ts +4 -4
  16. package/dist/esm/schemas/llm/openai/converters.d.ts +1 -1
  17. package/dist/esm/schemas/llm/openai/messageSchemas.d.ts +1 -1
  18. package/dist/esm/schemas/llm/phoenixPrompt/converters.d.ts +2 -2
  19. package/dist/esm/schemas/llm/phoenixPrompt/converters.js +2 -2
  20. package/dist/esm/schemas/llm/phoenixPrompt/converters.js.map +1 -1
  21. package/dist/esm/schemas/llm/phoenixPrompt/messageSchemas.d.ts +3 -3
  22. package/dist/esm/schemas/llm/phoenixPrompt/toolSchemas.d.ts +2 -2
  23. package/dist/esm/schemas/llm/phoenixPrompt/toolSchemas.d.ts.map +1 -1
  24. package/dist/esm/schemas/llm/phoenixPrompt/toolSchemas.js +1 -1
  25. package/dist/esm/schemas/llm/phoenixPrompt/toolSchemas.js.map +1 -1
  26. package/dist/esm/schemas/llm/schemas.d.ts +1 -1
  27. package/dist/esm/schemas/llm/schemas.js +2 -2
  28. package/dist/esm/schemas/llm/schemas.js.map +1 -1
  29. package/dist/esm/schemas/llm/utils.js +2 -2
  30. package/dist/esm/schemas/llm/utils.js.map +1 -1
  31. package/dist/esm/schemas/llm/vercel/messageSchemas.d.ts +1 -1
  32. package/dist/esm/tsconfig.esm.tsbuildinfo +1 -1
  33. package/dist/esm/types/prompts.d.ts +4 -0
  34. package/dist/esm/types/prompts.d.ts.map +1 -1
  35. package/dist/esm/types/prompts.js +6 -1
  36. package/dist/esm/types/prompts.js.map +1 -1
  37. package/dist/esm/utils/formatPromptMessages.d.ts.map +1 -1
  38. package/dist/esm/utils/getPromptBySelector.d.ts +294 -5
  39. package/dist/esm/utils/getPromptBySelector.d.ts.map +1 -1
  40. package/dist/src/__generated__/api/v1.d.ts +1809 -18
  41. package/dist/src/__generated__/api/v1.d.ts.map +1 -1
  42. package/dist/src/client.d.ts +11 -10
  43. package/dist/src/client.d.ts.map +1 -1
  44. package/dist/src/prompts/sdks/toAI.d.ts.map +1 -1
  45. package/dist/src/prompts/sdks/toAI.js +35 -15
  46. package/dist/src/prompts/sdks/toAI.js.map +1 -1
  47. package/dist/src/prompts/sdks/toAnthropic.d.ts.map +1 -1
  48. package/dist/src/prompts/sdks/toAnthropic.js +24 -14
  49. package/dist/src/prompts/sdks/toAnthropic.js.map +1 -1
  50. package/dist/src/prompts/sdks/toOpenAI.d.ts.map +1 -1
  51. package/dist/src/prompts/sdks/toOpenAI.js +63 -21
  52. package/dist/src/prompts/sdks/toOpenAI.js.map +1 -1
  53. package/dist/src/schemas/llm/constants.d.ts +1 -1
  54. package/dist/src/schemas/llm/converters.d.ts +4 -4
  55. package/dist/src/schemas/llm/openai/converters.d.ts +1 -1
  56. package/dist/src/schemas/llm/openai/messageSchemas.d.ts +1 -1
  57. package/dist/src/schemas/llm/phoenixPrompt/converters.d.ts +2 -2
  58. package/dist/src/schemas/llm/phoenixPrompt/converters.js +1 -1
  59. package/dist/src/schemas/llm/phoenixPrompt/converters.js.map +1 -1
  60. package/dist/src/schemas/llm/phoenixPrompt/messageSchemas.d.ts +3 -3
  61. package/dist/src/schemas/llm/phoenixPrompt/toolSchemas.d.ts +2 -2
  62. package/dist/src/schemas/llm/phoenixPrompt/toolSchemas.d.ts.map +1 -1
  63. package/dist/src/schemas/llm/phoenixPrompt/toolSchemas.js +2 -2
  64. package/dist/src/schemas/llm/phoenixPrompt/toolSchemas.js.map +1 -1
  65. package/dist/src/schemas/llm/schemas.d.ts +1 -1
  66. package/dist/src/schemas/llm/schemas.js +1 -1
  67. package/dist/src/schemas/llm/schemas.js.map +1 -1
  68. package/dist/src/schemas/llm/utils.js +1 -1
  69. package/dist/src/schemas/llm/utils.js.map +1 -1
  70. package/dist/src/schemas/llm/vercel/messageSchemas.d.ts +1 -1
  71. package/dist/src/types/prompts.d.ts +4 -0
  72. package/dist/src/types/prompts.d.ts.map +1 -1
  73. package/dist/src/types/prompts.js +8 -0
  74. package/dist/src/types/prompts.js.map +1 -1
  75. package/dist/src/utils/formatPromptMessages.d.ts.map +1 -1
  76. package/dist/src/utils/getPromptBySelector.d.ts +294 -5
  77. package/dist/src/utils/getPromptBySelector.d.ts.map +1 -1
  78. package/dist/tsconfig.tsbuildinfo +1 -1
  79. package/docs/annotations.mdx +7 -3
  80. package/docs/overview.mdx +1 -1
  81. package/docs/sessions.mdx +20 -0
  82. package/docs/traces.mdx +76 -5
  83. package/package.json +3 -3
  84. package/src/__generated__/api/v1.ts +1809 -18
  85. package/src/prompts/sdks/toAI.ts +33 -11
  86. package/src/prompts/sdks/toAnthropic.ts +26 -15
  87. package/src/prompts/sdks/toOpenAI.ts +66 -23
  88. package/src/schemas/llm/phoenixPrompt/converters.ts +2 -2
  89. package/src/schemas/llm/phoenixPrompt/toolSchemas.ts +16 -13
  90. package/src/schemas/llm/schemas.ts +2 -2
  91. package/src/schemas/llm/utils.ts +2 -2
  92. package/src/types/prompts.ts +13 -0
@@ -73,7 +73,33 @@ export interface paths {
73
73
  get: operations["listSpanAnnotationsBySpanIds"];
74
74
  put?: never;
75
75
  post?: never;
76
- delete?: never;
76
+ /**
77
+ * Delete span annotations in a project that match the supplied filter.
78
+ * @description Hard-delete span annotations within the named project that match the
79
+ * supplied filter.
80
+ *
81
+ * - The request must either supply both `start_time` AND `end_time`
82
+ * to bound the delete to a `[start_time, end_time)` time window,
83
+ * OR set `delete_all=true` to acknowledge an unbounded sweep. A request
84
+ * that satisfies neither is rejected with 422.
85
+ * - `name`, `identifier`, and `annotator_kind` are optional narrowing
86
+ * filters; on their own they do NOT authorize the request — they only
87
+ * narrow within an already-authorized request (bounded time range or
88
+ * `delete_all=true`).
89
+ * - All supplied filters are combined with AND. `name` and `identifier`,
90
+ * when present, must be non-empty.
91
+ * - `start_time` is inclusive (`>=`); `end_time` is exclusive
92
+ * (`<`). When both are supplied, `start_time` must be strictly earlier
93
+ * than `end_time` (else 422). A half-bounded range (only one of
94
+ * the two) does NOT satisfy the gate and is rejected unless
95
+ * `delete_all=true` is also set. Naive datetimes are interpreted as UTC.
96
+ * - The endpoint is idempotent: a request that matches no rows still
97
+ * returns 204.
98
+ * - When authentication is enabled, non-admin callers can only delete rows
99
+ * they own (`user_id == current_user.id`); admins delete all matching
100
+ * rows.
101
+ */
102
+ delete: operations["deleteSpanAnnotations"];
77
103
  options?: never;
78
104
  head?: never;
79
105
  patch?: never;
@@ -93,7 +119,33 @@ export interface paths {
93
119
  get: operations["listTraceAnnotationsByTraceIds"];
94
120
  put?: never;
95
121
  post?: never;
96
- delete?: never;
122
+ /**
123
+ * Delete trace annotations in a project that match the supplied filter.
124
+ * @description Hard-delete trace annotations within the named project that match the
125
+ * supplied filter.
126
+ *
127
+ * - The request must either supply both `start_time` AND `end_time`
128
+ * to bound the delete to a `[start_time, end_time)` time window,
129
+ * OR set `delete_all=true` to acknowledge an unbounded sweep. A request
130
+ * that satisfies neither is rejected with 422.
131
+ * - `name`, `identifier`, and `annotator_kind` are optional narrowing
132
+ * filters; on their own they do NOT authorize the request — they only
133
+ * narrow within an already-authorized request (bounded time range or
134
+ * `delete_all=true`).
135
+ * - All supplied filters are combined with AND. `name` and `identifier`,
136
+ * when present, must be non-empty.
137
+ * - `start_time` is inclusive (`>=`); `end_time` is exclusive
138
+ * (`<`). When both are supplied, `start_time` must be strictly earlier
139
+ * than `end_time` (else 422). A half-bounded range (only one of
140
+ * the two) does NOT satisfy the gate and is rejected unless
141
+ * `delete_all=true` is also set. Naive datetimes are interpreted as UTC.
142
+ * - The endpoint is idempotent: a request that matches no rows still
143
+ * returns 204.
144
+ * - When authentication is enabled, non-admin callers can only delete rows
145
+ * they own (`user_id == current_user.id`); admins delete all matching
146
+ * rows.
147
+ */
148
+ delete: operations["deleteTraceAnnotations"];
97
149
  options?: never;
98
150
  head?: never;
99
151
  patch?: never;
@@ -113,7 +165,33 @@ export interface paths {
113
165
  get: operations["listSessionAnnotationsBySessionIds"];
114
166
  put?: never;
115
167
  post?: never;
116
- delete?: never;
168
+ /**
169
+ * Delete session annotations in a project that match the supplied filter.
170
+ * @description Hard-delete session annotations within the named project that match the
171
+ * supplied filter.
172
+ *
173
+ * - The request must either supply both `start_time` AND `end_time`
174
+ * to bound the delete to a `[start_time, end_time)` time window,
175
+ * OR set `delete_all=true` to acknowledge an unbounded sweep. A request
176
+ * that satisfies neither is rejected with 422.
177
+ * - `name`, `identifier`, and `annotator_kind` are optional narrowing
178
+ * filters; on their own they do NOT authorize the request — they only
179
+ * narrow within an already-authorized request (bounded time range or
180
+ * `delete_all=true`).
181
+ * - All supplied filters are combined with AND. `name` and `identifier`,
182
+ * when present, must be non-empty.
183
+ * - `start_time` is inclusive (`>=`); `end_time` is exclusive
184
+ * (`<`). When both are supplied, `start_time` must be strictly earlier
185
+ * than `end_time` (else 422). A half-bounded range (only one of
186
+ * the two) does NOT satisfy the gate and is rejected unless
187
+ * `delete_all=true` is also set. Naive datetimes are interpreted as UTC.
188
+ * - The endpoint is idempotent: a request that matches no rows still
189
+ * returns 204.
190
+ * - When authentication is enabled, non-admin callers can only delete rows
191
+ * they own (`user_id == current_user.id`); admins delete all matching
192
+ * rows.
193
+ */
194
+ delete: operations["deleteSessionAnnotations"];
117
195
  options?: never;
118
196
  head?: never;
119
197
  patch?: never;
@@ -1060,10 +1138,287 @@ export interface paths {
1060
1138
  patch?: never;
1061
1139
  trace?: never;
1062
1140
  };
1141
+ "/auth/login": {
1142
+ parameters: {
1143
+ query?: never;
1144
+ header?: never;
1145
+ path?: never;
1146
+ cookie?: never;
1147
+ };
1148
+ get?: never;
1149
+ put?: never;
1150
+ /**
1151
+ * Login
1152
+ * @description Authenticate user via email/password and return access/refresh tokens.
1153
+ */
1154
+ post: operations["_login_auth_login_post"];
1155
+ delete?: never;
1156
+ options?: never;
1157
+ head?: never;
1158
+ patch?: never;
1159
+ trace?: never;
1160
+ };
1161
+ "/auth/logout": {
1162
+ parameters: {
1163
+ query?: never;
1164
+ header?: never;
1165
+ path?: never;
1166
+ cookie?: never;
1167
+ };
1168
+ /**
1169
+ * Logout
1170
+ * @description Log out user by revoking tokens and clearing cookies.
1171
+ */
1172
+ get: operations["_logout_auth_logout_get"];
1173
+ put?: never;
1174
+ post?: never;
1175
+ delete?: never;
1176
+ options?: never;
1177
+ head?: never;
1178
+ patch?: never;
1179
+ trace?: never;
1180
+ };
1181
+ "/auth/refresh": {
1182
+ parameters: {
1183
+ query?: never;
1184
+ header?: never;
1185
+ path?: never;
1186
+ cookie?: never;
1187
+ };
1188
+ get?: never;
1189
+ put?: never;
1190
+ /**
1191
+ * Refresh Tokens
1192
+ * @description Refresh access and refresh tokens.
1193
+ */
1194
+ post: operations["_refresh_tokens_auth_refresh_post"];
1195
+ delete?: never;
1196
+ options?: never;
1197
+ head?: never;
1198
+ patch?: never;
1199
+ trace?: never;
1200
+ };
1201
+ "/auth/password-reset-email": {
1202
+ parameters: {
1203
+ query?: never;
1204
+ header?: never;
1205
+ path?: never;
1206
+ cookie?: never;
1207
+ };
1208
+ get?: never;
1209
+ put?: never;
1210
+ /**
1211
+ * Initiate Password Reset
1212
+ * @description Send password reset email to user.
1213
+ */
1214
+ post: operations["_initiate_password_reset_auth_password_reset_email_post"];
1215
+ delete?: never;
1216
+ options?: never;
1217
+ head?: never;
1218
+ patch?: never;
1219
+ trace?: never;
1220
+ };
1221
+ "/auth/password-reset": {
1222
+ parameters: {
1223
+ query?: never;
1224
+ header?: never;
1225
+ path?: never;
1226
+ cookie?: never;
1227
+ };
1228
+ get?: never;
1229
+ put?: never;
1230
+ /**
1231
+ * Reset Password
1232
+ * @description Reset user password using a valid reset token.
1233
+ */
1234
+ post: operations["_reset_password_auth_password_reset_post"];
1235
+ delete?: never;
1236
+ options?: never;
1237
+ head?: never;
1238
+ patch?: never;
1239
+ trace?: never;
1240
+ };
1241
+ "/auth/ldap/login": {
1242
+ parameters: {
1243
+ query?: never;
1244
+ header?: never;
1245
+ path?: never;
1246
+ cookie?: never;
1247
+ };
1248
+ get?: never;
1249
+ put?: never;
1250
+ /**
1251
+ * Ldap Login
1252
+ * @description Authenticate user via LDAP and return access/refresh tokens.
1253
+ */
1254
+ post: operations["_ldap_login_auth_ldap_login_post"];
1255
+ delete?: never;
1256
+ options?: never;
1257
+ head?: never;
1258
+ patch?: never;
1259
+ trace?: never;
1260
+ };
1261
+ "/oauth2/{idp_name}/login": {
1262
+ parameters: {
1263
+ query?: never;
1264
+ header?: never;
1265
+ path?: never;
1266
+ cookie?: never;
1267
+ };
1268
+ /** Login */
1269
+ get: operations["login_oauth2__idp_name__login_get"];
1270
+ put?: never;
1271
+ /** Login */
1272
+ post: operations["login_oauth2__idp_name__login_post"];
1273
+ delete?: never;
1274
+ options?: never;
1275
+ head?: never;
1276
+ patch?: never;
1277
+ trace?: never;
1278
+ };
1279
+ "/oauth2/{idp_name}/tokens": {
1280
+ parameters: {
1281
+ query?: never;
1282
+ header?: never;
1283
+ path?: never;
1284
+ cookie?: never;
1285
+ };
1286
+ /** Create Tokens */
1287
+ get: operations["create_tokens_oauth2__idp_name__tokens_get"];
1288
+ put?: never;
1289
+ post?: never;
1290
+ delete?: never;
1291
+ options?: never;
1292
+ head?: never;
1293
+ patch?: never;
1294
+ trace?: never;
1295
+ };
1296
+ "/agents/{agent_id}/sessions/{session_id}/chat": {
1297
+ parameters: {
1298
+ query?: never;
1299
+ header?: never;
1300
+ path?: never;
1301
+ cookie?: never;
1302
+ };
1303
+ get?: never;
1304
+ put?: never;
1305
+ /** Chat */
1306
+ post: operations["chat_agents__agent_id__sessions__session_id__chat_post"];
1307
+ delete?: never;
1308
+ options?: never;
1309
+ head?: never;
1310
+ patch?: never;
1311
+ trace?: never;
1312
+ };
1313
+ "/agents/{agent_id}/sessions/{session_id}/summary": {
1314
+ parameters: {
1315
+ query?: never;
1316
+ header?: never;
1317
+ path?: never;
1318
+ cookie?: never;
1319
+ };
1320
+ get?: never;
1321
+ put?: never;
1322
+ /** Summarize Endpoint */
1323
+ post: operations["summarize_endpoint_agents__agent_id__sessions__session_id__summary_post"];
1324
+ delete?: never;
1325
+ options?: never;
1326
+ head?: never;
1327
+ patch?: never;
1328
+ trace?: never;
1329
+ };
1330
+ "/arize_phoenix_version": {
1331
+ parameters: {
1332
+ query?: never;
1333
+ header?: never;
1334
+ path?: never;
1335
+ cookie?: never;
1336
+ };
1337
+ /** Version */
1338
+ get: operations["version_arize_phoenix_version_get"];
1339
+ put?: never;
1340
+ post?: never;
1341
+ delete?: never;
1342
+ options?: never;
1343
+ head?: never;
1344
+ patch?: never;
1345
+ trace?: never;
1346
+ };
1347
+ "/healthz": {
1348
+ parameters: {
1349
+ query?: never;
1350
+ header?: never;
1351
+ path?: never;
1352
+ cookie?: never;
1353
+ };
1354
+ /** Check Healthz */
1355
+ get: operations["check_healthz_healthz_get"];
1356
+ put?: never;
1357
+ post?: never;
1358
+ delete?: never;
1359
+ options?: never;
1360
+ head?: never;
1361
+ patch?: never;
1362
+ trace?: never;
1363
+ };
1364
+ "/readyz": {
1365
+ parameters: {
1366
+ query?: never;
1367
+ header?: never;
1368
+ path?: never;
1369
+ cookie?: never;
1370
+ };
1371
+ /** Check Readyz */
1372
+ get: operations["check_readyz_readyz_get"];
1373
+ put?: never;
1374
+ post?: never;
1375
+ delete?: never;
1376
+ options?: never;
1377
+ head?: never;
1378
+ patch?: never;
1379
+ trace?: never;
1380
+ };
1063
1381
  }
1064
1382
  export type webhooks = Record<string, never>;
1065
1383
  export interface components {
1066
1384
  schemas: {
1385
+ /**
1386
+ * AgentCapabilities
1387
+ * @description Runtime capability state sent by the browser for a chat turn.
1388
+ */
1389
+ AgentCapabilities: {
1390
+ /**
1391
+ * Bash.Retaininactivesessions
1392
+ * @default false
1393
+ */
1394
+ "bash.retainInactiveSessions"?: boolean;
1395
+ /**
1396
+ * Graphql.Mutations
1397
+ * @default false
1398
+ */
1399
+ "graphql.mutations"?: boolean;
1400
+ };
1401
+ /**
1402
+ * AgentSpanContext
1403
+ * @description Span the user has selected.
1404
+ *
1405
+ * Exactly one of ``span_node_id`` (relay) or ``otel_span_id`` (OpenTelemetry
1406
+ * hex) must be set. ``project_node_id`` is optional because a span can be
1407
+ * selected from views outside a project route.
1408
+ */
1409
+ AgentSpanContext: {
1410
+ /**
1411
+ * @description discriminator enum property added by openapi-typescript
1412
+ * @enum {string}
1413
+ */
1414
+ type: "span";
1415
+ /** Projectnodeid */
1416
+ projectNodeId?: string | null;
1417
+ /** Spannodeid */
1418
+ spanNodeId?: string | null;
1419
+ /** Otelspanid */
1420
+ otelSpanId?: string | null;
1421
+ };
1067
1422
  /** AnnotateSessionsRequestBody */
1068
1423
  AnnotateSessionsRequestBody: {
1069
1424
  /** Data */
@@ -1133,6 +1488,75 @@ export interface components {
1133
1488
  */
1134
1489
  auth_method: "ANONYMOUS";
1135
1490
  };
1491
+ /**
1492
+ * AppContext
1493
+ * @description Per-turn browser clock context for resolving relative time requests.
1494
+ */
1495
+ AppContext: {
1496
+ /**
1497
+ * @description discriminator enum property added by openapi-typescript
1498
+ * @enum {string}
1499
+ */
1500
+ type: "app";
1501
+ /** Currentdatetime */
1502
+ currentDateTime: string;
1503
+ /** Timezone */
1504
+ timeZone: string;
1505
+ };
1506
+ /**
1507
+ * AssistantMessageMetadata
1508
+ * @description Wire schema for the chat stream's `message_metadata` payload.
1509
+ */
1510
+ AssistantMessageMetadata: {
1511
+ /** Sessionid */
1512
+ sessionId: string;
1513
+ trace?: components["schemas"]["AssistantMessageMetadataTraceIds"] | null;
1514
+ usage?: components["schemas"]["AssistantMessageMetadataUsage"] | null;
1515
+ };
1516
+ /** AssistantMessageMetadataTraceIds */
1517
+ AssistantMessageMetadataTraceIds: {
1518
+ /** Traceid */
1519
+ traceId: string;
1520
+ /** Rootspanid */
1521
+ rootSpanId: string;
1522
+ };
1523
+ /** AssistantMessageMetadataUsage */
1524
+ AssistantMessageMetadataUsage: {
1525
+ tokens: components["schemas"]["AssistantMessageMetadataUsageTokens"];
1526
+ promptDetails?: components["schemas"]["AssistantMessageMetadataUsageTokenDetails"] | null;
1527
+ };
1528
+ /** AssistantMessageMetadataUsageTokenDetails */
1529
+ AssistantMessageMetadataUsageTokenDetails: {
1530
+ /** Cacheread */
1531
+ cacheRead: number;
1532
+ /** Cachewrite */
1533
+ cacheWrite: number;
1534
+ };
1535
+ /** AssistantMessageMetadataUsageTokens */
1536
+ AssistantMessageMetadataUsageTokens: {
1537
+ /** Prompt */
1538
+ prompt: number;
1539
+ /** Completion */
1540
+ completion: number;
1541
+ /** Total */
1542
+ total: number;
1543
+ };
1544
+ /**
1545
+ * AssistantMetadataUIMessage
1546
+ * @description `UIMessage` with `metadata` narrowed to `AssistantMessageMetadata`.
1547
+ */
1548
+ AssistantMetadataUIMessage: {
1549
+ /** Id */
1550
+ id: string;
1551
+ /**
1552
+ * Role
1553
+ * @enum {string}
1554
+ */
1555
+ role: "system" | "user" | "assistant";
1556
+ metadata?: components["schemas"]["AssistantMessageMetadata"] | null;
1557
+ /** Parts */
1558
+ 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"])[];
1559
+ };
1136
1560
  /** CategoricalAnnotationConfig */
1137
1561
  CategoricalAnnotationConfig: {
1138
1562
  /** Name */
@@ -1172,22 +1596,98 @@ export interface components {
1172
1596
  /** Score */
1173
1597
  score?: number | null;
1174
1598
  };
1175
- /** ContinuousAnnotationConfig */
1176
- ContinuousAnnotationConfig: {
1177
- /** Name */
1178
- name: string;
1599
+ /**
1600
+ * ChatContext
1601
+ * @description Discriminated union of every UI-state context the agent understands.
1602
+ *
1603
+ * Wrapped in ``RootModel`` so the generated OpenAPI schema exposes a single
1604
+ * named ``ChatContext`` component instead of inlining the ``oneOf`` at every
1605
+ * reference site. The actual member is accessible via ``.root``.
1606
+ */
1607
+ ChatContext: components["schemas"]["AppContext"] | components["schemas"]["ProjectContext"] | components["schemas"]["TraceContext"] | components["schemas"]["AgentSpanContext"] | components["schemas"]["PlaygroundContext"];
1608
+ /**
1609
+ * ChatRegenerateMessage
1610
+ * @description Regenerate message extended with Phoenix-specific fields.
1611
+ */
1612
+ ChatRegenerateMessage: {
1179
1613
  /**
1180
1614
  * @description discriminator enum property added by openapi-typescript
1181
1615
  * @enum {string}
1182
1616
  */
1183
- type: "CONTINUOUS";
1184
- /** Description */
1185
- description?: string | null;
1186
- optimization_direction: components["schemas"]["OptimizationDirection"];
1187
- /** Lower Bound */
1188
- lower_bound?: number | null;
1189
- /** Upper Bound */
1190
- upper_bound?: number | null;
1617
+ trigger: "regenerate-message";
1618
+ /** Id */
1619
+ id: string;
1620
+ /** Messages */
1621
+ messages: components["schemas"]["AssistantMetadataUIMessage"][];
1622
+ /** Messageid */
1623
+ messageId?: string | null;
1624
+ /**
1625
+ * Ingesttraces
1626
+ * @default false
1627
+ */
1628
+ ingestTraces?: boolean;
1629
+ /**
1630
+ * Exportremotetraces
1631
+ * @default false
1632
+ */
1633
+ exportRemoteTraces?: boolean;
1634
+ /** Contexts */
1635
+ contexts?: components["schemas"]["ChatContext"][];
1636
+ capabilities?: components["schemas"]["AgentCapabilities"];
1637
+ } & {
1638
+ [key: string]: unknown;
1639
+ };
1640
+ /**
1641
+ * ChatRequest
1642
+ * @description Discriminated union of chat request payloads.
1643
+ */
1644
+ ChatRequest: components["schemas"]["ChatSubmitMessage"] | components["schemas"]["ChatRegenerateMessage"];
1645
+ /**
1646
+ * ChatSubmitMessage
1647
+ * @description Submit message extended with Phoenix-specific fields.
1648
+ */
1649
+ ChatSubmitMessage: {
1650
+ /**
1651
+ * @description discriminator enum property added by openapi-typescript
1652
+ * @enum {string}
1653
+ */
1654
+ trigger: "submit-message";
1655
+ /** Id */
1656
+ id: string;
1657
+ /** Messages */
1658
+ messages: components["schemas"]["AssistantMetadataUIMessage"][];
1659
+ /**
1660
+ * Ingesttraces
1661
+ * @default false
1662
+ */
1663
+ ingestTraces?: boolean;
1664
+ /**
1665
+ * Exportremotetraces
1666
+ * @default false
1667
+ */
1668
+ exportRemoteTraces?: boolean;
1669
+ /** Contexts */
1670
+ contexts?: components["schemas"]["ChatContext"][];
1671
+ capabilities?: components["schemas"]["AgentCapabilities"];
1672
+ } & {
1673
+ [key: string]: unknown;
1674
+ };
1675
+ /** ContinuousAnnotationConfig */
1676
+ ContinuousAnnotationConfig: {
1677
+ /** Name */
1678
+ name: string;
1679
+ /**
1680
+ * @description discriminator enum property added by openapi-typescript
1681
+ * @enum {string}
1682
+ */
1683
+ type: "CONTINUOUS";
1684
+ /** Description */
1685
+ description?: string | null;
1686
+ optimization_direction: components["schemas"]["OptimizationDirection"];
1687
+ /** Lower Bound */
1688
+ lower_bound?: number | null;
1689
+ /** Upper Bound */
1690
+ upper_bound?: number | null;
1191
1691
  /** Id */
1192
1692
  id: string;
1193
1693
  };
@@ -1387,6 +1887,18 @@ export interface components {
1387
1887
  /** Data */
1388
1888
  data: components["schemas"]["LocalUser"] | components["schemas"]["OAuth2User"] | components["schemas"]["LDAPUser"];
1389
1889
  };
1890
+ /**
1891
+ * DataUIPart
1892
+ * @description Data part with dynamic type based on data name.
1893
+ */
1894
+ DataUIPart: {
1895
+ /** Type */
1896
+ type: string;
1897
+ /** Id */
1898
+ id?: string | null;
1899
+ /** Data */
1900
+ data: unknown;
1901
+ };
1390
1902
  /** Dataset */
1391
1903
  Dataset: {
1392
1904
  /** Id */
@@ -1490,6 +2002,236 @@ export interface components {
1490
2002
  */
1491
2003
  session_identifiers: string[];
1492
2004
  };
2005
+ /**
2006
+ * DynamicToolApprovalRequestedPart
2007
+ * @description Dynamic tool part in approval-requested state (awaiting user decision).
2008
+ */
2009
+ DynamicToolApprovalRequestedPart: {
2010
+ /**
2011
+ * Type
2012
+ * @default dynamic-tool
2013
+ * @constant
2014
+ */
2015
+ type?: "dynamic-tool";
2016
+ /** Toolname */
2017
+ toolName: string;
2018
+ /** Toolcallid */
2019
+ toolCallId: string;
2020
+ /**
2021
+ * State
2022
+ * @default approval-requested
2023
+ * @constant
2024
+ */
2025
+ state?: "approval-requested";
2026
+ /** Input */
2027
+ input: unknown;
2028
+ /** Callprovidermetadata */
2029
+ callProviderMetadata?: {
2030
+ [key: string]: {
2031
+ [key: string]: unknown;
2032
+ };
2033
+ } | null;
2034
+ /** Approval */
2035
+ approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
2036
+ };
2037
+ /**
2038
+ * DynamicToolApprovalRespondedPart
2039
+ * @description Dynamic tool part in approval-responded state (user approved/denied, execution pending).
2040
+ */
2041
+ DynamicToolApprovalRespondedPart: {
2042
+ /**
2043
+ * Type
2044
+ * @default dynamic-tool
2045
+ * @constant
2046
+ */
2047
+ type?: "dynamic-tool";
2048
+ /** Toolname */
2049
+ toolName: string;
2050
+ /** Toolcallid */
2051
+ toolCallId: string;
2052
+ /**
2053
+ * State
2054
+ * @default approval-responded
2055
+ * @constant
2056
+ */
2057
+ state?: "approval-responded";
2058
+ /** Input */
2059
+ input: unknown;
2060
+ /** Callprovidermetadata */
2061
+ callProviderMetadata?: {
2062
+ [key: string]: {
2063
+ [key: string]: unknown;
2064
+ };
2065
+ } | null;
2066
+ /** Approval */
2067
+ approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
2068
+ };
2069
+ /**
2070
+ * DynamicToolInputAvailablePart
2071
+ * @description Dynamic tool part in input-available state.
2072
+ */
2073
+ DynamicToolInputAvailablePart: {
2074
+ /**
2075
+ * Type
2076
+ * @default dynamic-tool
2077
+ * @constant
2078
+ */
2079
+ type?: "dynamic-tool";
2080
+ /** Toolname */
2081
+ toolName: string;
2082
+ /** Toolcallid */
2083
+ toolCallId: string;
2084
+ /**
2085
+ * State
2086
+ * @default input-available
2087
+ * @constant
2088
+ */
2089
+ state?: "input-available";
2090
+ /** Input */
2091
+ input: unknown;
2092
+ /** Callprovidermetadata */
2093
+ callProviderMetadata?: {
2094
+ [key: string]: {
2095
+ [key: string]: unknown;
2096
+ };
2097
+ } | null;
2098
+ /** Approval */
2099
+ approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
2100
+ };
2101
+ /**
2102
+ * DynamicToolInputStreamingPart
2103
+ * @description Dynamic tool part in input-streaming state.
2104
+ */
2105
+ DynamicToolInputStreamingPart: {
2106
+ /**
2107
+ * Type
2108
+ * @default dynamic-tool
2109
+ * @constant
2110
+ */
2111
+ type?: "dynamic-tool";
2112
+ /** Toolname */
2113
+ toolName: string;
2114
+ /** Toolcallid */
2115
+ toolCallId: string;
2116
+ /**
2117
+ * State
2118
+ * @default input-streaming
2119
+ * @constant
2120
+ */
2121
+ state?: "input-streaming";
2122
+ /** Input */
2123
+ input?: unknown | null;
2124
+ /** Callprovidermetadata */
2125
+ callProviderMetadata?: {
2126
+ [key: string]: {
2127
+ [key: string]: unknown;
2128
+ };
2129
+ } | null;
2130
+ /** Approval */
2131
+ approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
2132
+ };
2133
+ /**
2134
+ * DynamicToolOutputAvailablePart
2135
+ * @description Dynamic tool part in output-available state.
2136
+ */
2137
+ DynamicToolOutputAvailablePart: {
2138
+ /**
2139
+ * Type
2140
+ * @default dynamic-tool
2141
+ * @constant
2142
+ */
2143
+ type?: "dynamic-tool";
2144
+ /** Toolname */
2145
+ toolName: string;
2146
+ /** Toolcallid */
2147
+ toolCallId: string;
2148
+ /**
2149
+ * State
2150
+ * @default output-available
2151
+ * @constant
2152
+ */
2153
+ state?: "output-available";
2154
+ /** Input */
2155
+ input: unknown;
2156
+ /** Output */
2157
+ output: unknown;
2158
+ /** Callprovidermetadata */
2159
+ callProviderMetadata?: {
2160
+ [key: string]: {
2161
+ [key: string]: unknown;
2162
+ };
2163
+ } | null;
2164
+ /** Preliminary */
2165
+ preliminary?: boolean | null;
2166
+ /** Approval */
2167
+ approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
2168
+ };
2169
+ /**
2170
+ * DynamicToolOutputDeniedPart
2171
+ * @description Dynamic tool part in output-denied state (tool was denied, terminal state).
2172
+ */
2173
+ DynamicToolOutputDeniedPart: {
2174
+ /**
2175
+ * Type
2176
+ * @default dynamic-tool
2177
+ * @constant
2178
+ */
2179
+ type?: "dynamic-tool";
2180
+ /** Toolname */
2181
+ toolName: string;
2182
+ /** Toolcallid */
2183
+ toolCallId: string;
2184
+ /**
2185
+ * State
2186
+ * @default output-denied
2187
+ * @constant
2188
+ */
2189
+ state?: "output-denied";
2190
+ /** Input */
2191
+ input: unknown;
2192
+ /** Callprovidermetadata */
2193
+ callProviderMetadata?: {
2194
+ [key: string]: {
2195
+ [key: string]: unknown;
2196
+ };
2197
+ } | null;
2198
+ /** Approval */
2199
+ approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
2200
+ };
2201
+ /**
2202
+ * DynamicToolOutputErrorPart
2203
+ * @description Dynamic tool part in output-error state.
2204
+ */
2205
+ DynamicToolOutputErrorPart: {
2206
+ /**
2207
+ * Type
2208
+ * @default dynamic-tool
2209
+ * @constant
2210
+ */
2211
+ type?: "dynamic-tool";
2212
+ /** Toolname */
2213
+ toolName: string;
2214
+ /** Toolcallid */
2215
+ toolCallId: string;
2216
+ /**
2217
+ * State
2218
+ * @default output-error
2219
+ * @constant
2220
+ */
2221
+ state?: "output-error";
2222
+ /** Input */
2223
+ input: unknown;
2224
+ /** Errortext */
2225
+ errorText: string;
2226
+ /** Callprovidermetadata */
2227
+ callProviderMetadata?: {
2228
+ [key: string]: {
2229
+ [key: string]: unknown;
2230
+ };
2231
+ } | null;
2232
+ /** Approval */
2233
+ approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
2234
+ };
1493
2235
  /** Experiment */
1494
2236
  Experiment: {
1495
2237
  /**
@@ -1625,6 +2367,30 @@ export interface components {
1625
2367
  */
1626
2368
  experiment_id: string;
1627
2369
  };
2370
+ /**
2371
+ * FileUIPart
2372
+ * @description A file part of a message.
2373
+ */
2374
+ FileUIPart: {
2375
+ /**
2376
+ * Type
2377
+ * @default file
2378
+ * @constant
2379
+ */
2380
+ type?: "file";
2381
+ /** Mediatype */
2382
+ mediaType: string;
2383
+ /** Filename */
2384
+ filename?: string | null;
2385
+ /** Url */
2386
+ url: string;
2387
+ /** Providermetadata */
2388
+ providerMetadata?: {
2389
+ [key: string]: {
2390
+ [key: string]: unknown;
2391
+ };
2392
+ } | null;
2393
+ };
1628
2394
  /** FreeformAnnotationConfig */
1629
2395
  FreeformAnnotationConfig: {
1630
2396
  /** Name */
@@ -2228,6 +2994,19 @@ export interface components {
2228
2994
  */
2229
2995
  message?: string | null;
2230
2996
  };
2997
+ /**
2998
+ * PlaygroundContext
2999
+ * @description Playground prompt editor state mounted in the current browser route.
3000
+ */
3001
+ PlaygroundContext: {
3002
+ /**
3003
+ * @description discriminator enum property added by openapi-typescript
3004
+ * @enum {string}
3005
+ */
3006
+ type: "playground";
3007
+ /** Instanceids */
3008
+ instanceIds: number[];
3009
+ };
2231
3010
  /** Project */
2232
3011
  Project: {
2233
3012
  /** Name */
@@ -2237,6 +3016,32 @@ export interface components {
2237
3016
  /** Id */
2238
3017
  id: string;
2239
3018
  };
3019
+ /**
3020
+ * ProjectContext
3021
+ * @description Project the user is currently viewing.
3022
+ *
3023
+ * ``span_filter`` carries the project-scoped span filter expression when the
3024
+ * span filter field is mounted — empty string when the field is mounted with
3025
+ * no condition applied, ``None`` when the field is not present at all.
3026
+ *
3027
+ * ``root_spans_only`` carries the current state of the spans-table root vs.
3028
+ * all toggle when that toggle is mounted — ``True`` when the table is
3029
+ * restricted to root spans, ``False`` when it shows every span, ``None``
3030
+ * when the toggle is not present (e.g. on the traces tab).
3031
+ */
3032
+ ProjectContext: {
3033
+ /**
3034
+ * @description discriminator enum property added by openapi-typescript
3035
+ * @enum {string}
3036
+ */
3037
+ type: "project";
3038
+ /** Projectnodeid */
3039
+ projectNodeId: string;
3040
+ /** Spanfilter */
3041
+ spanFilter?: string | null;
3042
+ /** Rootspansonly */
3043
+ rootSpansOnly?: boolean | null;
3044
+ };
2240
3045
  /** Prompt */
2241
3046
  Prompt: {
2242
3047
  name: components["schemas"]["Identifier"];
@@ -2881,6 +3686,18 @@ export interface components {
2881
3686
  /** Strict */
2882
3687
  strict?: boolean;
2883
3688
  };
3689
+ /** PromptToolRaw */
3690
+ PromptToolRaw: {
3691
+ /**
3692
+ * @description discriminator enum property added by openapi-typescript
3693
+ * @enum {string}
3694
+ */
3695
+ type: "raw";
3696
+ /** Raw */
3697
+ raw: {
3698
+ [key: string]: unknown;
3699
+ };
3700
+ };
2884
3701
  /** PromptTools */
2885
3702
  PromptTools: {
2886
3703
  /**
@@ -2889,7 +3706,7 @@ export interface components {
2889
3706
  */
2890
3707
  type: "tools";
2891
3708
  /** Tools */
2892
- tools: components["schemas"]["PromptToolFunction"][];
3709
+ tools: (components["schemas"]["PromptToolFunction"] | components["schemas"]["PromptToolRaw"])[];
2893
3710
  /** Tool Choice */
2894
3711
  tool_choice?: components["schemas"]["PromptToolChoiceNone"] | components["schemas"]["PromptToolChoiceZeroOrMore"] | components["schemas"]["PromptToolChoiceOneOrMore"] | components["schemas"]["PromptToolChoiceSpecificFunctionTool"];
2895
3712
  /** Disable Parallel Tool Calls */
@@ -2982,6 +3799,28 @@ export interface components {
2982
3799
  [key: string]: unknown;
2983
3800
  };
2984
3801
  };
3802
+ /**
3803
+ * ReasoningUIPart
3804
+ * @description A reasoning part of a message.
3805
+ */
3806
+ ReasoningUIPart: {
3807
+ /**
3808
+ * Type
3809
+ * @default reasoning
3810
+ * @constant
3811
+ */
3812
+ type?: "reasoning";
3813
+ /** Text */
3814
+ text: string;
3815
+ /** State */
3816
+ state?: ("streaming" | "done") | null;
3817
+ /** Providermetadata */
3818
+ providerMetadata?: {
3819
+ [key: string]: {
3820
+ [key: string]: unknown;
3821
+ };
3822
+ } | null;
3823
+ };
2985
3824
  /** ResponseBody[UpsertOrDeleteSecretsResult] */
2986
3825
  ResponseBody_UpsertOrDeleteSecretsResult_: {
2987
3826
  data: components["schemas"]["UpsertOrDeleteSecretsResult"];
@@ -3113,6 +3952,24 @@ export interface components {
3113
3952
  end_time: string;
3114
3953
  /** Traces */
3115
3954
  traces: components["schemas"]["SessionTraceData"][];
3955
+ /**
3956
+ * Token Count Prompt
3957
+ * @description Cumulative prompt token count across all spans in the session.
3958
+ * @default 0
3959
+ */
3960
+ token_count_prompt?: number;
3961
+ /**
3962
+ * Token Count Completion
3963
+ * @description Cumulative completion token count across all spans in the session.
3964
+ * @default 0
3965
+ */
3966
+ token_count_completion?: number;
3967
+ /**
3968
+ * Token Count Total
3969
+ * @description Cumulative total token count across all spans in the session (prompt + completion).
3970
+ * @default 0
3971
+ */
3972
+ token_count_total?: number;
3116
3973
  };
3117
3974
  /** SessionNoteData */
3118
3975
  SessionNoteData: {
@@ -3144,6 +4001,56 @@ export interface components {
3144
4001
  */
3145
4002
  end_time: string;
3146
4003
  };
4004
+ /**
4005
+ * SourceDocumentUIPart
4006
+ * @description A document source part of a message.
4007
+ */
4008
+ SourceDocumentUIPart: {
4009
+ /**
4010
+ * Type
4011
+ * @default source-document
4012
+ * @constant
4013
+ */
4014
+ type?: "source-document";
4015
+ /** Sourceid */
4016
+ sourceId: string;
4017
+ /** Mediatype */
4018
+ mediaType: string;
4019
+ /** Title */
4020
+ title: string;
4021
+ /** Filename */
4022
+ filename?: string | null;
4023
+ /** Providermetadata */
4024
+ providerMetadata?: {
4025
+ [key: string]: {
4026
+ [key: string]: unknown;
4027
+ };
4028
+ } | null;
4029
+ };
4030
+ /**
4031
+ * SourceUrlUIPart
4032
+ * @description A source part of a message.
4033
+ */
4034
+ SourceUrlUIPart: {
4035
+ /**
4036
+ * Type
4037
+ * @default source-url
4038
+ * @constant
4039
+ */
4040
+ type?: "source-url";
4041
+ /** Sourceid */
4042
+ sourceId: string;
4043
+ /** Url */
4044
+ url: string;
4045
+ /** Title */
4046
+ title?: string | null;
4047
+ /** Providermetadata */
4048
+ providerMetadata?: {
4049
+ [key: string]: {
4050
+ [key: string]: unknown;
4051
+ };
4052
+ } | null;
4053
+ };
3147
4054
  /**
3148
4055
  * Span
3149
4056
  * @example {
@@ -3427,6 +4334,18 @@ export interface components {
3427
4334
  /** Next Cursor */
3428
4335
  next_cursor: string | null;
3429
4336
  };
4337
+ /**
4338
+ * StepStartUIPart
4339
+ * @description A step boundary part of a message.
4340
+ */
4341
+ StepStartUIPart: {
4342
+ /**
4343
+ * Type
4344
+ * @default step-start
4345
+ * @constant
4346
+ */
4347
+ type?: "step-start";
4348
+ };
3430
4349
  /** TextContentPart */
3431
4350
  TextContentPart: {
3432
4351
  /**
@@ -3437,6 +4356,104 @@ export interface components {
3437
4356
  /** Text */
3438
4357
  text: string;
3439
4358
  };
4359
+ /**
4360
+ * TextUIPart
4361
+ * @description A text part of a message.
4362
+ */
4363
+ TextUIPart: {
4364
+ /**
4365
+ * Type
4366
+ * @default text
4367
+ * @constant
4368
+ */
4369
+ type?: "text";
4370
+ /** Text */
4371
+ text: string;
4372
+ /** State */
4373
+ state?: ("streaming" | "done") | null;
4374
+ /** Providermetadata */
4375
+ providerMetadata?: {
4376
+ [key: string]: {
4377
+ [key: string]: unknown;
4378
+ };
4379
+ } | null;
4380
+ };
4381
+ /**
4382
+ * ToolApprovalRequested
4383
+ * @description Tool approval in requested state (awaiting user response).
4384
+ */
4385
+ ToolApprovalRequested: {
4386
+ /** Id */
4387
+ id: string;
4388
+ };
4389
+ /**
4390
+ * ToolApprovalRequestedPart
4391
+ * @description Tool part in approval-requested state (awaiting user decision).
4392
+ */
4393
+ ToolApprovalRequestedPart: {
4394
+ /** Type */
4395
+ type: string;
4396
+ /** Toolcallid */
4397
+ toolCallId: string;
4398
+ /**
4399
+ * State
4400
+ * @default approval-requested
4401
+ * @constant
4402
+ */
4403
+ state?: "approval-requested";
4404
+ /** Input */
4405
+ input?: unknown | null;
4406
+ /** Providerexecuted */
4407
+ providerExecuted?: boolean | null;
4408
+ /** Callprovidermetadata */
4409
+ callProviderMetadata?: {
4410
+ [key: string]: {
4411
+ [key: string]: unknown;
4412
+ };
4413
+ } | null;
4414
+ /** Approval */
4415
+ approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
4416
+ };
4417
+ /**
4418
+ * ToolApprovalResponded
4419
+ * @description Tool approval in responded state (user has approved or denied).
4420
+ */
4421
+ ToolApprovalResponded: {
4422
+ /** Id */
4423
+ id: string;
4424
+ /** Approved */
4425
+ approved: boolean;
4426
+ /** Reason */
4427
+ reason?: string | null;
4428
+ };
4429
+ /**
4430
+ * ToolApprovalRespondedPart
4431
+ * @description Tool part in approval-responded state (user approved/denied, execution pending).
4432
+ */
4433
+ ToolApprovalRespondedPart: {
4434
+ /** Type */
4435
+ type: string;
4436
+ /** Toolcallid */
4437
+ toolCallId: string;
4438
+ /**
4439
+ * State
4440
+ * @default approval-responded
4441
+ * @constant
4442
+ */
4443
+ state?: "approval-responded";
4444
+ /** Input */
4445
+ input?: unknown | null;
4446
+ /** Providerexecuted */
4447
+ providerExecuted?: boolean | null;
4448
+ /** Callprovidermetadata */
4449
+ callProviderMetadata?: {
4450
+ [key: string]: {
4451
+ [key: string]: unknown;
4452
+ };
4453
+ } | null;
4454
+ /** Approval */
4455
+ approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
4456
+ };
3440
4457
  /** ToolCallContentPart */
3441
4458
  ToolCallContentPart: {
3442
4459
  /**
@@ -3461,8 +4478,156 @@ export interface components {
3461
4478
  /** Arguments */
3462
4479
  arguments: string;
3463
4480
  };
3464
- /** ToolResultContentPart */
3465
- ToolResultContentPart: {
4481
+ /**
4482
+ * ToolInputAvailablePart
4483
+ * @description Tool part in input-available state.
4484
+ */
4485
+ ToolInputAvailablePart: {
4486
+ /** Type */
4487
+ type: string;
4488
+ /** Toolcallid */
4489
+ toolCallId: string;
4490
+ /**
4491
+ * State
4492
+ * @default input-available
4493
+ * @constant
4494
+ */
4495
+ state?: "input-available";
4496
+ /** Input */
4497
+ input?: unknown | null;
4498
+ /** Providerexecuted */
4499
+ providerExecuted?: boolean | null;
4500
+ /** Callprovidermetadata */
4501
+ callProviderMetadata?: {
4502
+ [key: string]: {
4503
+ [key: string]: unknown;
4504
+ };
4505
+ } | null;
4506
+ /** Approval */
4507
+ approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
4508
+ };
4509
+ /**
4510
+ * ToolInputStreamingPart
4511
+ * @description Tool part in input-streaming state.
4512
+ */
4513
+ ToolInputStreamingPart: {
4514
+ /** Type */
4515
+ type: string;
4516
+ /** Toolcallid */
4517
+ toolCallId: string;
4518
+ /**
4519
+ * State
4520
+ * @default input-streaming
4521
+ * @constant
4522
+ */
4523
+ state?: "input-streaming";
4524
+ /** Input */
4525
+ input?: unknown | null;
4526
+ /** Providerexecuted */
4527
+ providerExecuted?: boolean | null;
4528
+ /** Callprovidermetadata */
4529
+ callProviderMetadata?: {
4530
+ [key: string]: {
4531
+ [key: string]: unknown;
4532
+ };
4533
+ } | null;
4534
+ /** Approval */
4535
+ approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
4536
+ };
4537
+ /**
4538
+ * ToolOutputAvailablePart
4539
+ * @description Tool part in output-available state.
4540
+ */
4541
+ ToolOutputAvailablePart: {
4542
+ /** Type */
4543
+ type: string;
4544
+ /** Toolcallid */
4545
+ toolCallId: string;
4546
+ /**
4547
+ * State
4548
+ * @default output-available
4549
+ * @constant
4550
+ */
4551
+ state?: "output-available";
4552
+ /** Input */
4553
+ input?: unknown | null;
4554
+ /** Output */
4555
+ output?: unknown | null;
4556
+ /** Providerexecuted */
4557
+ providerExecuted?: boolean | null;
4558
+ /** Callprovidermetadata */
4559
+ callProviderMetadata?: {
4560
+ [key: string]: {
4561
+ [key: string]: unknown;
4562
+ };
4563
+ } | null;
4564
+ /** Preliminary */
4565
+ preliminary?: boolean | null;
4566
+ /** Approval */
4567
+ approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
4568
+ };
4569
+ /**
4570
+ * ToolOutputDeniedPart
4571
+ * @description Tool part in output-denied state (tool was denied, terminal state).
4572
+ */
4573
+ ToolOutputDeniedPart: {
4574
+ /** Type */
4575
+ type: string;
4576
+ /** Toolcallid */
4577
+ toolCallId: string;
4578
+ /**
4579
+ * State
4580
+ * @default output-denied
4581
+ * @constant
4582
+ */
4583
+ state?: "output-denied";
4584
+ /** Input */
4585
+ input?: unknown | null;
4586
+ /** Providerexecuted */
4587
+ providerExecuted?: boolean | null;
4588
+ /** Callprovidermetadata */
4589
+ callProviderMetadata?: {
4590
+ [key: string]: {
4591
+ [key: string]: unknown;
4592
+ };
4593
+ } | null;
4594
+ /** Approval */
4595
+ approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
4596
+ };
4597
+ /**
4598
+ * ToolOutputErrorPart
4599
+ * @description Tool part in output-error state.
4600
+ */
4601
+ ToolOutputErrorPart: {
4602
+ /** Type */
4603
+ type: string;
4604
+ /** Toolcallid */
4605
+ toolCallId: string;
4606
+ /**
4607
+ * State
4608
+ * @default output-error
4609
+ * @constant
4610
+ */
4611
+ state?: "output-error";
4612
+ /** Input */
4613
+ input?: unknown | null;
4614
+ /** Rawinput */
4615
+ rawInput?: unknown | null;
4616
+ /** Errortext */
4617
+ errorText: string;
4618
+ /** Providerexecuted */
4619
+ providerExecuted?: boolean | null;
4620
+ /** Callprovidermetadata */
4621
+ callProviderMetadata?: {
4622
+ [key: string]: {
4623
+ [key: string]: unknown;
4624
+ };
4625
+ } | null;
4626
+ /** Approval */
4627
+ approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
4628
+ };
4629
+ /** ToolResultContentPart */
4630
+ ToolResultContentPart: {
3466
4631
  /**
3467
4632
  * @description discriminator enum property added by openapi-typescript
3468
4633
  * @enum {string}
@@ -3569,6 +4734,18 @@ export interface components {
3569
4734
  /** Next Cursor */
3570
4735
  next_cursor: string | null;
3571
4736
  };
4737
+ /** TraceContext */
4738
+ TraceContext: {
4739
+ /**
4740
+ * @description discriminator enum property added by openapi-typescript
4741
+ * @enum {string}
4742
+ */
4743
+ type: "trace";
4744
+ /** Projectnodeid */
4745
+ projectNodeId: string;
4746
+ /** Oteltraceid */
4747
+ otelTraceId: string;
4748
+ };
3572
4749
  /** TraceData */
3573
4750
  TraceData: {
3574
4751
  /** Id */
@@ -3587,6 +4764,24 @@ export interface components {
3587
4764
  * Format: date-time
3588
4765
  */
3589
4766
  end_time: string;
4767
+ /**
4768
+ * Token Count Prompt
4769
+ * @description Cumulative prompt token count across all spans in the trace.
4770
+ * @default 0
4771
+ */
4772
+ token_count_prompt?: number;
4773
+ /**
4774
+ * Token Count Completion
4775
+ * @description Cumulative completion token count across all spans in the trace.
4776
+ * @default 0
4777
+ */
4778
+ token_count_completion?: number;
4779
+ /**
4780
+ * Token Count Total
4781
+ * @description Cumulative total token count across all spans in the trace (prompt + completion).
4782
+ * @default 0
4783
+ */
4784
+ token_count_total?: number;
3590
4785
  /** Spans */
3591
4786
  spans?: components["schemas"]["TraceSpanData"][] | null;
3592
4787
  };
@@ -3628,6 +4823,23 @@ export interface components {
3628
4823
  */
3629
4824
  end_time: string;
3630
4825
  };
4826
+ /**
4827
+ * UIMessage
4828
+ * @description A message as displayed in the UI by Vercel AI Elements.
4829
+ */
4830
+ UIMessage: {
4831
+ /** Id */
4832
+ id: string;
4833
+ /**
4834
+ * Role
4835
+ * @enum {string}
4836
+ */
4837
+ role: "system" | "user" | "assistant";
4838
+ /** Metadata */
4839
+ metadata?: unknown | null;
4840
+ /** Parts */
4841
+ 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"])[];
4842
+ };
3631
4843
  /** UpdateAnnotationConfigResponseBody */
3632
4844
  UpdateAnnotationConfigResponseBody: {
3633
4845
  /** Data */
@@ -3752,6 +4964,32 @@ export interface components {
3752
4964
  /** Context */
3753
4965
  ctx?: Record<string, unknown>;
3754
4966
  };
4967
+ /**
4968
+ * _SummarizeRequest
4969
+ * @description Body for POST /agents/{agent_id}/sessions/{session_id}/summary.
4970
+ *
4971
+ * Carries the Vercel-style messages array; the backend owns the prompt and
4972
+ * the structured-output tool schema.
4973
+ */
4974
+ _SummarizeRequest: {
4975
+ /**
4976
+ * Ingesttraces
4977
+ * @default false
4978
+ */
4979
+ ingestTraces?: boolean;
4980
+ /**
4981
+ * Exportremotetraces
4982
+ * @default false
4983
+ */
4984
+ exportRemoteTraces?: boolean;
4985
+ /** Messages */
4986
+ messages: components["schemas"]["UIMessage"][];
4987
+ };
4988
+ /** _SummarizeResponse */
4989
+ _SummarizeResponse: {
4990
+ /** Summary */
4991
+ summary: string;
4992
+ };
3755
4993
  };
3756
4994
  responses: never;
3757
4995
  parameters: never;
@@ -4036,6 +5274,67 @@ export interface operations {
4036
5274
  };
4037
5275
  };
4038
5276
  };
5277
+ deleteSpanAnnotations: {
5278
+ parameters: {
5279
+ query?: {
5280
+ /** @description Optional annotation name. When provided, must be non-empty and narrows the delete to annotations of that name. */
5281
+ name?: string | null;
5282
+ /** @description Optional annotation identifier. When provided, must be non-empty and narrows the delete to annotations with that identifier. */
5283
+ identifier?: string | null;
5284
+ /** @description Optional annotator kind. When provided, narrows the delete to annotations produced by this annotator kind. */
5285
+ annotator_kind?: ("LLM" | "CODE" | "HUMAN") | null;
5286
+ /** @description Optional inclusive lower bound on `created_at` (>=). Naive datetimes are interpreted as UTC. */
5287
+ start_time?: string | null;
5288
+ /** @description Optional exclusive upper bound on `created_at` (<). Naive datetimes are interpreted as UTC. */
5289
+ end_time?: string | null;
5290
+ /** @description Opt-in flag that authorizes the request without a bounded `[start_time, end_time)` time window. When `false` (default) or absent, the request must supply both `start_time` AND `end_time` to bound the delete. When `true`, the time-range bound is waived and any other filters (`name`, `identifier`, `annotator_kind`) still narrow the delete within the project — e.g. `delete_all=true&name=X` deletes all annotations named X regardless of time. */
5291
+ delete_all?: boolean;
5292
+ };
5293
+ header?: never;
5294
+ path: {
5295
+ /** @description The project identifier: either project ID or project name. If using a project name as the identifier, it cannot contain slash (/), question mark (?), or pound sign (#) characters. */
5296
+ project_identifier: string;
5297
+ };
5298
+ cookie?: never;
5299
+ };
5300
+ requestBody?: never;
5301
+ responses: {
5302
+ /** @description Successful Response */
5303
+ 204: {
5304
+ headers: {
5305
+ [name: string]: unknown;
5306
+ };
5307
+ content?: never;
5308
+ };
5309
+ /** @description Forbidden */
5310
+ 403: {
5311
+ headers: {
5312
+ [name: string]: unknown;
5313
+ };
5314
+ content: {
5315
+ "text/plain": string;
5316
+ };
5317
+ };
5318
+ /** @description Project not found */
5319
+ 404: {
5320
+ headers: {
5321
+ [name: string]: unknown;
5322
+ };
5323
+ content: {
5324
+ "text/plain": string;
5325
+ };
5326
+ };
5327
+ /** @description Invalid parameters */
5328
+ 422: {
5329
+ headers: {
5330
+ [name: string]: unknown;
5331
+ };
5332
+ content: {
5333
+ "text/plain": string;
5334
+ };
5335
+ };
5336
+ };
5337
+ };
4039
5338
  listTraceAnnotationsByTraceIds: {
4040
5339
  parameters: {
4041
5340
  query?: {
@@ -4099,6 +5398,67 @@ export interface operations {
4099
5398
  };
4100
5399
  };
4101
5400
  };
5401
+ deleteTraceAnnotations: {
5402
+ parameters: {
5403
+ query?: {
5404
+ /** @description Optional annotation name. When provided, must be non-empty and narrows the delete to annotations of that name. */
5405
+ name?: string | null;
5406
+ /** @description Optional annotation identifier. When provided, must be non-empty and narrows the delete to annotations with that identifier. */
5407
+ identifier?: string | null;
5408
+ /** @description Optional annotator kind. When provided, narrows the delete to annotations produced by this annotator kind. */
5409
+ annotator_kind?: ("LLM" | "CODE" | "HUMAN") | null;
5410
+ /** @description Optional inclusive lower bound on `created_at` (>=). Naive datetimes are interpreted as UTC. */
5411
+ start_time?: string | null;
5412
+ /** @description Optional exclusive upper bound on `created_at` (<). Naive datetimes are interpreted as UTC. */
5413
+ end_time?: string | null;
5414
+ /** @description Opt-in flag that authorizes the request without a bounded `[start_time, end_time)` time window. When `false` (default) or absent, the request must supply both `start_time` AND `end_time` to bound the delete. When `true`, the time-range bound is waived and any other filters (`name`, `identifier`, `annotator_kind`) still narrow the delete within the project — e.g. `delete_all=true&name=X` deletes all annotations named X regardless of time. */
5415
+ delete_all?: boolean;
5416
+ };
5417
+ header?: never;
5418
+ path: {
5419
+ /** @description The project identifier: either project ID or project name. If using a project name as the identifier, it cannot contain slash (/), question mark (?), or pound sign (#) characters. */
5420
+ project_identifier: string;
5421
+ };
5422
+ cookie?: never;
5423
+ };
5424
+ requestBody?: never;
5425
+ responses: {
5426
+ /** @description Successful Response */
5427
+ 204: {
5428
+ headers: {
5429
+ [name: string]: unknown;
5430
+ };
5431
+ content?: never;
5432
+ };
5433
+ /** @description Forbidden */
5434
+ 403: {
5435
+ headers: {
5436
+ [name: string]: unknown;
5437
+ };
5438
+ content: {
5439
+ "text/plain": string;
5440
+ };
5441
+ };
5442
+ /** @description Project not found */
5443
+ 404: {
5444
+ headers: {
5445
+ [name: string]: unknown;
5446
+ };
5447
+ content: {
5448
+ "text/plain": string;
5449
+ };
5450
+ };
5451
+ /** @description Invalid parameters */
5452
+ 422: {
5453
+ headers: {
5454
+ [name: string]: unknown;
5455
+ };
5456
+ content: {
5457
+ "text/plain": string;
5458
+ };
5459
+ };
5460
+ };
5461
+ };
4102
5462
  listSessionAnnotationsBySessionIds: {
4103
5463
  parameters: {
4104
5464
  query?: {
@@ -4162,6 +5522,67 @@ export interface operations {
4162
5522
  };
4163
5523
  };
4164
5524
  };
5525
+ deleteSessionAnnotations: {
5526
+ parameters: {
5527
+ query?: {
5528
+ /** @description Optional annotation name. When provided, must be non-empty and narrows the delete to annotations of that name. */
5529
+ name?: string | null;
5530
+ /** @description Optional annotation identifier. When provided, must be non-empty and narrows the delete to annotations with that identifier. */
5531
+ identifier?: string | null;
5532
+ /** @description Optional annotator kind. When provided, narrows the delete to annotations produced by this annotator kind. */
5533
+ annotator_kind?: ("LLM" | "CODE" | "HUMAN") | null;
5534
+ /** @description Optional inclusive lower bound on `created_at` (>=). Naive datetimes are interpreted as UTC. */
5535
+ start_time?: string | null;
5536
+ /** @description Optional exclusive upper bound on `created_at` (<). Naive datetimes are interpreted as UTC. */
5537
+ end_time?: string | null;
5538
+ /** @description Opt-in flag that authorizes the request without a bounded `[start_time, end_time)` time window. When `false` (default) or absent, the request must supply both `start_time` AND `end_time` to bound the delete. When `true`, the time-range bound is waived and any other filters (`name`, `identifier`, `annotator_kind`) still narrow the delete within the project — e.g. `delete_all=true&name=X` deletes all annotations named X regardless of time. */
5539
+ delete_all?: boolean;
5540
+ };
5541
+ header?: never;
5542
+ path: {
5543
+ /** @description The project identifier: either project ID or project name. If using a project name as the identifier, it cannot contain slash (/), question mark (?), or pound sign (#) characters. */
5544
+ project_identifier: string;
5545
+ };
5546
+ cookie?: never;
5547
+ };
5548
+ requestBody?: never;
5549
+ responses: {
5550
+ /** @description Successful Response */
5551
+ 204: {
5552
+ headers: {
5553
+ [name: string]: unknown;
5554
+ };
5555
+ content?: never;
5556
+ };
5557
+ /** @description Forbidden */
5558
+ 403: {
5559
+ headers: {
5560
+ [name: string]: unknown;
5561
+ };
5562
+ content: {
5563
+ "text/plain": string;
5564
+ };
5565
+ };
5566
+ /** @description Project not found */
5567
+ 404: {
5568
+ headers: {
5569
+ [name: string]: unknown;
5570
+ };
5571
+ content: {
5572
+ "text/plain": string;
5573
+ };
5574
+ };
5575
+ /** @description Invalid parameters */
5576
+ 422: {
5577
+ headers: {
5578
+ [name: string]: unknown;
5579
+ };
5580
+ content: {
5581
+ "text/plain": string;
5582
+ };
5583
+ };
5584
+ };
5585
+ };
4165
5586
  listDatasets: {
4166
5587
  parameters: {
4167
5588
  query?: {
@@ -7152,5 +8573,375 @@ export interface operations {
7152
8573
  };
7153
8574
  };
7154
8575
  };
8576
+ _login_auth_login_post: {
8577
+ parameters: {
8578
+ query?: never;
8579
+ header?: never;
8580
+ path?: never;
8581
+ cookie?: never;
8582
+ };
8583
+ requestBody?: never;
8584
+ responses: {
8585
+ /** @description Successful Response */
8586
+ 200: {
8587
+ headers: {
8588
+ [name: string]: unknown;
8589
+ };
8590
+ content: {
8591
+ "application/json": unknown;
8592
+ };
8593
+ };
8594
+ };
8595
+ };
8596
+ _logout_auth_logout_get: {
8597
+ parameters: {
8598
+ query?: never;
8599
+ header?: never;
8600
+ path?: never;
8601
+ cookie?: never;
8602
+ };
8603
+ requestBody?: never;
8604
+ responses: {
8605
+ /** @description Successful Response */
8606
+ 200: {
8607
+ headers: {
8608
+ [name: string]: unknown;
8609
+ };
8610
+ content: {
8611
+ "application/json": unknown;
8612
+ };
8613
+ };
8614
+ };
8615
+ };
8616
+ _refresh_tokens_auth_refresh_post: {
8617
+ parameters: {
8618
+ query?: never;
8619
+ header?: never;
8620
+ path?: never;
8621
+ cookie?: never;
8622
+ };
8623
+ requestBody?: never;
8624
+ responses: {
8625
+ /** @description Successful Response */
8626
+ 200: {
8627
+ headers: {
8628
+ [name: string]: unknown;
8629
+ };
8630
+ content: {
8631
+ "application/json": unknown;
8632
+ };
8633
+ };
8634
+ };
8635
+ };
8636
+ _initiate_password_reset_auth_password_reset_email_post: {
8637
+ parameters: {
8638
+ query?: never;
8639
+ header?: never;
8640
+ path?: never;
8641
+ cookie?: never;
8642
+ };
8643
+ requestBody?: never;
8644
+ responses: {
8645
+ /** @description Successful Response */
8646
+ 200: {
8647
+ headers: {
8648
+ [name: string]: unknown;
8649
+ };
8650
+ content: {
8651
+ "application/json": unknown;
8652
+ };
8653
+ };
8654
+ };
8655
+ };
8656
+ _reset_password_auth_password_reset_post: {
8657
+ parameters: {
8658
+ query?: never;
8659
+ header?: never;
8660
+ path?: never;
8661
+ cookie?: never;
8662
+ };
8663
+ requestBody?: never;
8664
+ responses: {
8665
+ /** @description Successful Response */
8666
+ 200: {
8667
+ headers: {
8668
+ [name: string]: unknown;
8669
+ };
8670
+ content: {
8671
+ "application/json": unknown;
8672
+ };
8673
+ };
8674
+ };
8675
+ };
8676
+ _ldap_login_auth_ldap_login_post: {
8677
+ parameters: {
8678
+ query?: never;
8679
+ header?: never;
8680
+ path?: never;
8681
+ cookie?: never;
8682
+ };
8683
+ requestBody?: never;
8684
+ responses: {
8685
+ /** @description Successful Response */
8686
+ 200: {
8687
+ headers: {
8688
+ [name: string]: unknown;
8689
+ };
8690
+ content: {
8691
+ "application/json": unknown;
8692
+ };
8693
+ };
8694
+ };
8695
+ };
8696
+ login_oauth2__idp_name__login_get: {
8697
+ parameters: {
8698
+ query?: {
8699
+ returnUrl?: string | null;
8700
+ };
8701
+ header?: never;
8702
+ path: {
8703
+ idp_name: string;
8704
+ };
8705
+ cookie?: never;
8706
+ };
8707
+ requestBody?: never;
8708
+ responses: {
8709
+ /** @description Successful Response */
8710
+ 200: {
8711
+ headers: {
8712
+ [name: string]: unknown;
8713
+ };
8714
+ content: {
8715
+ "application/json": unknown;
8716
+ };
8717
+ };
8718
+ /** @description Validation Error */
8719
+ 422: {
8720
+ headers: {
8721
+ [name: string]: unknown;
8722
+ };
8723
+ content: {
8724
+ "application/json": components["schemas"]["HTTPValidationError"];
8725
+ };
8726
+ };
8727
+ };
8728
+ };
8729
+ login_oauth2__idp_name__login_post: {
8730
+ parameters: {
8731
+ query?: {
8732
+ returnUrl?: string | null;
8733
+ };
8734
+ header?: never;
8735
+ path: {
8736
+ idp_name: string;
8737
+ };
8738
+ cookie?: never;
8739
+ };
8740
+ requestBody?: never;
8741
+ responses: {
8742
+ /** @description Successful Response */
8743
+ 200: {
8744
+ headers: {
8745
+ [name: string]: unknown;
8746
+ };
8747
+ content: {
8748
+ "application/json": unknown;
8749
+ };
8750
+ };
8751
+ /** @description Validation Error */
8752
+ 422: {
8753
+ headers: {
8754
+ [name: string]: unknown;
8755
+ };
8756
+ content: {
8757
+ "application/json": components["schemas"]["HTTPValidationError"];
8758
+ };
8759
+ };
8760
+ };
8761
+ };
8762
+ create_tokens_oauth2__idp_name__tokens_get: {
8763
+ parameters: {
8764
+ query: {
8765
+ state: string;
8766
+ code?: string | null;
8767
+ error?: string | null;
8768
+ error_description?: string | null;
8769
+ };
8770
+ header?: never;
8771
+ path: {
8772
+ idp_name: string;
8773
+ };
8774
+ cookie: {
8775
+ "phoenix-oauth2-state": string;
8776
+ "phoenix-oauth2-nonce": string;
8777
+ "phoenix-oauth2-code-verifier"?: string | null;
8778
+ };
8779
+ };
8780
+ requestBody?: never;
8781
+ responses: {
8782
+ /** @description Successful Response */
8783
+ 200: {
8784
+ headers: {
8785
+ [name: string]: unknown;
8786
+ };
8787
+ content: {
8788
+ "application/json": unknown;
8789
+ };
8790
+ };
8791
+ /** @description Validation Error */
8792
+ 422: {
8793
+ headers: {
8794
+ [name: string]: unknown;
8795
+ };
8796
+ content: {
8797
+ "application/json": components["schemas"]["HTTPValidationError"];
8798
+ };
8799
+ };
8800
+ };
8801
+ };
8802
+ chat_agents__agent_id__sessions__session_id__chat_post: {
8803
+ parameters: {
8804
+ query: {
8805
+ provider_type: "custom" | "builtin";
8806
+ model_name: string;
8807
+ provider_id?: string | null;
8808
+ provider?: components["schemas"]["ModelProvider"] | null;
8809
+ openai_api_type?: "chat_completions" | "responses";
8810
+ };
8811
+ header?: never;
8812
+ path: {
8813
+ agent_id: string;
8814
+ session_id: string;
8815
+ };
8816
+ cookie?: never;
8817
+ };
8818
+ requestBody: {
8819
+ content: {
8820
+ "application/json": components["schemas"]["ChatRequest"];
8821
+ };
8822
+ };
8823
+ responses: {
8824
+ /** @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. */
8825
+ 200: {
8826
+ headers: {
8827
+ [name: string]: unknown;
8828
+ };
8829
+ content: {
8830
+ "application/json": components["schemas"]["AssistantMessageMetadata"];
8831
+ };
8832
+ };
8833
+ /** @description Validation Error */
8834
+ 422: {
8835
+ headers: {
8836
+ [name: string]: unknown;
8837
+ };
8838
+ content: {
8839
+ "application/json": components["schemas"]["HTTPValidationError"];
8840
+ };
8841
+ };
8842
+ };
8843
+ };
8844
+ summarize_endpoint_agents__agent_id__sessions__session_id__summary_post: {
8845
+ parameters: {
8846
+ query: {
8847
+ provider_type: "custom" | "builtin";
8848
+ model_name: string;
8849
+ provider_id?: string | null;
8850
+ provider?: components["schemas"]["ModelProvider"] | null;
8851
+ openai_api_type?: "chat_completions" | "responses";
8852
+ };
8853
+ header?: never;
8854
+ path: {
8855
+ agent_id: string;
8856
+ session_id: string;
8857
+ };
8858
+ cookie?: never;
8859
+ };
8860
+ requestBody: {
8861
+ content: {
8862
+ "application/json": components["schemas"]["_SummarizeRequest"];
8863
+ };
8864
+ };
8865
+ responses: {
8866
+ /** @description Successful Response */
8867
+ 200: {
8868
+ headers: {
8869
+ [name: string]: unknown;
8870
+ };
8871
+ content: {
8872
+ "application/json": components["schemas"]["_SummarizeResponse"];
8873
+ };
8874
+ };
8875
+ /** @description Validation Error */
8876
+ 422: {
8877
+ headers: {
8878
+ [name: string]: unknown;
8879
+ };
8880
+ content: {
8881
+ "application/json": components["schemas"]["HTTPValidationError"];
8882
+ };
8883
+ };
8884
+ };
8885
+ };
8886
+ version_arize_phoenix_version_get: {
8887
+ parameters: {
8888
+ query?: never;
8889
+ header?: never;
8890
+ path?: never;
8891
+ cookie?: never;
8892
+ };
8893
+ requestBody?: never;
8894
+ responses: {
8895
+ /** @description Successful Response */
8896
+ 200: {
8897
+ headers: {
8898
+ [name: string]: unknown;
8899
+ };
8900
+ content: {
8901
+ "application/json": unknown;
8902
+ };
8903
+ };
8904
+ };
8905
+ };
8906
+ check_healthz_healthz_get: {
8907
+ parameters: {
8908
+ query?: never;
8909
+ header?: never;
8910
+ path?: never;
8911
+ cookie?: never;
8912
+ };
8913
+ requestBody?: never;
8914
+ responses: {
8915
+ /** @description Successful Response */
8916
+ 200: {
8917
+ headers: {
8918
+ [name: string]: unknown;
8919
+ };
8920
+ content: {
8921
+ "application/json": unknown;
8922
+ };
8923
+ };
8924
+ };
8925
+ };
8926
+ check_readyz_readyz_get: {
8927
+ parameters: {
8928
+ query?: never;
8929
+ header?: never;
8930
+ path?: never;
8931
+ cookie?: never;
8932
+ };
8933
+ requestBody?: never;
8934
+ responses: {
8935
+ /** @description Successful Response */
8936
+ 200: {
8937
+ headers: {
8938
+ [name: string]: unknown;
8939
+ };
8940
+ content: {
8941
+ "application/json": unknown;
8942
+ };
8943
+ };
8944
+ };
8945
+ };
7155
8946
  }
7156
8947
  //# sourceMappingURL=v1.d.ts.map