@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
@@ -1139,10 +1139,287 @@ export interface paths {
1139
1139
  patch?: never;
1140
1140
  trace?: never;
1141
1141
  };
1142
+ "/auth/login": {
1143
+ parameters: {
1144
+ query?: never;
1145
+ header?: never;
1146
+ path?: never;
1147
+ cookie?: never;
1148
+ };
1149
+ get?: never;
1150
+ put?: never;
1151
+ /**
1152
+ * Login
1153
+ * @description Authenticate user via email/password and return access/refresh tokens.
1154
+ */
1155
+ post: operations["_login_auth_login_post"];
1156
+ delete?: never;
1157
+ options?: never;
1158
+ head?: never;
1159
+ patch?: never;
1160
+ trace?: never;
1161
+ };
1162
+ "/auth/logout": {
1163
+ parameters: {
1164
+ query?: never;
1165
+ header?: never;
1166
+ path?: never;
1167
+ cookie?: never;
1168
+ };
1169
+ /**
1170
+ * Logout
1171
+ * @description Log out user by revoking tokens and clearing cookies.
1172
+ */
1173
+ get: operations["_logout_auth_logout_get"];
1174
+ put?: never;
1175
+ post?: never;
1176
+ delete?: never;
1177
+ options?: never;
1178
+ head?: never;
1179
+ patch?: never;
1180
+ trace?: never;
1181
+ };
1182
+ "/auth/refresh": {
1183
+ parameters: {
1184
+ query?: never;
1185
+ header?: never;
1186
+ path?: never;
1187
+ cookie?: never;
1188
+ };
1189
+ get?: never;
1190
+ put?: never;
1191
+ /**
1192
+ * Refresh Tokens
1193
+ * @description Refresh access and refresh tokens.
1194
+ */
1195
+ post: operations["_refresh_tokens_auth_refresh_post"];
1196
+ delete?: never;
1197
+ options?: never;
1198
+ head?: never;
1199
+ patch?: never;
1200
+ trace?: never;
1201
+ };
1202
+ "/auth/password-reset-email": {
1203
+ parameters: {
1204
+ query?: never;
1205
+ header?: never;
1206
+ path?: never;
1207
+ cookie?: never;
1208
+ };
1209
+ get?: never;
1210
+ put?: never;
1211
+ /**
1212
+ * Initiate Password Reset
1213
+ * @description Send password reset email to user.
1214
+ */
1215
+ post: operations["_initiate_password_reset_auth_password_reset_email_post"];
1216
+ delete?: never;
1217
+ options?: never;
1218
+ head?: never;
1219
+ patch?: never;
1220
+ trace?: never;
1221
+ };
1222
+ "/auth/password-reset": {
1223
+ parameters: {
1224
+ query?: never;
1225
+ header?: never;
1226
+ path?: never;
1227
+ cookie?: never;
1228
+ };
1229
+ get?: never;
1230
+ put?: never;
1231
+ /**
1232
+ * Reset Password
1233
+ * @description Reset user password using a valid reset token.
1234
+ */
1235
+ post: operations["_reset_password_auth_password_reset_post"];
1236
+ delete?: never;
1237
+ options?: never;
1238
+ head?: never;
1239
+ patch?: never;
1240
+ trace?: never;
1241
+ };
1242
+ "/auth/ldap/login": {
1243
+ parameters: {
1244
+ query?: never;
1245
+ header?: never;
1246
+ path?: never;
1247
+ cookie?: never;
1248
+ };
1249
+ get?: never;
1250
+ put?: never;
1251
+ /**
1252
+ * Ldap Login
1253
+ * @description Authenticate user via LDAP and return access/refresh tokens.
1254
+ */
1255
+ post: operations["_ldap_login_auth_ldap_login_post"];
1256
+ delete?: never;
1257
+ options?: never;
1258
+ head?: never;
1259
+ patch?: never;
1260
+ trace?: never;
1261
+ };
1262
+ "/oauth2/{idp_name}/login": {
1263
+ parameters: {
1264
+ query?: never;
1265
+ header?: never;
1266
+ path?: never;
1267
+ cookie?: never;
1268
+ };
1269
+ /** Login */
1270
+ get: operations["login_oauth2__idp_name__login_get"];
1271
+ put?: never;
1272
+ /** Login */
1273
+ post: operations["login_oauth2__idp_name__login_post"];
1274
+ delete?: never;
1275
+ options?: never;
1276
+ head?: never;
1277
+ patch?: never;
1278
+ trace?: never;
1279
+ };
1280
+ "/oauth2/{idp_name}/tokens": {
1281
+ parameters: {
1282
+ query?: never;
1283
+ header?: never;
1284
+ path?: never;
1285
+ cookie?: never;
1286
+ };
1287
+ /** Create Tokens */
1288
+ get: operations["create_tokens_oauth2__idp_name__tokens_get"];
1289
+ put?: never;
1290
+ post?: never;
1291
+ delete?: never;
1292
+ options?: never;
1293
+ head?: never;
1294
+ patch?: never;
1295
+ trace?: never;
1296
+ };
1297
+ "/agents/{agent_id}/sessions/{session_id}/chat": {
1298
+ parameters: {
1299
+ query?: never;
1300
+ header?: never;
1301
+ path?: never;
1302
+ cookie?: never;
1303
+ };
1304
+ get?: never;
1305
+ put?: never;
1306
+ /** Chat */
1307
+ post: operations["chat_agents__agent_id__sessions__session_id__chat_post"];
1308
+ delete?: never;
1309
+ options?: never;
1310
+ head?: never;
1311
+ patch?: never;
1312
+ trace?: never;
1313
+ };
1314
+ "/agents/{agent_id}/sessions/{session_id}/summary": {
1315
+ parameters: {
1316
+ query?: never;
1317
+ header?: never;
1318
+ path?: never;
1319
+ cookie?: never;
1320
+ };
1321
+ get?: never;
1322
+ put?: never;
1323
+ /** Summarize Endpoint */
1324
+ post: operations["summarize_endpoint_agents__agent_id__sessions__session_id__summary_post"];
1325
+ delete?: never;
1326
+ options?: never;
1327
+ head?: never;
1328
+ patch?: never;
1329
+ trace?: never;
1330
+ };
1331
+ "/arize_phoenix_version": {
1332
+ parameters: {
1333
+ query?: never;
1334
+ header?: never;
1335
+ path?: never;
1336
+ cookie?: never;
1337
+ };
1338
+ /** Version */
1339
+ get: operations["version_arize_phoenix_version_get"];
1340
+ put?: never;
1341
+ post?: never;
1342
+ delete?: never;
1343
+ options?: never;
1344
+ head?: never;
1345
+ patch?: never;
1346
+ trace?: never;
1347
+ };
1348
+ "/healthz": {
1349
+ parameters: {
1350
+ query?: never;
1351
+ header?: never;
1352
+ path?: never;
1353
+ cookie?: never;
1354
+ };
1355
+ /** Check Healthz */
1356
+ get: operations["check_healthz_healthz_get"];
1357
+ put?: never;
1358
+ post?: never;
1359
+ delete?: never;
1360
+ options?: never;
1361
+ head?: never;
1362
+ patch?: never;
1363
+ trace?: never;
1364
+ };
1365
+ "/readyz": {
1366
+ parameters: {
1367
+ query?: never;
1368
+ header?: never;
1369
+ path?: never;
1370
+ cookie?: never;
1371
+ };
1372
+ /** Check Readyz */
1373
+ get: operations["check_readyz_readyz_get"];
1374
+ put?: never;
1375
+ post?: never;
1376
+ delete?: never;
1377
+ options?: never;
1378
+ head?: never;
1379
+ patch?: never;
1380
+ trace?: never;
1381
+ };
1142
1382
  }
1143
1383
  export type webhooks = Record<string, never>;
