@arizeai/phoenix-client 6.9.2 → 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 (39) hide show
  1. package/dist/esm/__generated__/api/v1.d.ts +1615 -133
  2. package/dist/esm/__generated__/api/v1.d.ts.map +1 -1
  3. package/dist/esm/prompts/sdks/toOpenAI.d.ts.map +1 -1
  4. package/dist/esm/prompts/sdks/toOpenAI.js +39 -7
  5. package/dist/esm/prompts/sdks/toOpenAI.js.map +1 -1
  6. package/dist/esm/schemas/llm/constants.d.ts +1 -1
  7. package/dist/esm/schemas/llm/converters.d.ts +4 -4
  8. package/dist/esm/schemas/llm/openai/converters.d.ts +1 -1
  9. package/dist/esm/schemas/llm/openai/messageSchemas.d.ts +1 -1
  10. package/dist/esm/schemas/llm/phoenixPrompt/converters.d.ts +2 -2
  11. package/dist/esm/schemas/llm/phoenixPrompt/messageSchemas.d.ts +3 -3
  12. package/dist/esm/schemas/llm/schemas.d.ts +1 -1
  13. package/dist/esm/schemas/llm/vercel/messageSchemas.d.ts +1 -1
  14. package/dist/esm/tsconfig.esm.tsbuildinfo +1 -1
  15. package/dist/esm/utils/formatPromptMessages.d.ts.map +1 -1
  16. package/dist/esm/utils/getPromptBySelector.d.ts.map +1 -1
  17. package/dist/src/__generated__/api/v1.d.ts +1615 -133
  18. package/dist/src/__generated__/api/v1.d.ts.map +1 -1
  19. package/dist/src/prompts/sdks/toOpenAI.d.ts.map +1 -1
  20. package/dist/src/prompts/sdks/toOpenAI.js +39 -7
  21. package/dist/src/prompts/sdks/toOpenAI.js.map +1 -1
  22. package/dist/src/schemas/llm/constants.d.ts +1 -1
  23. package/dist/src/schemas/llm/converters.d.ts +4 -4
  24. package/dist/src/schemas/llm/openai/converters.d.ts +1 -1
  25. package/dist/src/schemas/llm/openai/messageSchemas.d.ts +1 -1
  26. package/dist/src/schemas/llm/phoenixPrompt/converters.d.ts +2 -2
  27. package/dist/src/schemas/llm/phoenixPrompt/messageSchemas.d.ts +3 -3
  28. package/dist/src/schemas/llm/schemas.d.ts +1 -1
  29. package/dist/src/schemas/llm/vercel/messageSchemas.d.ts +1 -1
  30. package/dist/src/utils/formatPromptMessages.d.ts.map +1 -1
  31. package/dist/src/utils/getPromptBySelector.d.ts.map +1 -1
  32. package/dist/tsconfig.tsbuildinfo +1 -1
  33. package/docs/annotations.mdx +7 -3
  34. package/docs/overview.mdx +1 -1
  35. package/docs/sessions.mdx +20 -0
  36. package/docs/traces.mdx +76 -5
  37. package/package.json +2 -2
  38. package/src/__generated__/api/v1.ts +1615 -133
  39. package/src/prompts/sdks/toOpenAI.ts +41 -8
@@ -1138,10 +1138,287 @@ export interface paths {
1138
1138
  patch?: never;
1139
1139
  trace?: never;
1140
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
+ };
1141
1381
  }
1142
1382
  export type webhooks = Record<string, never>;
1143
1383
  export interface components {
1144
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
+ };
1145
1422
  /** AnnotateSessionsRequestBody */