1144
1384
  export interface components {
1145
1385
  schemas: {
1386
+ /**
1387
+ * AgentCapabilities
1388
+ * @description Runtime capability state sent by the browser for a chat turn.
1389
+ */
1390
+ AgentCapabilities: {
1391
+ /**
1392
+ * Bash.Retaininactivesessions
1393
+ * @default false
1394
+ */
1395
+ "bash.retainInactiveSessions"?: boolean;
1396
+ /**
1397
+ * Graphql.Mutations
1398
+ * @default false
1399
+ */
1400
+ "graphql.mutations"?: boolean;
1401
+ };
1402
+ /**
1403
+ * AgentSpanContext
1404
+ * @description Span the user has selected.
1405
+ *
1406
+ * Exactly one of ``span_node_id`` (relay) or ``otel_span_id`` (OpenTelemetry
1407
+ * hex) must be set. ``project_node_id`` is optional because a span can be
1408
+ * selected from views outside a project route.
1409
+ */
1410
+ AgentSpanContext: {
1411
+ /**
1412
+ * @description discriminator enum property added by openapi-typescript
1413
+ * @enum {string}
1414
+ */
1415
+ type: "span";
1416
+ /** Projectnodeid */
1417
+ projectNodeId?: string | null;
1418
+ /** Spannodeid */
1419
+ spanNodeId?: string | null;
1420
+ /** Otelspanid */
1421
+ otelSpanId?: string | null;
1422
+ };
1146
1423
  /** AnnotateSessionsRequestBody */
1147
1424
  AnnotateSessionsRequestBody: {
1148
1425
  /** Data */
@@ -1212,6 +1489,75 @@ export interface components {
1212
1489
  */
1213
1490
  auth_method: "ANONYMOUS";
1214
1491
  };
1492
+ /**
1493
+ * AppContext
1494
+ * @description Per-turn browser clock context for resolving relative time requests.
1495
+ */
1496
+ AppContext: {
1497
+ /**
1498
+ * @description discriminator enum property added by openapi-typescript
1499
+ * @enum {string}
1500
+ */
1501
+ type: "app";
1502
+ /** Currentdatetime */
1503
+ currentDateTime: string;
1504
+ /** Timezone */
1505
+ timeZone: string;
1506
+ };
1507
+ /**
1508
+ * AssistantMessageMetadata
1509
+ * @description Wire schema for the chat stream's `message_metadata` payload.
1510
+ */
1511
+ AssistantMessageMetadata: {
1512
+ /** Sessionid */
1513
+ sessionId: string;
1514
+ trace?: components["schemas"]["AssistantMessageMetadataTraceIds"] | null;
1515
+ usage?: components["schemas"]["AssistantMessageMetadataUsage"] | null;
1516
+ };
1517
+ /** AssistantMessageMetadataTraceIds */
1518
+ AssistantMessageMetadataTraceIds: {
1519
+ /** Traceid */
1520
+ traceId: string;
1521
+ /** Rootspanid */
1522
+ rootSpanId: string;
1523
+ };
1524
+ /** AssistantMessageMetadataUsage */
1525
+ AssistantMessageMetadataUsage: {
1526
+ tokens: components["schemas"]["AssistantMessageMetadataUsageTokens"];
1527
+ promptDetails?: components["schemas"]["AssistantMessageMetadataUsageTokenDetails"] | null;
1528
+ };
1529
+ /** AssistantMessageMetadataUsageTokenDetails */
1530
+ AssistantMessageMetadataUsageTokenDetails: {
1531
+ /** Cacheread */
1532
+ cacheRead: number;
1533
+ /** Cachewrite */
1534
+ cacheWrite: number;
1535
+ };
1536
+ /** AssistantMessageMetadataUsageTokens */
1537
+ AssistantMessageMetadataUsageTokens: {
1538
+ /** Prompt */
1539
+ prompt: number;
1540
+ /** Completion */
1541
+ completion: number;
1542
+ /** Total */
1543
+ total: number;
1544
+ };
1545
+ /**
1546
+ * AssistantMetadataUIMessage
1547
+ * @description `UIMessage` with `metadata` narrowed to `AssistantMessageMetadata`.
1548
+ */
1549
+ AssistantMetadataUIMessage: {
1550
+ /** Id */
1551
+ id: string;
1552
+ /**
1553
+ * Role
1554
+ * @enum {string}
1555
+ */
1556
+ role: "system" | "user" | "assistant";
1557
+ metadata?: components["schemas"]["AssistantMessageMetadata"] | null;
1558
+ /** Parts */
1559
+ parts: (components["schemas"]["TextUIPart"] | components["schemas"]["ReasoningUIPart"] | components["schemas"]["ToolInputStreamingPart"] | components["schemas"]["ToolInputAvailablePart"] | components["schemas"]["ToolOutputAvailablePart"] | components["schemas"]["ToolOutputErrorPart"] | components["schemas"]["ToolApprovalRequestedPart"] | components["schemas"]["ToolApprovalRespondedPart"] | components["schemas"]["ToolOutputDeniedPart"] | components["schemas"]["DynamicToolInputStreamingPart"] | components["schemas"]["DynamicToolInputAvailablePart"] | components["schemas"]["DynamicToolOutputAvailablePart"] | components["schemas"]["DynamicToolOutputErrorPart"] | components["schemas"]["DynamicToolApprovalRequestedPart"] | components["schemas"]["DynamicToolApprovalRespondedPart"] | components["schemas"]["DynamicToolOutputDeniedPart"] | components["schemas"]["SourceUrlUIPart"] | components["schemas"]["SourceDocumentUIPart"] | components["schemas"]["FileUIPart"] | components["schemas"]["DataUIPart"] | components["schemas"]["StepStartUIPart"])[];
1560
+ };
1215
1561
  /** CategoricalAnnotationConfig */
1216
1562
  CategoricalAnnotationConfig: {
1217
1563
  /** Name */
@@ -1251,6 +1597,82 @@ export interface components {
1251
1597
  /** Score */
1252
1598
  score?: number | null;
1253
1599
  };
1600
+ /**
1601
+ * ChatContext
1602
+ * @description Discriminated union of every UI-state context the agent understands.
1603
+ *
1604
+ * Wrapped in ``RootModel`` so the generated OpenAPI schema exposes a single
1605
+ * named ``ChatContext`` component instead of inlining the ``oneOf`` at every
1606
+ * reference site. The actual member is accessible via ``.root``.
1607
+ */
1608
+ ChatContext: components["schemas"]["AppContext"] | components["schemas"]["ProjectContext"] | components["schemas"]["TraceContext"] | components["schemas"]["AgentSpanContext"] | components["schemas"]["PlaygroundContext"];
1609
+ /**
1610
+ * ChatRegenerateMessage
1611
+ * @description Regenerate message extended with Phoenix-specific fields.
1612
+ */
1613
+ ChatRegenerateMessage: {
1614
+ /**
1615
+ * @description discriminator enum property added by openapi-typescript
1616
+ * @enum {string}
1617
+ */
1618
+ trigger: "regenerate-message";
1619
+ /** Id */
1620
+ id: string;
1621
+ /** Messages */
1622
+ messages: components["schemas"]["AssistantMetadataUIMessage"][];
1623
+ /** Messageid */
1624
+ messageId?: string | null;
1625
+ /**
1626
+ * Ingesttraces
1627
+ * @default false
1628
+ */
1629
+ ingestTraces?: boolean;
1630
+ /**
1631
+ * Exportremotetraces
1632
+ * @default false
1633
+ */
1634
+ exportRemoteTraces?: boolean;
1635
+ /** Contexts */
1636
+ contexts?: components["schemas"]["ChatContext"][];
1637
+ capabilities?: components["schemas"]["AgentCapabilities"];
1638
+ } & {
1639
+ [key: string]: unknown;
1640
+ };
1641
+ /**
1642
+ * ChatRequest
1643
+ * @description Discriminated union of chat request payloads.
1644
+ */
1645
+ ChatRequest: components["schemas"]["ChatSubmitMessage"] | components["schemas"]["ChatRegenerateMessage"];
1646
+ /**
1647
+ * ChatSubmitMessage
1648
+ * @description Submit message extended with Phoenix-specific fields.
1649
+ */
1650
+ ChatSubmitMessage: {
1651
+ /**
1652
+ * @description discriminator enum property added by openapi-typescript
1653
+ * @enum {string}
1654
+ */
1655
+ trigger: "submit-message";
1656
+ /** Id */
1657
+ id: string;
1658
+ /** Messages */
1659
+ messages: components["schemas"]["AssistantMetadataUIMessage"][];
1660
+ /**
1661
+ * Ingesttraces
1662
+ * @default false
1663
+ */
1664
+ ingestTraces?: boolean;
1665
+ /**
1666
+ * Exportremotetraces
1667
+ * @default false
1668
+ */
1669
+ exportRemoteTraces?: boolean;
1670
+ /** Contexts */
1671
+ contexts?: components["schemas"]["ChatContext"][];
1672
+ capabilities?: components["schemas"]["AgentCapabilities"];
1673
+ } & {
1674
+ [key: string]: unknown;
1675
+ };
1254
1676
  /** ContinuousAnnotationConfig */
1255
1677
  ContinuousAnnotationConfig: {
1256
1678
  /** Name */
@@ -1466,6 +1888,18 @@ export interface components {
1466
1888
  /** Data */
1467
1889
  data: components["schemas"]["LocalUser"] | components["schemas"]["OAuth2User"] | components["schemas"]["LDAPUser"];
1468
1890
  };
1891
+ /**
1892
+ * DataUIPart
1893
+ * @description Data part with dynamic type based on data name.
1894
+ */
1895
+ DataUIPart: {
1896
+ /** Type */
1897
+ type: string;
1898
+ /** Id */
1899
+ id?: string | null;
1900
+ /** Data */
1901
+ data: unknown;
1902
+ };
1469
1903
  /** Dataset */
1470
1904
  Dataset: {
1471
1905
  /** Id */
@@ -1513,61 +1947,291 @@ export interface components {
1513
1947
  * Updated At
1514
1948
  * Format: date-time
1515
1949
  */
1516
- updated_at: string;
1950
+ updated_at: string;
1951
+ };
1952
+ /** DatasetVersion */
1953
+ DatasetVersion: {
1954
+ /** Version Id */
1955
+ version_id: string;
1956
+ /** Description */
1957
+ description: string | null;
1958
+ /** Metadata */
1959
+ metadata: {
1960
+ [key: string]: unknown;
1961
+ };
1962
+ /**
1963
+ * Created At
1964
+ * Format: date-time
1965
+ */
1966
+ created_at: string;
1967
+ };
1968
+ /** DatasetWithExampleCount */
1969
+ DatasetWithExampleCount: {
1970
+ /** Id */
1971
+ id: string;
1972
+ /** Name */
1973
+ name: string;
1974
+ /** Description */
1975
+ description: string | null;
1976
+ /** Metadata */
1977
+ metadata: {
1978
+ [key: string]: unknown;
1979
+ };
1980
+ /**
1981
+ * Created At
1982
+ * Format: date-time
1983
+ */
1984
+ created_at: string;
1985
+ /**
1986
+ * Updated At
1987
+ * Format: date-time
1988
+ */
1989
+ updated_at: string;
1990
+ /** Example Count */
1991
+ example_count: number;
1992
+ };
1993
+ /** DeleteAnnotationConfigResponseBody */
1994
+ DeleteAnnotationConfigResponseBody: {
1995
+ /** Data */
1996
+ data: components["schemas"]["CategoricalAnnotationConfig"] | components["schemas"]["ContinuousAnnotationConfig"] | components["schemas"]["FreeformAnnotationConfig"];
1997
+ };
1998
+ /** DeleteSessionsRequestBody */
1999
+ DeleteSessionsRequestBody: {
2000
+ /**
2001
+ * Session Identifiers
2002
+ * @description List of session identifiers to delete. All identifiers must be the same type: either all GlobalIDs or all user-provided session_id strings.
2003
+ */
2004
+ session_identifiers: string[];
2005
+ };
2006
+ /**
2007
+ * DynamicToolApprovalRequestedPart
2008
+ * @description Dynamic tool part in approval-requested state (awaiting user decision).
2009
+ */
2010
+ DynamicToolApprovalRequestedPart: {
2011
+ /**
2012
+ * Type
2013
+ * @default dynamic-tool
2014
+ * @constant
2015
+ */
2016
+ type?: "dynamic-tool";
2017
+ /** Toolname */
2018
+ toolName: string;
2019
+ /** Toolcallid */
2020
+ toolCallId: string;
2021
+ /**
2022
+ * State
2023
+ * @default approval-requested
2024
+ * @constant
2025
+ */
2026
+ state?: "approval-requested";
2027
+ /** Input */
2028
+ input: unknown;
2029
+ /** Callprovidermetadata */
2030
+ callProviderMetadata?: {
2031
+ [key: string]: {
2032
+ [key: string]: unknown;
2033
+ };
2034
+ } | null;
2035
+ /** Approval */
2036
+ approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
2037
+ };
2038
+ /**
2039
+ * DynamicToolApprovalRespondedPart
2040
+ * @description Dynamic tool part in approval-responded state (user approved/denied, execution pending).
2041
+ */
2042
+ DynamicToolApprovalRespondedPart: {
2043
+ /**
2044
+ * Type
2045
+ * @default dynamic-tool
2046
+ * @constant
2047
+ */
2048
+ type?: "dynamic-tool";
2049
+ /** Toolname */
2050
+ toolName: string;
2051
+ /** Toolcallid */
2052
+ toolCallId: string;
2053
+ /**
2054
+ * State
2055
+ * @default approval-responded
2056
+ * @constant
2057
+ */
2058
+ state?: "approval-responded";
2059
+ /** Input */
2060
+ input: unknown;
2061
+ /** Callprovidermetadata */
2062
+ callProviderMetadata?: {
2063
+ [key: string]: {
2064
+ [key: string]: unknown;
2065
+ };
2066
+ } | null;
2067
+ /** Approval */
2068
+ approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
2069
+ };
2070
+ /**
2071
+ * DynamicToolInputAvailablePart
2072
+ * @description Dynamic tool part in input-available state.
2073
+ */
2074
+ DynamicToolInputAvailablePart: {
2075
+ /**
2076
+ * Type
2077
+ * @default dynamic-tool
2078
+ * @constant
2079
+ */
2080
+ type?: "dynamic-tool";
2081
+ /** Toolname */
2082
+ toolName: string;
2083
+ /** Toolcallid */
2084
+ toolCallId: string;
2085
+ /**
2086
+ * State
2087
+ * @default input-available
2088
+ * @constant
2089
+ */
2090
+ state?: "input-available";
2091
+ /** Input */
2092
+ input: unknown;
2093
+ /** Callprovidermetadata */
2094
+ callProviderMetadata?: {
2095
+ [key: string]: {
2096
+ [key: string]: unknown;
2097
+ };
2098
+ } | null;
2099
+ /** Approval */
2100
+ approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
1517
2101
  };
1518
- /** DatasetVersion */
1519
- DatasetVersion: {
1520
- /** Version Id */
1521
- version_id: string;
1522
- /** Description */
1523
- description: string | null;
1524
- /** Metadata */
1525
- metadata: {
1526
- [key: string]: unknown;
1527
- };
2102
+ /**
2103
+ * DynamicToolInputStreamingPart
2104
+ * @description Dynamic tool part in input-streaming state.
2105
+ */
2106
+ DynamicToolInputStreamingPart: {
1528
2107
  /**
1529
- * Created At
1530
- * Format: date-time
2108
+ * Type
2109
+ * @default dynamic-tool
2110
+ * @constant
1531
2111
  */
1532
- created_at: string;
2112
+ type?: "dynamic-tool";
2113
+ /** Toolname */
2114
+ toolName: string;
2115
+ /** Toolcallid */
2116
+ toolCallId: string;
2117
+ /**
2118
+ * State
2119
+ * @default input-streaming
2120
+ * @constant
2121
+ */
2122
+ state?: "input-streaming";
2123
+ /** Input */
2124
+ input?: unknown | null;
2125
+ /** Callprovidermetadata */
2126
+ callProviderMetadata?: {
2127
+ [key: string]: {
2128
+ [key: string]: unknown;
2129
+ };
2130
+ } | null;
2131
+ /** Approval */
2132
+ approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
1533
2133
  };
1534
- /** DatasetWithExampleCount */
1535
- DatasetWithExampleCount: {
1536
- /** Id */
1537
- id: string;
1538
- /** Name */
1539
- name: string;
1540
- /** Description */
1541
- description: string | null;
1542
- /** Metadata */
1543
- metadata: {
1544
- [key: string]: unknown;
1545
- };
2134
+ /**
2135
+ * DynamicToolOutputAvailablePart
2136
+ * @description Dynamic tool part in output-available state.
2137
+ */
2138
+ DynamicToolOutputAvailablePart: {
1546
2139
  /**
1547
- * Created At
1548
- * Format: date-time
2140
+ * Type
2141
+ * @default dynamic-tool
2142
+ * @constant
1549
2143
  */
1550
- created_at: string;
2144
+ type?: "dynamic-tool";
2145
+ /** Toolname */
2146
+ toolName: string;
2147
+ /** Toolcallid */
2148
+ toolCallId: string;
1551
2149
  /**
1552
- * Updated At
1553
- * Format: date-time
2150
+ * State
2151
+ * @default output-available
2152
+ * @constant
1554
2153
  */
1555
- updated_at: string;
1556
- /** Example Count */
1557
- example_count: number;
2154
+ state?: "output-available";
2155
+ /** Input */
2156
+ input: unknown;
2157
+ /** Output */
2158
+ output: unknown;
2159
+ /** Callprovidermetadata */
2160
+ callProviderMetadata?: {
2161
+ [key: string]: {
2162
+ [key: string]: unknown;
2163
+ };
2164
+ } | null;
2165
+ /** Preliminary */
2166
+ preliminary?: boolean | null;
2167
+ /** Approval */
2168
+ approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
1558
2169
  };
1559
- /** DeleteAnnotationConfigResponseBody */
1560
- DeleteAnnotationConfigResponseBody: {
1561
- /** Data */
1562
- data: components["schemas"]["CategoricalAnnotationConfig"] | components["schemas"]["ContinuousAnnotationConfig"] | components["schemas"]["FreeformAnnotationConfig"];
2170
+ /**
2171
+ * DynamicToolOutputDeniedPart
2172
+ * @description Dynamic tool part in output-denied state (tool was denied, terminal state).
2173
+ */
2174
+ DynamicToolOutputDeniedPart: {
2175
+ /**
2176
+ * Type
2177
+ * @default dynamic-tool
2178
+ * @constant
2179
+ */
2180
+ type?: "dynamic-tool";
2181
+ /** Toolname */
2182
+ toolName: string;
2183
+ /** Toolcallid */
2184
+ toolCallId: string;
2185
+ /**
2186
+ * State
2187
+ * @default output-denied
2188
+ * @constant
2189
+ */
2190
+ state?: "output-denied";
2191
+ /** Input */
2192
+ input: unknown;
2193
+ /** Callprovidermetadata */
2194
+ callProviderMetadata?: {
2195
+ [key: string]: {
2196
+ [key: string]: unknown;
2197
+ };
2198
+ } | null;
2199
+ /** Approval */
2200
+ approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
1563
2201
  };
1564
- /** DeleteSessionsRequestBody */
1565
- DeleteSessionsRequestBody: {
2202
+ /**
2203
+ * DynamicToolOutputErrorPart
2204
+ * @description Dynamic tool part in output-error state.
2205
+ */
2206
+ DynamicToolOutputErrorPart: {
1566
2207
  /**
1567
- * Session Identifiers
1568
- * @description List of session identifiers to delete. All identifiers must be the same type: either all GlobalIDs or all user-provided session_id strings.
2208
+ * Type
2209
+ * @default dynamic-tool
2210
+ * @constant
1569
2211
  */
1570
- session_identifiers: string[];
2212
+ type?: "dynamic-tool";
2213
+ /** Toolname */
2214
+ toolName: string;
2215
+ /** Toolcallid */
2216
+ toolCallId: string;
2217
+ /**
2218
+ * State
2219
+ * @default output-error
2220
+ * @constant
2221
+ */
2222
+ state?: "output-error";
2223
+ /** Input */
2224
+ input: unknown;
2225
+ /** Errortext */
2226
+ errorText: string;
2227
+ /** Callprovidermetadata */
2228
+ callProviderMetadata?: {
2229
+ [key: string]: {
2230
+ [key: string]: unknown;
2231
+ };
2232
+ } | null;
2233
+ /** Approval */
2234
+ approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
1571
2235
  };
1572
2236
  /** Experiment */
1573
2237
  Experiment: {
@@ -1704,6 +2368,30 @@ export interface components {
1704
2368
  */
1705
2369
  experiment_id: string;
1706
2370
  };
2371
+ /**
2372
+ * FileUIPart
2373
+ * @description A file part of a message.
2374
+ */
2375
+ FileUIPart: {
2376
+ /**
2377
+ * Type
2378
+ * @default file
2379
+ * @constant
2380
+ */
2381
+ type?: "file";
2382
+ /** Mediatype */
2383
+ mediaType: string;
2384
+ /** Filename */
2385
+ filename?: string | null;
2386
+ /** Url */
2387
+ url: string;
2388
+ /** Providermetadata */
2389
+ providerMetadata?: {
2390
+ [key: string]: {
2391
+ [key: string]: unknown;
2392
+ };
2393
+ } | null;
2394
+ };
1707
2395
  /** FreeformAnnotationConfig */
1708
2396
  FreeformAnnotationConfig: {
1709
2397
  /** Name */
@@ -2307,6 +2995,19 @@ export interface components {
2307
2995
  */
2308
2996
  message?: string | null;
2309
2997
  };
2998
+ /**
2999
+ * PlaygroundContext
3000
+ * @description Playground prompt editor state mounted in the current browser route.
3001
+ */
3002
+ PlaygroundContext: {
3003
+ /**
3004
+ * @description discriminator enum property added by openapi-typescript
3005
+ * @enum {string}
3006
+ */
3007
+ type: "playground";
3008
+ /** Instanceids */
3009
+ instanceIds: number[];
3010
+ };
2310
3011
  /** Project */
2311
3012
  Project: {
2312
3013
  /** Name */
@@ -2316,6 +3017,32 @@ export interface components {
2316
3017
  /** Id */
2317
3018
  id: string;
2318
3019
  };
3020
+ /**
3021
+ * ProjectContext
3022
+ * @description Project the user is currently viewing.
3023
+ *
3024
+ * ``span_filter`` carries the project-scoped span filter expression when the
3025
+ * span filter field is mounted — empty string when the field is mounted with
3026
+ * no condition applied, ``None`` when the field is not present at all.
3027
+ *
3028
+ * ``root_spans_only`` carries the current state of the spans-table root vs.
3029
+ * all toggle when that toggle is mounted — ``True`` when the table is
3030
+ * restricted to root spans, ``False`` when it shows every span, ``None``
3031
+ * when the toggle is not present (e.g. on the traces tab).
3032
+ */
3033
+ ProjectContext: {
3034
+ /**
3035
+ * @description discriminator enum property added by openapi-typescript
3036
+ * @enum {string}
3037
+ */
3038
+ type: "project";
3039
+ /** Projectnodeid */
3040
+ projectNodeId: string;
3041
+ /** Spanfilter */
3042
+ spanFilter?: string | null;
3043
+ /** Rootspansonly */
3044
+ rootSpansOnly?: boolean | null;
3045
+ };
2319
3046
  /** Prompt */
2320
3047
  Prompt: {
2321
3048
  name: components["schemas"]["Identifier"];
@@ -3073,6 +3800,28 @@ export interface components {
3073
3800
  [key: string]: unknown;
3074
3801
  };
3075
3802
  };
3803
+ /**
3804
+ * ReasoningUIPart
3805
+ * @description A reasoning part of a message.
3806
+ */
3807
+ ReasoningUIPart: {
3808
+ /**
3809
+ * Type
3810
+ * @default reasoning
3811
+ * @constant
3812
+ */
3813
+ type?: "reasoning";
3814
+ /** Text */
3815
+ text: string;
3816
+ /** State */
3817
+ state?: ("streaming" | "done") | null;
3818
+ /** Providermetadata */
3819
+ providerMetadata?: {
3820
+ [key: string]: {
3821
+ [key: string]: unknown;
3822
+ };
3823
+ } | null;
3824
+ };
3076
3825
  /** ResponseBody[UpsertOrDeleteSecretsResult] */
3077
3826
  ResponseBody_UpsertOrDeleteSecretsResult_: {
3078
3827
  data: components["schemas"]["UpsertOrDeleteSecretsResult"];
@@ -3253,6 +4002,56 @@ export interface components {
3253
4002
  */
3254
4003
  end_time: string;
3255
4004
  };
4005
+ /**
4006
+ * SourceDocumentUIPart
4007
+ * @description A document source part of a message.
4008
+ */
4009
+ SourceDocumentUIPart: {
4010
+ /**
4011
+ * Type
4012
+ * @default source-document
4013
+ * @constant
4014
+ */
4015
+ type?: "source-document";
4016
+ /** Sourceid */
4017
+ sourceId: string;
4018
+ /** Mediatype */
4019
+ mediaType: string;
4020
+ /** Title */
4021
+ title: string;
4022
+ /** Filename */
4023
+ filename?: string | null;
4024
+ /** Providermetadata */
4025
+ providerMetadata?: {
4026
+ [key: string]: {
4027
+ [key: string]: unknown;
4028
+ };
4029
+ } | null;
4030
+ };
4031
+ /**
4032
+ * SourceUrlUIPart
4033
+ * @description A source part of a message.
4034
+ */
4035
+ SourceUrlUIPart: {
4036
+ /**
4037
+ * Type
4038
+ * @default source-url
4039
+ * @constant
4040
+ */
4041
+ type?: "source-url";
4042
+ /** Sourceid */
4043
+ sourceId: string;
4044
+ /** Url */
4045
+ url: string;
4046
+ /** Title */
4047
+ title?: string | null;
4048
+ /** Providermetadata */
4049
+ providerMetadata?: {
4050
+ [key: string]: {
4051
+ [key: string]: unknown;
4052
+ };
4053
+ } | null;
4054
+ };
3256
4055
  /**
3257
4056
  * Span
3258
4057
  * @example {
@@ -3536,6 +4335,18 @@ export interface components {
3536
4335
  /** Next Cursor */
3537
4336
  next_cursor: string | null;
3538
4337
  };
4338
+ /**
4339
+ * StepStartUIPart
4340
+ * @description A step boundary part of a message.
4341
+ */
4342
+ StepStartUIPart: {
4343
+ /**
4344
+ * Type
4345
+ * @default step-start
4346
+ * @constant
4347
+ */
4348
+ type?: "step-start";
4349
+ };
3539
4350
  /** TextContentPart */
3540
4351
  TextContentPart: {
3541
4352
  /**
@@ -3546,6 +4357,104 @@ export interface components {
3546
4357
  /** Text */
3547
4358
  text: string;
3548
4359
  };
4360
+ /**
4361
+ * TextUIPart
4362
+ * @description A text part of a message.
4363
+ */
4364
+ TextUIPart: {
4365
+ /**
4366
+ * Type
4367
+ * @default text
4368
+ * @constant
4369
+ */
4370
+ type?: "text";
4371
+ /** Text */
4372
+ text: string;
4373
+ /** State */
4374
+ state?: ("streaming" | "done") | null;
4375
+ /** Providermetadata */
4376
+ providerMetadata?: {
4377
+ [key: string]: {
4378
+ [key: string]: unknown;
4379
+ };
4380
+ } | null;
4381
+ };
4382
+ /**
4383
+ * ToolApprovalRequested
4384
+ * @description Tool approval in requested state (awaiting user response).
4385
+ */
4386
+ ToolApprovalRequested: {
4387
+ /** Id */
4388
+ id: string;
4389
+ };
4390
+ /**
4391
+ * ToolApprovalRequestedPart
4392
+ * @description Tool part in approval-requested state (awaiting user decision).
4393
+ */
4394
+ ToolApprovalRequestedPart: {
4395
+ /** Type */
4396
+ type: string;
4397
+ /** Toolcallid */
4398
+ toolCallId: string;
4399
+ /**
4400
+ * State
4401
+ * @default approval-requested
4402
+ * @constant
4403
+ */
4404
+ state?: "approval-requested";
4405
+ /** Input */
4406
+ input?: unknown | null;
4407
+ /** Providerexecuted */
4408
+ providerExecuted?: boolean | null;
4409
+ /** Callprovidermetadata */
4410
+ callProviderMetadata?: {
4411
+ [key: string]: {
4412
+ [key: string]: unknown;
4413
+ };
4414
+ } | null;
4415
+ /** Approval */
4416
+ approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
4417
+ };
4418
+ /**
4419
+ * ToolApprovalResponded
4420
+ * @description Tool approval in responded state (user has approved or denied).
4421
+ */
4422
+ ToolApprovalResponded: {
4423
+ /** Id */
4424
+ id: string;
4425
+ /** Approved */
4426
+ approved: boolean;
4427
+ /** Reason */
4428
+ reason?: string | null;
4429
+ };
4430
+ /**
4431
+ * ToolApprovalRespondedPart
4432
+ * @description Tool part in approval-responded state (user approved/denied, execution pending).
4433
+ */
4434
+ ToolApprovalRespondedPart: {
4435
+ /** Type */
4436
+ type: string;
4437
+ /** Toolcallid */
4438
+ toolCallId: string;
4439
+ /**
4440
+ * State
4441
+ * @default approval-responded
4442
+ * @constant
4443
+ */
4444
+ state?: "approval-responded";
4445
+ /** Input */
4446
+ input?: unknown | null;
4447
+ /** Providerexecuted */
4448
+ providerExecuted?: boolean | null;
4449
+ /** Callprovidermetadata */
4450
+ callProviderMetadata?: {
4451
+ [key: string]: {
4452
+ [key: string]: unknown;
4453
+ };
4454
+ } | null;
4455
+ /** Approval */
4456
+ approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
4457
+ };
3549
4458
  /** ToolCallContentPart */
3550
4459
  ToolCallContentPart: {
3551
4460
  /**
@@ -3570,6 +4479,154 @@ export interface components {
3570
4479
  /** Arguments */
3571
4480
  arguments: string;
3572
4481
  };
4482
+ /**
4483
+ * ToolInputAvailablePart
4484
+ * @description Tool part in input-available state.
4485
+ */
4486
+ ToolInputAvailablePart: {
4487
+ /** Type */
4488
+ type: string;
4489
+ /** Toolcallid */
4490
+ toolCallId: string;
4491
+ /**
4492
+ * State
4493
+ * @default input-available
4494
+ * @constant
4495
+ */
4496
+ state?: "input-available";
4497
+ /** Input */
4498
+ input?: unknown | null;
4499
+ /** Providerexecuted */
4500
+ providerExecuted?: boolean | null;
4501
+ /** Callprovidermetadata */
4502
+ callProviderMetadata?: {
4503
+ [key: string]: {
4504
+ [key: string]: unknown;
4505
+ };
4506
+ } | null;
4507
+ /** Approval */
4508
+ approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
4509
+ };
4510
+ /**
4511
+ * ToolInputStreamingPart
4512
+ * @description Tool part in input-streaming state.
4513
+ */
4514
+ ToolInputStreamingPart: {
4515
+ /** Type */
4516
+ type: string;
4517
+ /** Toolcallid */
4518
+ toolCallId: string;
4519
+ /**
4520
+ * State
4521
+ * @default input-streaming
4522
+ * @constant
4523
+ */
4524
+ state?: "input-streaming";
4525
+ /** Input */
4526
+ input?: unknown | null;
4527
+ /** Providerexecuted */
4528
+ providerExecuted?: boolean | null;
4529
+ /** Callprovidermetadata */
4530
+ callProviderMetadata?: {
4531
+ [key: string]: {
4532
+ [key: string]: unknown;
4533
+ };
4534
+ } | null;
4535
+ /** Approval */
4536
+ approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
4537
+ };
4538
+ /**
4539
+ * ToolOutputAvailablePart
4540
+ * @description Tool part in output-available state.
4541
+ */
4542
+ ToolOutputAvailablePart: {
4543
+ /** Type */
4544
+ type: string;
4545
+ /** Toolcallid */
4546
+ toolCallId: string;
4547
+ /**
4548
+ * State
4549
+ * @default output-available
4550
+ * @constant
4551
+ */
4552
+ state?: "output-available";
4553
+ /** Input */
4554
+ input?: unknown | null;
4555
+ /** Output */
4556
+ output?: unknown | null;
4557
+ /** Providerexecuted */
4558
+ providerExecuted?: boolean | null;
4559
+ /** Callprovidermetadata */
4560
+ callProviderMetadata?: {
4561
+ [key: string]: {
4562
+ [key: string]: unknown;
4563
+ };
4564
+ } | null;
4565
+ /** Preliminary */
4566
+ preliminary?: boolean | null;
4567
+ /** Approval */
4568
+ approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
4569
+ };
4570
+ /**
4571
+ * ToolOutputDeniedPart
4572
+ * @description Tool part in output-denied state (tool was denied, terminal state).
4573
+ */
4574
+ ToolOutputDeniedPart: {
4575
+ /** Type */
4576
+ type: string;
4577
+ /** Toolcallid */
4578
+ toolCallId: string;
4579
+ /**
4580
+ * State
4581
+ * @default output-denied
4582
+ * @constant
4583
+ */
4584
+ state?: "output-denied";
4585
+ /** Input */
4586
+ input?: unknown | null;
4587
+ /** Providerexecuted */
4588
+ providerExecuted?: boolean | null;
4589
+ /** Callprovidermetadata */
4590
+ callProviderMetadata?: {
4591
+ [key: string]: {
4592
+ [key: string]: unknown;
4593
+ };
4594
+ } | null;
4595
+ /** Approval */
4596
+ approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
4597
+ };
4598
+ /**
4599
+ * ToolOutputErrorPart
4600
+ * @description Tool part in output-error state.
4601
+ */
4602
+ ToolOutputErrorPart: {
4603
+ /** Type */
4604
+ type: string;
4605
+ /** Toolcallid */
4606
+ toolCallId: string;
4607
+ /**
4608
+ * State
4609
+ * @default output-error
4610
+ * @constant
4611
+ */
4612
+ state?: "output-error";
4613
+ /** Input */
4614
+ input?: unknown | null;
4615
+ /** Rawinput */
4616
+ rawInput?: unknown | null;
4617
+ /** Errortext */
4618
+ errorText: string;
4619
+ /** Providerexecuted */
4620
+ providerExecuted?: boolean | null;
4621
+ /** Callprovidermetadata */
4622
+ callProviderMetadata?: {
4623
+ [key: string]: {
4624
+ [key: string]: unknown;
4625
+ };
4626
+ } | null;
4627
+ /** Approval */
4628
+ approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
4629
+ };
3573
4630
  /** ToolResultContentPart */
3574
4631
  ToolResultContentPart: {
3575
4632
  /**
@@ -3678,6 +4735,18 @@ export interface components {
3678
4735
  /** Next Cursor */
3679
4736
  next_cursor: string | null;
3680
4737
  };
4738
+ /** TraceContext */
4739
+ TraceContext: {
4740
+ /**
4741
+ * @description discriminator enum property added by openapi-typescript
4742
+ * @enum {string}
4743
+ */
4744
+ type: "trace";
4745
+ /** Projectnodeid */
4746
+ projectNodeId: string;
4747
+ /** Oteltraceid */
4748
+ otelTraceId: string;
4749
+ };
3681
4750
  /** TraceData */
3682
4751
  TraceData: {
3683
4752
  /** Id */
@@ -3750,10 +4819,27 @@ export interface components {
3750
4819
  */
3751
4820
  start_time: string;
3752
4821
  /**
3753
- * End Time
3754
- * Format: date-time
4822
+ * End Time
4823
+ * Format: date-time
4824
+ */
4825
+ end_time: string;
4826
+ };
4827
+ /**
4828
+ * UIMessage
4829
+ * @description A message as displayed in the UI by Vercel AI Elements.
4830
+ */
4831
+ UIMessage: {
4832
+ /** Id */
4833
+ id: string;
4834
+ /**
4835
+ * Role
4836
+ * @enum {string}
3755
4837
  */
3756
- end_time: string;
4838
+ role: "system" | "user" | "assistant";
4839
+ /** Metadata */
4840
+ metadata?: unknown | null;
4841
+ /** Parts */
4842
+ parts: (components["schemas"]["TextUIPart"] | components["schemas"]["ReasoningUIPart"] | components["schemas"]["ToolInputStreamingPart"] | components["schemas"]["ToolInputAvailablePart"] | components["schemas"]["ToolOutputAvailablePart"] | components["schemas"]["ToolOutputErrorPart"] | components["schemas"]["ToolApprovalRequestedPart"] | components["schemas"]["ToolApprovalRespondedPart"] | components["schemas"]["ToolOutputDeniedPart"] | components["schemas"]["DynamicToolInputStreamingPart"] | components["schemas"]["DynamicToolInputAvailablePart"] | components["schemas"]["DynamicToolOutputAvailablePart"] | components["schemas"]["DynamicToolOutputErrorPart"] | components["schemas"]["DynamicToolApprovalRequestedPart"] | components["schemas"]["DynamicToolApprovalRespondedPart"] | components["schemas"]["DynamicToolOutputDeniedPart"] | components["schemas"]["SourceUrlUIPart"] | components["schemas"]["SourceDocumentUIPart"] | components["schemas"]["FileUIPart"] | components["schemas"]["DataUIPart"] | components["schemas"]["StepStartUIPart"])[];
3757
4843
  };
3758
4844
  /** UpdateAnnotationConfigResponseBody */
3759
4845
  UpdateAnnotationConfigResponseBody: {
@@ -3879,6 +4965,32 @@ export interface components {
3879
4965
  /** Context */
3880
4966
  ctx?: Record<string, unknown>;
3881
4967
  };
4968
+ /**
4969
+ * _SummarizeRequest
4970
+ * @description Body for POST /agents/{agent_id}/sessions/{session_id}/summary.
4971
+ *
4972
+ * Carries the Vercel-style messages array; the backend owns the prompt and
4973
+ * the structured-output tool schema.
4974
+ */
4975
+ _SummarizeRequest: {
4976
+ /**
4977
+ * Ingesttraces
4978
+ * @default false
4979
+ */
4980
+ ingestTraces?: boolean;
4981
+ /**
4982
+ * Exportremotetraces
4983
+ * @default false
4984
+ */
4985
+ exportRemoteTraces?: boolean;
4986
+ /** Messages */
4987
+ messages: components["schemas"]["UIMessage"][];
4988
+ };
4989
+ /** _SummarizeResponse */
4990
+ _SummarizeResponse: {
4991
+ /** Summary */
4992
+ summary: string;
4993
+ };
3882
4994
  };
3883
4995
  responses: never;
3884
4996
  parameters: never;
@@ -7180,17 +8292,257 @@ export interface operations {
7180
8292
  };
7181
8293
  requestBody: {
7182
8294
  content: {
7183
- "application/json": components["schemas"]["AnnotateSpanDocumentsRequestBody"];
8295
+ "application/json": components["schemas"]["AnnotateSpanDocumentsRequestBody"];
8296
+ };
8297
+ };
8298
+ responses: {
8299
+ /** @description Span document annotation inserted successfully */
8300
+ 200: {
8301
+ headers: {
8302
+ [name: string]: unknown;
8303
+ };
8304
+ content: {
8305
+ "application/json": components["schemas"]["AnnotateSpanDocumentsResponseBody"];
8306
+ };
8307
+ };
8308
+ /** @description Forbidden */
8309
+ 403: {
8310
+ headers: {
8311
+ [name: string]: unknown;
8312
+ };
8313
+ content: {
8314
+ "text/plain": string;
8315
+ };
8316
+ };
8317
+ /** @description Span not found */
8318
+ 404: {
8319
+ headers: {
8320
+ [name: string]: unknown;
8321
+ };
8322
+ content: {
8323
+ "text/plain": string;
8324
+ };
8325
+ };
8326
+ /** @description Invalid request - non-empty identifier not supported */
8327
+ 422: {
8328
+ headers: {
8329
+ [name: string]: unknown;
8330
+ };
8331
+ content: {
8332
+ "text/plain": string;
8333
+ };
8334
+ };
8335
+ };
8336
+ };
8337
+ getViewer: {
8338
+ parameters: {
8339
+ query?: never;
8340
+ header?: never;
8341
+ path?: never;
8342
+ cookie?: never;
8343
+ };
8344
+ requestBody?: never;
8345
+ responses: {
8346
+ /** @description The authenticated user's profile. */
8347
+ 200: {
8348
+ headers: {
8349
+ [name: string]: unknown;
8350
+ };
8351
+ content: {
8352
+ "application/json": components["schemas"]["GetViewerResponseBody"];
8353
+ };
8354
+ };
8355
+ /** @description User not found. */
8356
+ 401: {
8357
+ headers: {
8358
+ [name: string]: unknown;
8359
+ };
8360
+ content: {
8361
+ "text/plain": string;
8362
+ };
8363
+ };
8364
+ /** @description Forbidden */
8365
+ 403: {
8366
+ headers: {
8367
+ [name: string]: unknown;
8368
+ };
8369
+ content: {
8370
+ "text/plain": string;
8371
+ };
8372
+ };
8373
+ };
8374
+ };
8375
+ getUsers: {
8376
+ parameters: {
8377
+ query?: {
8378
+ /** @description Cursor for pagination (base64-encoded user ID) */
8379
+ cursor?: string;
8380
+ /** @description The max number of users to return at a time. */
8381
+ limit?: number;
8382
+ };
8383
+ header?: never;
8384
+ path?: never;
8385
+ cookie?: never;
8386
+ };
8387
+ requestBody?: never;
8388
+ responses: {
8389
+ /** @description A list of users. */
8390
+ 200: {
8391
+ headers: {
8392
+ [name: string]: unknown;
8393
+ };
8394
+ content: {
8395
+ "application/json": components["schemas"]["GetUsersResponseBody"];
8396
+ };
8397
+ };
8398
+ /** @description Forbidden */
8399
+ 403: {
8400
+ headers: {
8401
+ [name: string]: unknown;
8402
+ };
8403
+ content: {
8404
+ "text/plain": string;
8405
+ };
8406
+ };
8407
+ /** @description Unprocessable Entity */
8408
+ 422: {
8409
+ headers: {
8410
+ [name: string]: unknown;
8411
+ };
8412
+ content: {
8413
+ "text/plain": string;
8414
+ };
8415
+ };
8416
+ };
8417
+ };
8418
+ createUser: {
8419
+ parameters: {
8420
+ query?: never;
8421
+ header?: never;
8422
+ path?: never;
8423
+ cookie?: never;
8424
+ };
8425
+ requestBody: {
8426
+ content: {
8427
+ "application/json": components["schemas"]["CreateUserRequestBody"];
8428
+ };
8429
+ };
8430
+ responses: {
8431
+ /** @description The newly created user. */
8432
+ 201: {
8433
+ headers: {
8434
+ [name: string]: unknown;
8435
+ };
8436
+ content: {
8437
+ "application/json": components["schemas"]["CreateUserResponseBody"];
8438
+ };
8439
+ };
8440
+ /** @description Role not found. */
8441
+ 400: {
8442
+ headers: {
8443
+ [name: string]: unknown;
8444
+ };
8445
+ content: {
8446
+ "text/plain": string;
8447
+ };
8448
+ };
8449
+ /** @description Forbidden */
8450
+ 403: {
8451
+ headers: {
8452
+ [name: string]: unknown;
8453
+ };
8454
+ content: {
8455
+ "text/plain": string;
8456
+ };
8457
+ };
8458
+ /** @description Username or email already exists. */
8459
+ 409: {
8460
+ headers: {
8461
+ [name: string]: unknown;
8462
+ };
8463
+ content: {
8464
+ "text/plain": string;
8465
+ };
8466
+ };
8467
+ /** @description Unprocessable Entity */
8468
+ 422: {
8469
+ headers: {
8470
+ [name: string]: unknown;
8471
+ };
8472
+ content: {
8473
+ "text/plain": string;
8474
+ };
8475
+ };
8476
+ };
8477
+ };
8478
+ deleteUser: {
8479
+ parameters: {
8480
+ query?: never;
8481
+ header?: never;
8482
+ path: {
8483
+ /** @description The GlobalID of the user (e.g. 'VXNlcjox'). */
8484
+ user_id: string;
8485
+ };
8486
+ cookie?: never;
8487
+ };
8488
+ requestBody?: never;
8489
+ responses: {
8490
+ /** @description No content returned on successful deletion. */
8491
+ 204: {
8492
+ headers: {
8493
+ [name: string]: unknown;
8494
+ };
8495
+ content?: never;
8496
+ };
8497
+ /** @description Cannot delete the default admin or system user */
8498
+ 403: {
8499
+ headers: {
8500
+ [name: string]: unknown;
8501
+ };
8502
+ content: {
8503
+ "text/plain": string;
8504
+ };
8505
+ };
8506
+ /** @description User not found. */
8507
+ 404: {
8508
+ headers: {
8509
+ [name: string]: unknown;
8510
+ };
8511
+ content: {
8512
+ "text/plain": string;
8513
+ };
8514
+ };
8515
+ /** @description Unprocessable Entity */
8516
+ 422: {
8517
+ headers: {
8518
+ [name: string]: unknown;
8519
+ };
8520
+ content: {
8521
+ "text/plain": string;
8522
+ };
8523
+ };
8524
+ };
8525
+ };
8526
+ upsertOrDeleteSecrets: {
8527
+ parameters: {
8528
+ query?: never;
8529
+ header?: never;
8530
+ path?: never;
8531
+ cookie?: never;
8532
+ };
8533
+ requestBody: {
8534
+ content: {
8535
+ "application/json": components["schemas"]["UpsertOrDeleteSecretsRequest"];
7184
8536
  };
7185
8537
  };
7186
8538
  responses: {
7187
- /** @description Span document annotation inserted successfully */
8539
+ /** @description Successful Response */
7188
8540
  200: {
7189
8541
  headers: {
7190
8542
  [name: string]: unknown;
7191
8543
  };
7192
8544
  content: {
7193
- "application/json": components["schemas"]["AnnotateSpanDocumentsResponseBody"];
8545
+ "application/json": components["schemas"]["ResponseBody_UpsertOrDeleteSecretsResult_"];
7194
8546
  };
7195
8547
  };
7196
8548
  /** @description Forbidden */
@@ -7202,8 +8554,8 @@ export interface operations {
7202
8554
  "text/plain": string;
7203
8555
  };
7204
8556
  };
7205
- /** @description Span not found */
7206
- 404: {
8557
+ /** @description Unprocessable Entity */
8558
+ 422: {
7207
8559
  headers: {
7208
8560
  [name: string]: unknown;
7209
8561
  };
@@ -7211,8 +8563,8 @@ export interface operations {
7211
8563
  "text/plain": string;
7212
8564
  };
7213
8565
  };
7214
- /** @description Invalid request - non-empty identifier not supported */
7215
- 422: {
8566
+ /** @description Insufficient Storage */
8567
+ 507: {
7216
8568
  headers: {
7217
8569
  [name: string]: unknown;
7218
8570
  };
@@ -7222,7 +8574,7 @@ export interface operations {
7222
8574
  };
7223
8575
  };
7224
8576
  };
7225
- getViewer: {
8577
+ _login_auth_login_post: {
7226
8578
  parameters: {
7227
8579
  query?: never;
7228
8580
  header?: never;
@@ -7231,196 +8583,284 @@ export interface operations {
7231
8583
  };
7232
8584
  requestBody?: never;
7233
8585
  responses: {
7234
- /** @description The authenticated user's profile. */
8586
+ /** @description Successful Response */
7235
8587
  200: {
7236
8588
  headers: {
7237
8589
  [name: string]: unknown;
7238
8590
  };
7239
8591
  content: {
7240
- "application/json": components["schemas"]["GetViewerResponseBody"];
7241
- };
7242
- };
7243
- /** @description User not found. */
7244
- 401: {
7245
- headers: {
7246
- [name: string]: unknown;
7247
- };
7248
- content: {
7249
- "text/plain": string;
8592
+ "application/json": unknown;
7250
8593
  };
7251
8594
  };
7252
- /** @description Forbidden */
7253
- 403: {
8595
+ };
8596
+ };
8597
+ _logout_auth_logout_get: {
8598
+ parameters: {
8599
+ query?: never;
8600
+ header?: never;
8601
+ path?: never;
8602
+ cookie?: never;
8603
+ };
8604
+ requestBody?: never;
8605
+ responses: {
8606
+ /** @description Successful Response */
8607
+ 200: {
7254
8608
  headers: {
7255
8609
  [name: string]: unknown;
7256
8610
  };
7257
8611
  content: {
7258
- "text/plain": string;
8612
+ "application/json": unknown;
7259
8613
  };
7260
8614
  };
7261
8615
  };
7262
8616
  };
7263
- getUsers: {
8617
+ _refresh_tokens_auth_refresh_post: {
7264
8618
  parameters: {
7265
- query?: {
7266
- /** @description Cursor for pagination (base64-encoded user ID) */
7267
- cursor?: string;
7268
- /** @description The max number of users to return at a time. */
7269
- limit?: number;
7270
- };
8619
+ query?: never;
7271
8620
  header?: never;
7272
8621
  path?: never;
7273
8622
  cookie?: never;
7274
8623
  };
7275
8624
  requestBody?: never;
7276
8625
  responses: {
7277
- /** @description A list of users. */
8626
+ /** @description Successful Response */
7278
8627
  200: {
7279
8628
  headers: {
7280
8629
  [name: string]: unknown;
7281
8630
  };
7282
8631
  content: {
7283
- "application/json": components["schemas"]["GetUsersResponseBody"];
8632
+ "application/json": unknown;
7284
8633
  };
7285
8634
  };
7286
- /** @description Forbidden */
7287
- 403: {
8635
+ };
8636
+ };
8637
+ _initiate_password_reset_auth_password_reset_email_post: {
8638
+ parameters: {
8639
+ query?: never;
8640
+ header?: never;
8641
+ path?: never;
8642
+ cookie?: never;
8643
+ };
8644
+ requestBody?: never;
8645
+ responses: {
8646
+ /** @description Successful Response */
8647
+ 200: {
7288
8648
  headers: {
7289
8649
  [name: string]: unknown;
7290
8650
  };
7291
8651
  content: {
7292
- "text/plain": string;
8652
+ "application/json": unknown;
7293
8653
  };
7294
8654
  };
7295
- /** @description Unprocessable Entity */
7296
- 422: {
8655
+ };
8656
+ };
8657
+ _reset_password_auth_password_reset_post: {
8658
+ parameters: {
8659
+ query?: never;
8660
+ header?: never;
8661
+ path?: never;
8662
+ cookie?: never;
8663
+ };
8664
+ requestBody?: never;
8665
+ responses: {
8666
+ /** @description Successful Response */
8667
+ 200: {
7297
8668
  headers: {
7298
8669
  [name: string]: unknown;
7299
8670
  };
7300
8671
  content: {
7301
- "text/plain": string;
8672
+ "application/json": unknown;
7302
8673
  };
7303
8674
  };
7304
8675
  };
7305
8676
  };
7306
- createUser: {
8677
+ _ldap_login_auth_ldap_login_post: {
7307
8678
  parameters: {
7308
8679
  query?: never;
7309
8680
  header?: never;
7310
8681
  path?: never;
7311
8682
  cookie?: never;
7312
8683
  };
7313
- requestBody: {
7314
- content: {
7315
- "application/json": components["schemas"]["CreateUserRequestBody"];
7316
- };
7317
- };
8684
+ requestBody?: never;
7318
8685
  responses: {
7319
- /** @description The newly created user. */
7320
- 201: {
8686
+ /** @description Successful Response */
8687
+ 200: {
7321
8688
  headers: {
7322
8689
  [name: string]: unknown;
7323
8690
  };
7324
8691
  content: {
7325
- "application/json": components["schemas"]["CreateUserResponseBody"];
8692
+ "application/json": unknown;
7326
8693
  };
7327
8694
  };
7328
- /** @description Role not found. */
7329
- 400: {
8695
+ };
8696
+ };
8697
+ login_oauth2__idp_name__login_get: {
8698
+ parameters: {
8699
+ query?: {
8700
+ returnUrl?: string | null;
8701
+ };
8702
+ header?: never;
8703
+ path: {
8704
+ idp_name: string;
8705
+ };
8706
+ cookie?: never;
8707
+ };
8708
+ requestBody?: never;
8709
+ responses: {
8710
+ /** @description Successful Response */
8711
+ 200: {
7330
8712
  headers: {
7331
8713
  [name: string]: unknown;
7332
8714
  };
7333
8715
  content: {
7334
- "text/plain": string;
8716
+ "application/json": unknown;
7335
8717
  };
7336
8718
  };
7337
- /** @description Forbidden */
7338
- 403: {
8719
+ /** @description Validation Error */
8720
+ 422: {
7339
8721
  headers: {
7340
8722
  [name: string]: unknown;
7341
8723
  };
7342
8724
  content: {
7343
- "text/plain": string;
8725
+ "application/json": components["schemas"]["HTTPValidationError"];
7344
8726
  };
7345
8727
  };
7346
- /** @description Username or email already exists. */
7347
- 409: {
8728
+ };
8729
+ };
8730
+ login_oauth2__idp_name__login_post: {
8731
+ parameters: {
8732
+ query?: {
8733
+ returnUrl?: string | null;
8734
+ };
8735
+ header?: never;
8736
+ path: {
8737
+ idp_name: string;
8738
+ };
8739
+ cookie?: never;
8740
+ };
8741
+ requestBody?: never;
8742
+ responses: {
8743
+ /** @description Successful Response */
8744
+ 200: {
7348
8745
  headers: {
7349
8746
  [name: string]: unknown;
7350
8747
  };
7351
8748
  content: {
7352
- "text/plain": string;
8749
+ "application/json": unknown;
7353
8750
  };
7354
8751
  };
7355
- /** @description Unprocessable Entity */
8752
+ /** @description Validation Error */
7356
8753
  422: {
7357
8754
  headers: {
7358
8755
  [name: string]: unknown;
7359
8756
  };
7360
8757
  content: {
7361
- "text/plain": string;
8758
+ "application/json": components["schemas"]["HTTPValidationError"];
7362
8759
  };
7363
8760
  };
7364
8761
  };
7365
8762
  };
7366
- deleteUser: {
8763
+ create_tokens_oauth2__idp_name__tokens_get: {
7367
8764
  parameters: {
7368
- query?: never;
8765
+ query: {
8766
+ state: string;
8767
+ code?: string | null;
8768
+ error?: string | null;
8769
+ error_description?: string | null;
8770
+ };
7369
8771
  header?: never;
7370
8772
  path: {
7371
- /** @description The GlobalID of the user (e.g. 'VXNlcjox'). */
7372
- user_id: string;
8773
+ idp_name: string;
8774
+ };
8775
+ cookie: {
8776
+ "phoenix-oauth2-state": string;
8777
+ "phoenix-oauth2-nonce": string;
8778
+ "phoenix-oauth2-code-verifier"?: string | null;
7373
8779
  };
7374
- cookie?: never;
7375
8780
  };
7376
8781
  requestBody?: never;
7377
8782
  responses: {
7378
- /** @description No content returned on successful deletion. */
7379
- 204: {
8783
+ /** @description Successful Response */
8784
+ 200: {
7380
8785
  headers: {
7381
8786
  [name: string]: unknown;
7382
8787
  };
7383
- content?: never;
8788
+ content: {
8789
+ "application/json": unknown;
8790
+ };
7384
8791
  };
7385
- /** @description Cannot delete the default admin or system user */
7386
- 403: {
8792
+ /** @description Validation Error */
8793
+ 422: {
7387
8794
  headers: {
7388
8795
  [name: string]: unknown;
7389
8796
  };
7390
8797
  content: {
7391
- "text/plain": string;
8798
+ "application/json": components["schemas"]["HTTPValidationError"];
7392
8799
  };
7393
8800
  };
7394
- /** @description User not found. */
7395
- 404: {
8801
+ };
8802
+ };
8803
+ chat_agents__agent_id__sessions__session_id__chat_post: {
8804
+ parameters: {
8805
+ query: {
8806
+ provider_type: "custom" | "builtin";
8807
+ model_name: string;
8808
+ provider_id?: string | null;
8809
+ provider?: components["schemas"]["ModelProvider"] | null;
8810
+ openai_api_type?: "chat_completions" | "responses";
8811
+ };
8812
+ header?: never;
8813
+ path: {
8814
+ agent_id: string;
8815
+ session_id: string;
8816
+ };
8817
+ cookie?: never;
8818
+ };
8819
+ requestBody: {
8820
+ content: {
8821
+ "application/json": components["schemas"]["ChatRequest"];
8822
+ };
8823
+ };
8824
+ responses: {
8825
+ /** @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. */
8826
+ 200: {
7396
8827
  headers: {
7397
8828
  [name: string]: unknown;
7398
8829
  };
7399
8830
  content: {
7400
- "text/plain": string;
8831
+ "application/json": components["schemas"]["AssistantMessageMetadata"];
7401
8832
  };
7402
8833
  };
7403
- /** @description Unprocessable Entity */
8834
+ /** @description Validation Error */
7404
8835
  422: {
7405
8836
  headers: {
7406
8837
  [name: string]: unknown;
7407
8838
  };
7408
8839
  content: {
7409
- "text/plain": string;
8840
+ "application/json": components["schemas"]["HTTPValidationError"];
7410
8841
  };
7411
8842
  };
7412
8843
  };
7413
8844
  };
7414
- upsertOrDeleteSecrets: {
8845
+ summarize_endpoint_agents__agent_id__sessions__session_id__summary_post: {
7415
8846
  parameters: {
7416
- query?: never;
8847
+ query: {
8848
+ provider_type: "custom" | "builtin";
8849
+ model_name: string;
8850
+ provider_id?: string | null;
8851
+ provider?: components["schemas"]["ModelProvider"] | null;
8852
+ openai_api_type?: "chat_completions" | "responses";
8853
+ };
7417
8854
  header?: never;
7418
- path?: never;
8855
+ path: {
8856
+ agent_id: string;
8857
+ session_id: string;
8858
+ };
7419
8859
  cookie?: never;
7420
8860
  };
7421
8861
  requestBody: {
7422
8862
  content: {
7423
- "application/json": components["schemas"]["UpsertOrDeleteSecretsRequest"];
8863
+ "application/json": components["schemas"]["_SummarizeRequest"];
7424
8864
  };
7425
8865
  };
7426
8866
  responses: {
@@ -7430,34 +8870,76 @@ export interface operations {
7430
8870
  [name: string]: unknown;
7431
8871
  };
7432
8872
  content: {
7433
- "application/json": components["schemas"]["ResponseBody_UpsertOrDeleteSecretsResult_"];
8873
+ "application/json": components["schemas"]["_SummarizeResponse"];
7434
8874
  };
7435
8875
  };
7436
- /** @description Forbidden */
7437
- 403: {
8876
+ /** @description Validation Error */
8877
+ 422: {
7438
8878
  headers: {
7439
8879
  [name: string]: unknown;
7440
8880
  };
7441
8881
  content: {
7442
- "text/plain": string;
8882
+ "application/json": components["schemas"]["HTTPValidationError"];
7443
8883
  };
7444
8884
  };
7445
- /** @description Unprocessable Entity */
7446
- 422: {
8885
+ };
8886
+ };
8887
+ version_arize_phoenix_version_get: {
8888
+ parameters: {
8889
+ query?: never;
8890
+ header?: never;
8891
+ path?: never;
8892
+ cookie?: never;
8893
+ };
8894
+ requestBody?: never;
8895
+ responses: {
8896
+ /** @description Successful Response */
8897
+ 200: {
7447
8898
  headers: {
7448
8899
  [name: string]: unknown;
7449
8900
  };
7450
8901
  content: {
7451
- "text/plain": string;
8902
+ "application/json": unknown;
7452
8903
  };
7453
8904
  };
7454
- /** @description Insufficient Storage */
7455
- 507: {
8905
+ };
8906
+ };
8907
+ check_healthz_healthz_get: {
8908
+ parameters: {
8909
+ query?: never;
8910
+ header?: never;
8911
+ path?: never;
8912
+ cookie?: never;
8913
+ };
8914
+ requestBody?: never;
8915
+ responses: {
8916
+ /** @description Successful Response */
8917
+ 200: {
7456
8918
  headers: {
7457
8919
  [name: string]: unknown;
7458
8920
  };
7459
8921
  content: {
7460
- "text/plain": string;
8922
+ "application/json": unknown;
8923
+ };
8924
+ };
8925
+ };
8926
+ };
8927
+ check_readyz_readyz_get: {
8928
+ parameters: {
8929
+ query?: never;
8930
+ header?: never;
8931
+ path?: never;
8932
+ cookie?: never;
8933
+ };
8934
+ requestBody?: never;
8935
+ responses: {
8936
+ /** @description Successful Response */
8937
+ 200: {
8938
+ headers: {
8939
+ [name: string]: unknown;
8940
+ };
8941
+ content: {
8942
+ "application/json": unknown;
7461
8943
  };
7462
8944
  };
7463
8945
  };