1146
1423
  AnnotateSessionsRequestBody: {
1147
1424
  /** Data */
@@ -1211,6 +1488,75 @@ export interface components {
1211
1488
  */
1212
1489
  auth_method: "ANONYMOUS";
1213
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
+ };
1214
1560
  /** CategoricalAnnotationConfig */
1215
1561
  CategoricalAnnotationConfig: {
1216
1562
  /** Name */
@@ -1250,6 +1596,82 @@ export interface components {
1250
1596
  /** Score */
1251
1597
  score?: number | null;
1252
1598
  };
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: {
1613
+ /**
1614
+ * @description discriminator enum property added by openapi-typescript
1615
+ * @enum {string}
1616
+ */
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
+ };
1253
1675
  /** ContinuousAnnotationConfig */
1254
1676
  ContinuousAnnotationConfig: {
1255
1677
  /** Name */
@@ -1465,6 +1887,18 @@ export interface components {
1465
1887
  /** Data */
1466
1888
  data: components["schemas"]["LocalUser"] | components["schemas"]["OAuth2User"] | components["schemas"]["LDAPUser"];
1467
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
+ };
1468
1902
  /** Dataset */
1469
1903
  Dataset: {
1470
1904
  /** Id */
@@ -1512,61 +1946,291 @@ export interface components {
1512
1946
  * Updated At
1513
1947
  * Format: date-time
1514
1948
  */
1515
- updated_at: string;
1949
+ updated_at: string;
1950
+ };
1951
+ /** DatasetVersion */
1952
+ DatasetVersion: {
1953
+ /** Version Id */
1954
+ version_id: string;
1955
+ /** Description */
1956
+ description: string | null;
1957
+ /** Metadata */
1958
+ metadata: {
1959
+ [key: string]: unknown;
1960
+ };
1961
+ /**
1962
+ * Created At
1963
+ * Format: date-time
1964
+ */
1965
+ created_at: string;
1966
+ };
1967
+ /** DatasetWithExampleCount */
1968
+ DatasetWithExampleCount: {
1969
+ /** Id */
1970
+ id: string;
1971
+ /** Name */
1972
+ name: string;
1973
+ /** Description */
1974
+ description: string | null;
1975
+ /** Metadata */
1976
+ metadata: {
1977
+ [key: string]: unknown;
1978
+ };
1979
+ /**
1980
+ * Created At
1981
+ * Format: date-time
1982
+ */
1983
+ created_at: string;
1984
+ /**
1985
+ * Updated At
1986
+ * Format: date-time
1987
+ */
1988
+ updated_at: string;
1989
+ /** Example Count */
1990
+ example_count: number;
1991
+ };
1992
+ /** DeleteAnnotationConfigResponseBody */
1993
+ DeleteAnnotationConfigResponseBody: {
1994
+ /** Data */
1995
+ data: components["schemas"]["CategoricalAnnotationConfig"] | components["schemas"]["ContinuousAnnotationConfig"] | components["schemas"]["FreeformAnnotationConfig"];
1996
+ };
1997
+ /** DeleteSessionsRequestBody */
1998
+ DeleteSessionsRequestBody: {
1999
+ /**
2000
+ * Session Identifiers
2001
+ * @description List of session identifiers to delete. All identifiers must be the same type: either all GlobalIDs or all user-provided session_id strings.
2002
+ */
2003
+ session_identifiers: string[];
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;
1516
2100
  };
1517
- /** DatasetVersion */
1518
- DatasetVersion: {
1519
- /** Version Id */
1520
- version_id: string;
1521
- /** Description */
1522
- description: string | null;
1523
- /** Metadata */
1524
- metadata: {
1525
- [key: string]: unknown;
1526
- };
2101
+ /**
2102
+ * DynamicToolInputStreamingPart
2103
+ * @description Dynamic tool part in input-streaming state.
2104
+ */
2105
+ DynamicToolInputStreamingPart: {
1527
2106
  /**
1528
- * Created At
1529
- * Format: date-time
2107
+ * Type
2108
+ * @default dynamic-tool
2109
+ * @constant
1530
2110
  */
1531
- created_at: string;
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;
1532
2132
  };
1533
- /** DatasetWithExampleCount */
1534
- DatasetWithExampleCount: {
1535
- /** Id */
1536
- id: string;
1537
- /** Name */
1538
- name: string;
1539
- /** Description */
1540
- description: string | null;
1541
- /** Metadata */
1542
- metadata: {
1543
- [key: string]: unknown;
1544
- };
2133
+ /**
2134
+ * DynamicToolOutputAvailablePart
2135
+ * @description Dynamic tool part in output-available state.
2136
+ */
2137
+ DynamicToolOutputAvailablePart: {
1545
2138
  /**
1546
- * Created At
1547
- * Format: date-time
2139
+ * Type
2140
+ * @default dynamic-tool
2141
+ * @constant
1548
2142
  */
1549
- created_at: string;
2143
+ type?: "dynamic-tool";
2144
+ /** Toolname */
2145
+ toolName: string;
2146
+ /** Toolcallid */
2147
+ toolCallId: string;
1550
2148
  /**
1551
- * Updated At
1552
- * Format: date-time
2149
+ * State
2150
+ * @default output-available
2151
+ * @constant
1553
2152
  */
1554
- updated_at: string;
1555
- /** Example Count */
1556
- example_count: number;
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;
1557
2168
  };
1558
- /** DeleteAnnotationConfigResponseBody */
1559
- DeleteAnnotationConfigResponseBody: {
1560
- /** Data */
1561
- data: components["schemas"]["CategoricalAnnotationConfig"] | components["schemas"]["ContinuousAnnotationConfig"] | components["schemas"]["FreeformAnnotationConfig"];
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;
1562
2200
  };
1563
- /** DeleteSessionsRequestBody */
1564
- DeleteSessionsRequestBody: {
2201
+ /**
2202
+ * DynamicToolOutputErrorPart
2203
+ * @description Dynamic tool part in output-error state.
2204
+ */
2205
+ DynamicToolOutputErrorPart: {
1565
2206
  /**
1566
- * Session Identifiers
1567
- * @description List of session identifiers to delete. All identifiers must be the same type: either all GlobalIDs or all user-provided session_id strings.
2207
+ * Type
2208
+ * @default dynamic-tool
2209
+ * @constant
1568
2210
  */
1569
- session_identifiers: string[];
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;
1570
2234
  };
1571
2235
  /** Experiment */
1572
2236
  Experiment: {
@@ -1703,6 +2367,30 @@ export interface components {
1703
2367
  */
1704
2368
  experiment_id: string;
1705
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
+ };
1706
2394
  /** FreeformAnnotationConfig */
1707
2395
  FreeformAnnotationConfig: {
1708
2396
  /** Name */
@@ -2306,6 +2994,19 @@ export interface components {
2306
2994
  */
2307
2995
  message?: string | null;
2308
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
+ };
2309
3010
  /** Project */
2310
3011
  Project: {
2311
3012
  /** Name */
@@ -2315,6 +3016,32 @@ export interface components {
2315
3016
  /** Id */
2316
3017
  id: string;
2317
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
+ };
2318
3045
  /** Prompt */
2319
3046
  Prompt: {
2320
3047
  name: components["schemas"]["Identifier"];
@@ -3072,6 +3799,28 @@ export interface components {
3072
3799
  [key: string]: unknown;
3073
3800
  };
3074
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
+ };
3075
3824
  /** ResponseBody[UpsertOrDeleteSecretsResult] */
3076
3825
  ResponseBody_UpsertOrDeleteSecretsResult_: {
3077
3826
  data: components["schemas"]["UpsertOrDeleteSecretsResult"];
@@ -3252,6 +4001,56 @@ export interface components {
3252
4001
  */
3253
4002
  end_time: string;
3254
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
+ };
3255
4054
  /**
3256
4055
  * Span
3257
4056
  * @example {
@@ -3535,6 +4334,18 @@ export interface components {
3535
4334
  /** Next Cursor */
3536
4335
  next_cursor: string | null;
3537
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
+ };
3538
4349
  /** TextContentPart */
3539
4350
  TextContentPart: {
3540
4351
  /**
@@ -3545,6 +4356,104 @@ export interface components {
3545
4356
  /** Text */
3546
4357
  text: string;
3547
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
+ };
3548
4457
  /** ToolCallContentPart */
3549
4458
  ToolCallContentPart: {
3550
4459
  /**
@@ -3569,6 +4478,154 @@ export interface components {
3569
4478
  /** Arguments */
3570
4479
  arguments: string;
3571
4480
  };
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
+ };
3572
4629
  /** ToolResultContentPart */
3573
4630
  ToolResultContentPart: {
3574
4631
  /**
@@ -3677,6 +4734,18 @@ export interface components {
3677
4734
  /** Next Cursor */
3678
4735
  next_cursor: string | null;
3679
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
+ };
3680
4749
  /** TraceData */
3681
4750
  TraceData: {
3682
4751
  /** Id */
@@ -3749,10 +4818,27 @@ export interface components {
3749
4818
  */
3750
4819
  start_time: string;
3751
4820
  /**
3752
- * End Time
3753
- * Format: date-time
4821
+ * End Time
4822
+ * Format: date-time
4823
+ */
4824
+ end_time: string;
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}
3754
4836
  */
3755
- end_time: string;
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"])[];
3756
4842
  };
3757
4843
  /** UpdateAnnotationConfigResponseBody */
3758
4844
  UpdateAnnotationConfigResponseBody: {
@@ -3878,6 +4964,32 @@ export interface components {
3878
4964
  /** Context */
3879
4965
  ctx?: Record<string, unknown>;
3880
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
+ };
3881
4993
  };
3882
4994
  responses: never;
3883
4995
  parameters: never;
@@ -7179,17 +8291,257 @@ export interface operations {
7179
8291
  };
7180
8292
  requestBody: {
7181
8293
  content: {
7182
- "application/json": components["schemas"]["AnnotateSpanDocumentsRequestBody"];
8294
+ "application/json": components["schemas"]["AnnotateSpanDocumentsRequestBody"];
8295
+ };
8296
+ };
8297
+ responses: {
8298
+ /** @description Span document annotation inserted successfully */
8299
+ 200: {
8300
+ headers: {
8301
+ [name: string]: unknown;
8302
+ };
8303
+ content: {
8304
+ "application/json": components["schemas"]["AnnotateSpanDocumentsResponseBody"];
8305
+ };
8306
+ };
8307
+ /** @description Forbidden */
8308
+ 403: {
8309
+ headers: {
8310
+ [name: string]: unknown;
8311
+ };
8312
+ content: {
8313
+ "text/plain": string;
8314
+ };
8315
+ };
8316
+ /** @description Span not found */
8317
+ 404: {
8318
+ headers: {
8319
+ [name: string]: unknown;
8320
+ };
8321
+ content: {
8322
+ "text/plain": string;
8323
+ };
8324
+ };
8325
+ /** @description Invalid request - non-empty identifier not supported */
8326
+ 422: {
8327
+ headers: {
8328
+ [name: string]: unknown;
8329
+ };
8330
+ content: {
8331
+ "text/plain": string;
8332
+ };
8333
+ };
8334
+ };
8335
+ };
8336
+ getViewer: {
8337
+ parameters: {
8338
+ query?: never;
8339
+ header?: never;
8340
+ path?: never;
8341
+ cookie?: never;
8342
+ };
8343
+ requestBody?: never;
8344
+ responses: {
8345
+ /** @description The authenticated user's profile. */
8346
+ 200: {
8347
+ headers: {
8348
+ [name: string]: unknown;
8349
+ };
8350
+ content: {
8351
+ "application/json": components["schemas"]["GetViewerResponseBody"];
8352
+ };
8353
+ };
8354
+ /** @description User not found. */
8355
+ 401: {
8356
+ headers: {
8357
+ [name: string]: unknown;
8358
+ };
8359
+ content: {
8360
+ "text/plain": string;
8361
+ };
8362
+ };
8363
+ /** @description Forbidden */
8364
+ 403: {
8365
+ headers: {
8366
+ [name: string]: unknown;
8367
+ };
8368
+ content: {
8369
+ "text/plain": string;
8370
+ };
8371
+ };
8372
+ };
8373
+ };
8374
+ getUsers: {
8375
+ parameters: {
8376
+ query?: {
8377
+ /** @description Cursor for pagination (base64-encoded user ID) */
8378
+ cursor?: string;
8379
+ /** @description The max number of users to return at a time. */
8380
+ limit?: number;
8381
+ };
8382
+ header?: never;
8383
+ path?: never;
8384
+ cookie?: never;
8385
+ };
8386
+ requestBody?: never;
8387
+ responses: {
8388
+ /** @description A list of users. */
8389
+ 200: {
8390
+ headers: {
8391
+ [name: string]: unknown;
8392
+ };
8393
+ content: {
8394
+ "application/json": components["schemas"]["GetUsersResponseBody"];
8395
+ };
8396
+ };
8397
+ /** @description Forbidden */
8398
+ 403: {
8399
+ headers: {
8400
+ [name: string]: unknown;
8401
+ };
8402
+ content: {
8403
+ "text/plain": string;
8404
+ };
8405
+ };
8406
+ /** @description Unprocessable Entity */
8407
+ 422: {
8408
+ headers: {
8409
+ [name: string]: unknown;
8410
+ };
8411
+ content: {
8412
+ "text/plain": string;
8413
+ };
8414
+ };
8415
+ };
8416
+ };
8417
+ createUser: {
8418
+ parameters: {
8419
+ query?: never;
8420
+ header?: never;
8421
+ path?: never;
8422
+ cookie?: never;
8423
+ };
8424
+ requestBody: {
8425
+ content: {
8426
+ "application/json": components["schemas"]["CreateUserRequestBody"];
8427
+ };
8428
+ };
8429
+ responses: {
8430
+ /** @description The newly created user. */
8431
+ 201: {
8432
+ headers: {
8433
+ [name: string]: unknown;
8434
+ };
8435
+ content: {
8436
+ "application/json": components["schemas"]["CreateUserResponseBody"];
8437
+ };
8438
+ };
8439
+ /** @description Role not found. */
8440
+ 400: {
8441
+ headers: {
8442
+ [name: string]: unknown;
8443
+ };
8444
+ content: {
8445
+ "text/plain": string;
8446
+ };
8447
+ };
8448
+ /** @description Forbidden */
8449
+ 403: {
8450
+ headers: {
8451
+ [name: string]: unknown;
8452
+ };
8453
+ content: {
8454
+ "text/plain": string;
8455
+ };
8456
+ };
8457
+ /** @description Username or email already exists. */
8458
+ 409: {
8459
+ headers: {
8460
+ [name: string]: unknown;
8461
+ };
8462
+ content: {
8463
+ "text/plain": string;
8464
+ };
8465
+ };
8466
+ /** @description Unprocessable Entity */
8467
+ 422: {
8468
+ headers: {
8469
+ [name: string]: unknown;
8470
+ };
8471
+ content: {
8472
+ "text/plain": string;
8473
+ };
8474
+ };
8475
+ };
8476
+ };
8477
+ deleteUser: {
8478
+ parameters: {
8479
+ query?: never;
8480
+ header?: never;
8481
+ path: {
8482
+ /** @description The GlobalID of the user (e.g. 'VXNlcjox'). */
8483
+ user_id: string;
8484
+ };
8485
+ cookie?: never;
8486
+ };
8487
+ requestBody?: never;
8488
+ responses: {
8489
+ /** @description No content returned on successful deletion. */
8490
+ 204: {
8491
+ headers: {
8492
+ [name: string]: unknown;
8493
+ };
8494
+ content?: never;
8495
+ };
8496
+ /** @description Cannot delete the default admin or system user */
8497
+ 403: {
8498
+ headers: {
8499
+ [name: string]: unknown;
8500
+ };
8501
+ content: {
8502
+ "text/plain": string;
8503
+ };
8504
+ };
8505
+ /** @description User not found. */
8506
+ 404: {
8507
+ headers: {
8508
+ [name: string]: unknown;
8509
+ };
8510
+ content: {
8511
+ "text/plain": string;
8512
+ };
8513
+ };
8514
+ /** @description Unprocessable Entity */
8515
+ 422: {
8516
+ headers: {
8517
+ [name: string]: unknown;
8518
+ };
8519
+ content: {
8520
+ "text/plain": string;
8521
+ };
8522
+ };
8523
+ };
8524
+ };
8525
+ upsertOrDeleteSecrets: {
8526
+ parameters: {
8527
+ query?: never;
8528
+ header?: never;
8529
+ path?: never;
8530
+ cookie?: never;
8531
+ };
8532
+ requestBody: {
8533
+ content: {
8534
+ "application/json": components["schemas"]["UpsertOrDeleteSecretsRequest"];
7183
8535
  };
7184
8536
  };
7185
8537
  responses: {
7186
- /** @description Span document annotation inserted successfully */
8538
+ /** @description Successful Response */
7187
8539
  200: {
7188
8540
  headers: {
7189
8541
  [name: string]: unknown;
7190
8542
  };
7191
8543
  content: {
7192
- "application/json": components["schemas"]["AnnotateSpanDocumentsResponseBody"];
8544
+ "application/json": components["schemas"]["ResponseBody_UpsertOrDeleteSecretsResult_"];
7193
8545
  };
7194
8546
  };
7195
8547
  /** @description Forbidden */
@@ -7201,8 +8553,8 @@ export interface operations {
7201
8553
  "text/plain": string;
7202
8554
  };
7203
8555
  };
7204
- /** @description Span not found */
7205
- 404: {
8556
+ /** @description Unprocessable Entity */
8557
+ 422: {
7206
8558
  headers: {
7207
8559
  [name: string]: unknown;
7208
8560
  };
@@ -7210,8 +8562,8 @@ export interface operations {
7210
8562
  "text/plain": string;
7211
8563
  };
7212
8564
  };
7213
- /** @description Invalid request - non-empty identifier not supported */
7214
- 422: {
8565
+ /** @description Insufficient Storage */
8566
+ 507: {
7215
8567
  headers: {
7216
8568
  [name: string]: unknown;
7217
8569
  };
@@ -7221,7 +8573,7 @@ export interface operations {
7221
8573
  };
7222
8574
  };
7223
8575
  };
7224
- getViewer: {
8576
+ _login_auth_login_post: {
7225
8577
  parameters: {
7226
8578
  query?: never;
7227
8579
  header?: never;
@@ -7230,196 +8582,284 @@ export interface operations {
7230
8582
  };
7231
8583
  requestBody?: never;
7232
8584
  responses: {
7233
- /** @description The authenticated user's profile. */
8585
+ /** @description Successful Response */
7234
8586
  200: {
7235
8587
  headers: {
7236
8588
  [name: string]: unknown;
7237
8589
  };
7238
8590
  content: {
7239
- "application/json": components["schemas"]["GetViewerResponseBody"];
7240
- };
7241
- };
7242
- /** @description User not found. */
7243
- 401: {
7244
- headers: {
7245
- [name: string]: unknown;
7246
- };
7247
- content: {
7248
- "text/plain": string;
8591
+ "application/json": unknown;
7249
8592
  };
7250
8593
  };
7251
- /** @description Forbidden */
7252
- 403: {
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: {
7253
8607
  headers: {
7254
8608
  [name: string]: unknown;
7255
8609
  };
7256
8610
  content: {
7257
- "text/plain": string;
8611
+ "application/json": unknown;
7258
8612
  };
7259
8613
  };
7260
8614
  };
7261
8615
  };
7262
- getUsers: {
8616
+ _refresh_tokens_auth_refresh_post: {
7263
8617
  parameters: {
7264
- query?: {
7265
- /** @description Cursor for pagination (base64-encoded user ID) */
7266
- cursor?: string;
7267
- /** @description The max number of users to return at a time. */
7268
- limit?: number;
7269
- };
8618
+ query?: never;
7270
8619
  header?: never;
7271
8620
  path?: never;
7272
8621
  cookie?: never;
7273
8622
  };
7274
8623
  requestBody?: never;
7275
8624
  responses: {
7276
- /** @description A list of users. */
8625
+ /** @description Successful Response */
7277
8626
  200: {
7278
8627
  headers: {
7279
8628
  [name: string]: unknown;
7280
8629
  };
7281
8630
  content: {
7282
- "application/json": components["schemas"]["GetUsersResponseBody"];
8631
+ "application/json": unknown;
7283
8632
  };
7284
8633
  };
7285
- /** @description Forbidden */
7286
- 403: {
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: {
7287
8647
  headers: {
7288
8648
  [name: string]: unknown;
7289
8649
  };
7290
8650
  content: {
7291
- "text/plain": string;
8651
+ "application/json": unknown;
7292
8652
  };
7293
8653
  };
7294
- /** @description Unprocessable Entity */
7295
- 422: {
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: {
7296
8667
  headers: {
7297
8668
  [name: string]: unknown;
7298
8669
  };
7299
8670
  content: {
7300
- "text/plain": string;
8671
+ "application/json": unknown;
7301
8672
  };
7302
8673
  };
7303
8674
  };
7304
8675
  };
7305
- createUser: {
8676
+ _ldap_login_auth_ldap_login_post: {
7306
8677
  parameters: {
7307
8678
  query?: never;
7308
8679
  header?: never;
7309
8680
  path?: never;
7310
8681
  cookie?: never;
7311
8682
  };
7312
- requestBody: {
7313
- content: {
7314
- "application/json": components["schemas"]["CreateUserRequestBody"];
7315
- };
7316
- };
8683
+ requestBody?: never;
7317
8684
  responses: {
7318
- /** @description The newly created user. */
7319
- 201: {
8685
+ /** @description Successful Response */
8686
+ 200: {
7320
8687
  headers: {
7321
8688
  [name: string]: unknown;
7322
8689
  };
7323
8690
  content: {
7324
- "application/json": components["schemas"]["CreateUserResponseBody"];
8691
+ "application/json": unknown;
7325
8692
  };
7326
8693
  };
7327
- /** @description Role not found. */
7328
- 400: {
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: {
7329
8711
  headers: {
7330
8712
  [name: string]: unknown;
7331
8713
  };
7332
8714
  content: {
7333
- "text/plain": string;
8715
+ "application/json": unknown;
7334
8716
  };
7335
8717
  };
7336
- /** @description Forbidden */
7337
- 403: {
8718
+ /** @description Validation Error */
8719
+ 422: {
7338
8720
  headers: {
7339
8721
  [name: string]: unknown;
7340
8722
  };
7341
8723
  content: {
7342
- "text/plain": string;
8724
+ "application/json": components["schemas"]["HTTPValidationError"];
7343
8725
  };
7344
8726
  };
7345
- /** @description Username or email already exists. */
7346
- 409: {
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: {
7347
8744
  headers: {
7348
8745
  [name: string]: unknown;
7349
8746
  };
7350
8747
  content: {
7351
- "text/plain": string;
8748
+ "application/json": unknown;
7352
8749
  };
7353
8750
  };
7354
- /** @description Unprocessable Entity */
8751
+ /** @description Validation Error */
7355
8752
  422: {
7356
8753
  headers: {
7357
8754
  [name: string]: unknown;
7358
8755
  };
7359
8756
  content: {
7360
- "text/plain": string;
8757
+ "application/json": components["schemas"]["HTTPValidationError"];
7361
8758
  };
7362
8759
  };
7363
8760
  };
7364
8761
  };
7365
- deleteUser: {
8762
+ create_tokens_oauth2__idp_name__tokens_get: {
7366
8763
  parameters: {
7367
- query?: never;
8764
+ query: {
8765
+ state: string;
8766
+ code?: string | null;
8767
+ error?: string | null;
8768
+ error_description?: string | null;
8769
+ };
7368
8770
  header?: never;
7369
8771
  path: {
7370
- /** @description The GlobalID of the user (e.g. 'VXNlcjox'). */
7371
- user_id: string;
8772
+ idp_name: string;
8773
+ };
8774
+ cookie: {
8775
+ "phoenix-oauth2-state": string;
8776
+ "phoenix-oauth2-nonce": string;
8777
+ "phoenix-oauth2-code-verifier"?: string | null;
7372
8778
  };
7373
- cookie?: never;
7374
8779
  };
7375
8780
  requestBody?: never;
7376
8781
  responses: {
7377
- /** @description No content returned on successful deletion. */
7378
- 204: {
8782
+ /** @description Successful Response */
8783
+ 200: {
7379
8784
  headers: {
7380
8785
  [name: string]: unknown;
7381
8786
  };
7382
- content?: never;
8787
+ content: {
8788
+ "application/json": unknown;
8789
+ };
7383
8790
  };
7384
- /** @description Cannot delete the default admin or system user */
7385
- 403: {
8791
+ /** @description Validation Error */
8792
+ 422: {
7386
8793
  headers: {
7387
8794
  [name: string]: unknown;
7388
8795
  };
7389
8796
  content: {
7390
- "text/plain": string;
8797
+ "application/json": components["schemas"]["HTTPValidationError"];
7391
8798
  };
7392
8799
  };
7393
- /** @description User not found. */
7394
- 404: {
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: {
7395
8826
  headers: {
7396
8827
  [name: string]: unknown;
7397
8828
  };
7398
8829
  content: {
7399
- "text/plain": string;
8830
+ "application/json": components["schemas"]["AssistantMessageMetadata"];
7400
8831
  };
7401
8832
  };
7402
- /** @description Unprocessable Entity */
8833
+ /** @description Validation Error */
7403
8834
  422: {
7404
8835
  headers: {
7405
8836
  [name: string]: unknown;
7406
8837
  };
7407
8838
  content: {
7408
- "text/plain": string;
8839
+ "application/json": components["schemas"]["HTTPValidationError"];
7409
8840
  };
7410
8841
  };
7411
8842
  };
7412
8843
  };
7413
- upsertOrDeleteSecrets: {
8844
+ summarize_endpoint_agents__agent_id__sessions__session_id__summary_post: {
7414
8845
  parameters: {
7415
- query?: never;
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
+ };
7416
8853
  header?: never;
7417
- path?: never;
8854
+ path: {
8855
+ agent_id: string;
8856
+ session_id: string;
8857
+ };
7418
8858
  cookie?: never;
7419
8859
  };
7420
8860
  requestBody: {
7421
8861
  content: {
7422
- "application/json": components["schemas"]["UpsertOrDeleteSecretsRequest"];
8862
+ "application/json": components["schemas"]["_SummarizeRequest"];
7423
8863
  };
7424
8864
  };
7425
8865
  responses: {
@@ -7429,34 +8869,76 @@ export interface operations {
7429
8869
  [name: string]: unknown;
7430
8870
  };
7431
8871
  content: {
7432
- "application/json": components["schemas"]["ResponseBody_UpsertOrDeleteSecretsResult_"];
8872
+ "application/json": components["schemas"]["_SummarizeResponse"];
7433
8873
  };
7434
8874
  };
7435
- /** @description Forbidden */
7436
- 403: {
8875
+ /** @description Validation Error */
8876
+ 422: {
7437
8877
  headers: {
7438
8878
  [name: string]: unknown;
7439
8879
  };
7440
8880
  content: {
7441
- "text/plain": string;
8881
+ "application/json": components["schemas"]["HTTPValidationError"];
7442
8882
  };
7443
8883
  };
7444
- /** @description Unprocessable Entity */
7445
- 422: {
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: {
7446
8897
  headers: {
7447
8898
  [name: string]: unknown;
7448
8899
  };
7449
8900
  content: {
7450
- "text/plain": string;
8901
+ "application/json": unknown;
7451
8902
  };
7452
8903
  };
7453
- /** @description Insufficient Storage */
7454
- 507: {
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: {
7455
8917
  headers: {
7456
8918
  [name: string]: unknown;
7457
8919
  };
7458
8920
  content: {
7459
- "text/plain": string;
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;
7460
8942
  };
7461
8943
  };
7462
8944
  };