@arizeai/phoenix-client 6.9.3 → 6.10.1

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 (83) hide show
  1. package/dist/esm/__generated__/api/v1.d.ts +323 -47
  2. package/dist/esm/__generated__/api/v1.d.ts.map +1 -1
  3. package/dist/esm/constants/serverRequirements.d.ts +3 -0
  4. package/dist/esm/constants/serverRequirements.d.ts.map +1 -1
  5. package/dist/esm/constants/serverRequirements.js +24 -0
  6. package/dist/esm/constants/serverRequirements.js.map +1 -1
  7. package/dist/esm/experiments/helpers/getExampleGlobalId.d.ts +8 -0
  8. package/dist/esm/experiments/helpers/getExampleGlobalId.d.ts.map +1 -0
  9. package/dist/esm/experiments/helpers/getExampleGlobalId.js +9 -0
  10. package/dist/esm/experiments/helpers/getExampleGlobalId.js.map +1 -0
  11. package/dist/esm/experiments/resumeEvaluation.d.ts.map +1 -1
  12. package/dist/esm/experiments/resumeEvaluation.js +2 -1
  13. package/dist/esm/experiments/resumeEvaluation.js.map +1 -1
  14. package/dist/esm/experiments/resumeExperiment.d.ts.map +1 -1
  15. package/dist/esm/experiments/resumeExperiment.js +3 -2
  16. package/dist/esm/experiments/resumeExperiment.js.map +1 -1
  17. package/dist/esm/experiments/runExperiment.d.ts.map +1 -1
  18. package/dist/esm/experiments/runExperiment.js +6 -3
  19. package/dist/esm/experiments/runExperiment.js.map +1 -1
  20. package/dist/esm/sessions/addSessionNote.d.ts +11 -2
  21. package/dist/esm/sessions/addSessionNote.d.ts.map +1 -1
  22. package/dist/esm/sessions/addSessionNote.js +12 -3
  23. package/dist/esm/sessions/addSessionNote.js.map +1 -1
  24. package/dist/esm/spans/addSpanNote.d.ts +11 -5
  25. package/dist/esm/spans/addSpanNote.d.ts.map +1 -1
  26. package/dist/esm/spans/addSpanNote.js +13 -5
  27. package/dist/esm/spans/addSpanNote.js.map +1 -1
  28. package/dist/esm/spans/getSpanAnnotations.d.ts +1 -1
  29. package/dist/esm/spans/getSpanAnnotations.d.ts.map +1 -1
  30. package/dist/esm/traces/addTraceNote.d.ts +11 -5
  31. package/dist/esm/traces/addTraceNote.d.ts.map +1 -1
  32. package/dist/esm/traces/addTraceNote.js +12 -6
  33. package/dist/esm/traces/addTraceNote.js.map +1 -1
  34. package/dist/esm/tsconfig.esm.tsbuildinfo +1 -1
  35. package/dist/esm/utils/formatPromptMessages.d.ts.map +1 -1
  36. package/dist/esm/utils/getPromptBySelector.d.ts.map +1 -1
  37. package/dist/src/__generated__/api/v1.d.ts +323 -47
  38. package/dist/src/__generated__/api/v1.d.ts.map +1 -1
  39. package/dist/src/constants/serverRequirements.d.ts +3 -0
  40. package/dist/src/constants/serverRequirements.d.ts.map +1 -1
  41. package/dist/src/constants/serverRequirements.js +25 -1
  42. package/dist/src/constants/serverRequirements.js.map +1 -1
  43. package/dist/src/experiments/helpers/getExampleGlobalId.d.ts +8 -0
  44. package/dist/src/experiments/helpers/getExampleGlobalId.d.ts.map +1 -0
  45. package/dist/src/experiments/helpers/getExampleGlobalId.js +13 -0
  46. package/dist/src/experiments/helpers/getExampleGlobalId.js.map +1 -0
  47. package/dist/src/experiments/resumeEvaluation.d.ts.map +1 -1
  48. package/dist/src/experiments/resumeEvaluation.js +2 -1
  49. package/dist/src/experiments/resumeEvaluation.js.map +1 -1
  50. package/dist/src/experiments/resumeExperiment.d.ts.map +1 -1
  51. package/dist/src/experiments/resumeExperiment.js +3 -2
  52. package/dist/src/experiments/resumeExperiment.js.map +1 -1
  53. package/dist/src/experiments/runExperiment.d.ts.map +1 -1
  54. package/dist/src/experiments/runExperiment.js +6 -3
  55. package/dist/src/experiments/runExperiment.js.map +1 -1
  56. package/dist/src/sessions/addSessionNote.d.ts +11 -2
  57. package/dist/src/sessions/addSessionNote.d.ts.map +1 -1
  58. package/dist/src/sessions/addSessionNote.js +11 -2
  59. package/dist/src/sessions/addSessionNote.js.map +1 -1
  60. package/dist/src/spans/addSpanNote.d.ts +11 -5
  61. package/dist/src/spans/addSpanNote.d.ts.map +1 -1
  62. package/dist/src/spans/addSpanNote.js +13 -5
  63. package/dist/src/spans/addSpanNote.js.map +1 -1
  64. package/dist/src/spans/getSpanAnnotations.d.ts +1 -1
  65. package/dist/src/spans/getSpanAnnotations.d.ts.map +1 -1
  66. package/dist/src/traces/addTraceNote.d.ts +11 -5
  67. package/dist/src/traces/addTraceNote.d.ts.map +1 -1
  68. package/dist/src/traces/addTraceNote.js +11 -5
  69. package/dist/src/traces/addTraceNote.js.map +1 -1
  70. package/dist/src/utils/formatPromptMessages.d.ts.map +1 -1
  71. package/dist/src/utils/getPromptBySelector.d.ts.map +1 -1
  72. package/dist/tsconfig.tsbuildinfo +1 -1
  73. package/package.json +1 -1
  74. package/src/__generated__/api/v1.ts +323 -47
  75. package/src/constants/serverRequirements.ts +27 -0
  76. package/src/experiments/helpers/getExampleGlobalId.ts +12 -0
  77. package/src/experiments/resumeEvaluation.ts +2 -1
  78. package/src/experiments/resumeExperiment.ts +3 -2
  79. package/src/experiments/runExperiment.ts +6 -3
  80. package/src/sessions/addSessionNote.ts +22 -3
  81. package/src/spans/addSpanNote.ts +20 -5
  82. package/src/spans/getSpanAnnotations.ts +1 -1
  83. package/src/traces/addTraceNote.ts +22 -6
@@ -573,7 +573,7 @@ export interface paths {
573
573
  put?: never;
574
574
  /**
575
575
  * Create a trace note
576
- * @description Add a note annotation to a trace. Each call appends a new note with an auto-generated UUIDv4 identifier, so multiple notes accumulate on the same trace. Structured annotations, by contrast, are keyed by (name, trace_id, identifier) — re-writing the same key overwrites the existing annotation, so to keep multiple structured annotations with the same name on a trace you must supply distinct identifiers.
576
+ * @description Add a note annotation to a trace. By default each call appends a new note with an auto-generated UUIDv4 identifier, so multiple notes accumulate on the same trace. Callers may supply a non-empty `identifier` to upsert on (trace_id, name='note', identifier) — repeated calls with the same identifier overwrite the existing note, matching the semantics of structured annotations.
577
577
  */
578
578
  post: operations["createTraceNote"];
579
579
  delete?: never;
@@ -678,7 +678,7 @@ export interface paths {
678
678
  put?: never;
679
679
  /**
680
680
  * Create a span note
681
- * @description Add a note annotation to a span. Each call appends a new note with an auto-generated UUIDv4 identifier, so multiple notes accumulate on the same span. Structured annotations, by contrast, are keyed by (name, span_id, identifier) — re-writing the same key overwrites the existing annotation, so to keep multiple structured annotations with the same name on a span you must supply distinct identifiers.
681
+ * @description Add a note annotation to a span. By default each call appends a new note with an auto-generated UUIDv4 identifier, so multiple notes accumulate on the same span. Callers may supply a non-empty `identifier` to upsert on (span_id, name='note', identifier) — repeated calls with the same identifier overwrite the existing note, matching the semantics of structured annotations.
682
682
  */
683
683
  post: operations["createSpanNote"];
684
684
  delete?: never;
@@ -1029,7 +1029,7 @@ export interface paths {
1029
1029
  put?: never;
1030
1030
  /**
1031
1031
  * Create a session note
1032
- * @description Add a note annotation to a session. Each call appends a new note with an auto-generated UUIDv4 identifier, so multiple notes accumulate on the same session. Structured annotations, by contrast, are keyed by (name, session_id, identifier) — re-writing the same key overwrites the existing annotation, so to keep multiple structured annotations with the same name on a session you must supply distinct identifiers.
1032
+ * @description Add a note annotation to a session. By default each call appends a new note with an auto-generated UUIDv4 identifier, so multiple notes accumulate on the same session. Callers may supply a non-empty `identifier` to upsert on (session_id, name='note', identifier) — repeated calls with the same identifier overwrite the existing note, matching the semantics of structured annotations.
1033
1033
  */
1034
1034
  post: operations["createSessionNote"];
1035
1035
  delete?: never;
@@ -1383,22 +1383,6 @@ export interface paths {
1383
1383
  export type webhooks = Record<string, never>;
1384
1384
  export interface components {
1385
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
1386
  /**
1403
1387
  * AgentSpanContext
1404
1388
  * @description Span the user has selected.
@@ -1558,6 +1542,31 @@ export interface components {
1558
1542
  /** Parts */
1559
1543
  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
1544
  };
1545
+ /**
1546
+ * BuiltInProviderModelSelection
1547
+ * @description Chat against a Phoenix built-in provider.
1548
+ *
1549
+ * Credentials and connection details (base URL, Azure endpoint, AWS
1550
+ * region) are resolved from the secret store first and the process
1551
+ * environment second. ``openai_api_type`` is honoured by the OpenAI and
1552
+ * Azure OpenAI branches; other providers ignore it.
1553
+ */
1554
+ BuiltInProviderModelSelection: {
1555
+ /**
1556
+ * @description discriminator enum property added by openapi-typescript
1557
+ * @enum {string}
1558
+ */
1559
+ providerType: "builtin";
1560
+ provider: components["schemas"]["ModelProvider"];
1561
+ /** Modelname */
1562
+ modelName: string;
1563
+ /**
1564
+ * Openaiapitype
1565
+ * @default responses
1566
+ * @enum {string}
1567
+ */
1568
+ openaiApiType?: "chat_completions" | "responses";
1569
+ };
1561
1570
  /** CategoricalAnnotationConfig */
1562
1571
  CategoricalAnnotationConfig: {
1563
1572
  /** Name */
@@ -1600,12 +1609,8 @@ export interface components {
1600
1609
  /**
1601
1610
  * ChatContext
1602
1611
  * @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
1612
  */
1608
- ChatContext: components["schemas"]["AppContext"] | components["schemas"]["ProjectContext"] | components["schemas"]["TraceContext"] | components["schemas"]["AgentSpanContext"] | components["schemas"]["PlaygroundContext"];
1613
+ ChatContext: components["schemas"]["AppContext"] | components["schemas"]["ProjectContext"] | components["schemas"]["TraceContext"] | components["schemas"]["AgentSpanContext"] | components["schemas"]["PlaygroundContext"] | components["schemas"]["CodeEvaluatorContext"] | components["schemas"]["LlmEvaluatorContext"] | components["schemas"]["DatasetContext"] | components["schemas"]["GraphQLContext"] | components["schemas"]["WebAccessContext"];
1609
1614
  /**
1610
1615
  * ChatRegenerateMessage
1611
1616
  * @description Regenerate message extended with Phoenix-specific fields.
@@ -1634,7 +1639,19 @@ export interface components {
1634
1639
  exportRemoteTraces?: boolean;
1635
1640
  /** Contexts */
1636
1641
  contexts?: components["schemas"]["ChatContext"][];
1637
- capabilities?: components["schemas"]["AgentCapabilities"];
1642
+ /**
1643
+ * Editpermission
1644
+ * @default manual
1645
+ * @enum {string}
1646
+ */
1647
+ editPermission?: "manual" | "bypass";
1648
+ /**
1649
+ * Requestedskills
1650
+ * @description Skills the user explicitly requested via the prompt's slash-command affordance. The server force-loads each available skill by injecting a synthetic load_skill tool call/result at the tail of the message history. Unknown or context-unavailable names are ignored.
1651
+ */
1652
+ requestedSkills?: string[];
1653
+ /** Model */
1654
+ model: components["schemas"]["CustomProviderModelSelection"] | components["schemas"]["BuiltInProviderModelSelection"];
1638
1655
  } & {
1639
1656
  [key: string]: unknown;
1640
1657
  };
@@ -1669,10 +1686,35 @@ export interface components {
1669
1686
  exportRemoteTraces?: boolean;
1670
1687
  /** Contexts */
1671
1688
  contexts?: components["schemas"]["ChatContext"][];
1672
- capabilities?: components["schemas"]["AgentCapabilities"];
1689
+ /**
1690
+ * Editpermission
1691
+ * @default manual
1692
+ * @enum {string}
1693
+ */
1694
+ editPermission?: "manual" | "bypass";
1695
+ /**
1696
+ * Requestedskills
1697
+ * @description Skills the user explicitly requested via the prompt's slash-command affordance. The server force-loads each available skill by injecting a synthetic load_skill tool call/result at the tail of the message history. Unknown or context-unavailable names are ignored.
1698
+ */
1699
+ requestedSkills?: string[];
1700
+ /** Model */
1701
+ model: components["schemas"]["CustomProviderModelSelection"] | components["schemas"]["BuiltInProviderModelSelection"];
1673
1702
  } & {
1674
1703
  [key: string]: unknown;
1675
1704
  };
1705
+ /**
1706
+ * CodeEvaluatorContext
1707
+ * @description Code-evaluator create/edit form mounted in the current browser route.
1708
+ */
1709
+ CodeEvaluatorContext: {
1710
+ /**
1711
+ * @description discriminator enum property added by openapi-typescript
1712
+ * @enum {string}
1713
+ */
1714
+ type: "code_evaluator";
1715
+ /** Evaluatornodeid */
1716
+ evaluatorNodeId?: string | null;
1717
+ };
1676
1718
  /** ContinuousAnnotationConfig */
1677
1719
  ContinuousAnnotationConfig: {
1678
1720
  /** Name */
@@ -1888,6 +1930,21 @@ export interface components {
1888
1930
  /** Data */
1889
1931
  data: components["schemas"]["LocalUser"] | components["schemas"]["OAuth2User"] | components["schemas"]["LDAPUser"];
1890
1932
  };
1933
+ /**
1934
+ * CustomProviderModelSelection
1935
+ * @description Chat against a stored custom provider record.
1936
+ */
1937
+ CustomProviderModelSelection: {
1938
+ /**
1939
+ * @description discriminator enum property added by openapi-typescript
1940
+ * @enum {string}
1941
+ */
1942
+ providerType: "custom";
1943
+ /** Providerid */
1944
+ providerId: string;
1945
+ /** Modelname */
1946
+ modelName: string;
1947
+ };
1891
1948
  /**
1892
1949
  * DataUIPart
1893
1950
  * @description Data part with dynamic type based on data name.
@@ -1925,6 +1982,26 @@ export interface components {
1925
1982
  /** Example Count */
1926
1983
  example_count: number;
1927
1984
  };
1985
+ /**
1986
+ * DatasetContext
1987
+ * @description Dataset the user is currently viewing or has bound to a workflow.
1988
+ *
1989
+ * Carries the dataset's relay node id and, when known, the active version
1990
+ * node id. These IDs scope the create-form handoff link and the sampling of
1991
+ * active dataset examples used as prompt context; the dataset schema itself
1992
+ * is open.
1993
+ */
1994
+ DatasetContext: {
1995
+ /**
1996
+ * @description discriminator enum property added by openapi-typescript
1997
+ * @enum {string}
1998
+ */
1999
+ type: "dataset";
2000
+ /** Datasetnodeid */
2001
+ datasetNodeId: string;
2002
+ /** Datasetversionnodeid */
2003
+ datasetVersionNodeId?: string | null;
2004
+ };
1928
2005
  /** DatasetExample */
1929
2006
  DatasetExample: {
1930
2007
  /** Id */
@@ -2018,6 +2095,8 @@ export interface components {
2018
2095
  toolName: string;
2019
2096
  /** Toolcallid */
2020
2097
  toolCallId: string;
2098
+ /** Title */
2099
+ title?: string | null;
2021
2100
  /**
2022
2101
  * State
2023
2102
  * @default approval-requested
@@ -2026,6 +2105,8 @@ export interface components {
2026
2105
  state?: "approval-requested";
2027
2106
  /** Input */
2028
2107
  input: unknown;
2108
+ /** Providerexecuted */
2109
+ providerExecuted?: boolean | null;
2029
2110
  /** Callprovidermetadata */
2030
2111
  callProviderMetadata?: {
2031
2112
  [key: string]: {
@@ -2050,6 +2131,8 @@ export interface components {
2050
2131
  toolName: string;
2051
2132
  /** Toolcallid */
2052
2133
  toolCallId: string;
2134
+ /** Title */
2135
+ title?: string | null;
2053
2136
  /**
2054
2137
  * State
2055
2138
  * @default approval-responded
@@ -2058,6 +2141,8 @@ export interface components {
2058
2141
  state?: "approval-responded";
2059
2142
  /** Input */
2060
2143
  input: unknown;
2144
+ /** Providerexecuted */
2145
+ providerExecuted?: boolean | null;
2061
2146
  /** Callprovidermetadata */
2062
2147
  callProviderMetadata?: {
2063
2148
  [key: string]: {
@@ -2082,6 +2167,8 @@ export interface components {
2082
2167
  toolName: string;
2083
2168
  /** Toolcallid */
2084
2169
  toolCallId: string;
2170
+ /** Title */
2171
+ title?: string | null;
2085
2172
  /**
2086
2173
  * State
2087
2174
  * @default input-available
@@ -2090,6 +2177,8 @@ export interface components {
2090
2177
  state?: "input-available";
2091
2178
  /** Input */
2092
2179
  input: unknown;
2180
+ /** Providerexecuted */
2181
+ providerExecuted?: boolean | null;
2093
2182
  /** Callprovidermetadata */
2094
2183
  callProviderMetadata?: {
2095
2184
  [key: string]: {
@@ -2114,6 +2203,8 @@ export interface components {
2114
2203
  toolName: string;
2115
2204
  /** Toolcallid */
2116
2205
  toolCallId: string;
2206
+ /** Title */
2207
+ title?: string | null;
2117
2208
  /**
2118
2209
  * State
2119
2210
  * @default input-streaming
@@ -2122,6 +2213,8 @@ export interface components {
2122
2213
  state?: "input-streaming";
2123
2214
  /** Input */
2124
2215
  input?: unknown | null;
2216
+ /** Providerexecuted */
2217
+ providerExecuted?: boolean | null;
2125
2218
  /** Callprovidermetadata */
2126
2219
  callProviderMetadata?: {
2127
2220
  [key: string]: {
@@ -2146,6 +2239,8 @@ export interface components {
2146
2239
  toolName: string;
2147
2240
  /** Toolcallid */
2148
2241
  toolCallId: string;
2242
+ /** Title */
2243
+ title?: string | null;
2149
2244
  /**
2150
2245
  * State
2151
2246
  * @default output-available
@@ -2156,6 +2251,8 @@ export interface components {
2156
2251
  input: unknown;
2157
2252
  /** Output */
2158
2253
  output: unknown;
2254
+ /** Providerexecuted */
2255
+ providerExecuted?: boolean | null;
2159
2256
  /** Callprovidermetadata */
2160
2257
  callProviderMetadata?: {
2161
2258
  [key: string]: {
@@ -2182,6 +2279,8 @@ export interface components {
2182
2279
  toolName: string;
2183
2280
  /** Toolcallid */
2184
2281
  toolCallId: string;
2282
+ /** Title */
2283
+ title?: string | null;
2185
2284
  /**
2186
2285
  * State
2187
2286
  * @default output-denied
@@ -2190,6 +2289,8 @@ export interface components {
2190
2289
  state?: "output-denied";
2191
2290
  /** Input */
2192
2291
  input: unknown;
2292
+ /** Providerexecuted */
2293
+ providerExecuted?: boolean | null;
2193
2294
  /** Callprovidermetadata */
2194
2295
  callProviderMetadata?: {
2195
2296
  [key: string]: {
@@ -2214,6 +2315,8 @@ export interface components {
2214
2315
  toolName: string;
2215
2316
  /** Toolcallid */
2216
2317
  toolCallId: string;
2318
+ /** Title */
2319
+ title?: string | null;
2217
2320
  /**
2218
2321
  * State
2219
2322
  * @default output-error
@@ -2224,6 +2327,8 @@ export interface components {
2224
2327
  input: unknown;
2225
2328
  /** Errortext */
2226
2329
  errorText: string;
2330
+ /** Providerexecuted */
2331
+ providerExecuted?: boolean | null;
2227
2332
  /** Callprovidermetadata */
2228
2333
  callProviderMetadata?: {
2229
2334
  [key: string]: {
@@ -2403,6 +2508,13 @@ export interface components {
2403
2508
  type: "FREEFORM";
2404
2509
  /** Description */
2405
2510
  description?: string | null;
2511
+ optimization_direction?: components["schemas"]["OptimizationDirection"] | null;
2512
+ /** Threshold */
2513
+ threshold?: number | null;
2514
+ /** Lower Bound */
2515
+ lower_bound?: number | null;
2516
+ /** Upper Bound */
2517
+ upper_bound?: number | null;
2406
2518
  /** Id */
2407
2519
  id: string;
2408
2520
  };
@@ -2417,6 +2529,13 @@ export interface components {
2417
2529
  type: "FREEFORM";
2418
2530
  /** Description */
2419
2531
  description?: string | null;
2532
+ optimization_direction?: components["schemas"]["OptimizationDirection"] | null;
2533
+ /** Threshold */
2534
+ threshold?: number | null;
2535
+ /** Lower Bound */
2536
+ lower_bound?: number | null;
2537
+ /** Upper Bound */
2538
+ upper_bound?: number | null;
2420
2539
  };
2421
2540
  /** GetAnnotationConfigResponseBody */
2422
2541
  GetAnnotationConfigResponseBody: {
@@ -2518,6 +2637,19 @@ export interface components {
2518
2637
  /** Data */
2519
2638
  data: components["schemas"]["LocalUser"] | components["schemas"]["OAuth2User"] | components["schemas"]["LDAPUser"] | components["schemas"]["AnonymousUser"];
2520
2639
  };
2640
+ /**
2641
+ * GraphQLContext
2642
+ * @description GraphQL runtime state.
2643
+ */
2644
+ GraphQLContext: {
2645
+ /**
2646
+ * @description discriminator enum property added by openapi-typescript
2647
+ * @enum {string}
2648
+ */
2649
+ type: "graphql";
2650
+ /** Mutationsenabled */
2651
+ mutationsEnabled: boolean;
2652
+ };
2521
2653
  /** HTTPValidationError */
2522
2654
  HTTPValidationError: {
2523
2655
  /** Detail */
@@ -2674,6 +2806,19 @@ export interface components {
2674
2806
  /** Next Cursor */
2675
2807
  next_cursor: string | null;
2676
2808
  };
2809
+ /**
2810
+ * LlmEvaluatorContext
2811
+ * @description LLM-evaluator create/edit form mounted in the current browser route.
2812
+ */
2813
+ LlmEvaluatorContext: {
2814
+ /**
2815
+ * @description discriminator enum property added by openapi-typescript
2816
+ * @enum {string}
2817
+ */
2818
+ type: "llm_evaluator";
2819
+ /** Evaluatornodeid */
2820
+ evaluatorNodeId?: string | null;
2821
+ };
2677
2822
  /** LocalUser */
2678
2823
  LocalUser: {
2679
2824
  /** Id */
@@ -2995,6 +3140,21 @@ export interface components {
2995
3140
  */
2996
3141
  message?: string | null;
2997
3142
  };
3143
+ /**
3144
+ * PlaygroundBuiltinModelContext
3145
+ * @description Built-in playground model selection.
3146
+ */
3147
+ PlaygroundBuiltinModelContext: {
3148
+ /**
3149
+ * @description discriminator enum property added by openapi-typescript
3150
+ * @enum {string}
3151
+ */
3152
+ type: "builtin";
3153
+ /** Provider */
3154
+ provider: string;
3155
+ /** Modelname */
3156
+ modelName: string;
3157
+ };
2998
3158
  /**
2999
3159
  * PlaygroundContext
3000
3160
  * @description Playground prompt editor state mounted in the current browser route.
@@ -3005,8 +3165,76 @@ export interface components {
3005
3165
  * @enum {string}
3006
3166
  */
3007
3167
  type: "playground";
3008
- /** Instanceids */
3009
- instanceIds: number[];
3168
+ /**
3169
+ * Recordexperiments
3170
+ * @default true
3171
+ */
3172
+ recordExperiments?: boolean;
3173
+ /**
3174
+ * Repetitions
3175
+ * @default 1
3176
+ */
3177
+ repetitions?: number;
3178
+ /** Instances */
3179
+ instances?: components["schemas"]["PlaygroundInstanceContext"][];
3180
+ /** Evaluators */
3181
+ evaluators?: components["schemas"]["PlaygroundEvaluatorContext"][];
3182
+ };
3183
+ /**
3184
+ * PlaygroundCustomProviderModelContext
3185
+ * @description Custom-provider playground model selection.
3186
+ */
3187
+ PlaygroundCustomProviderModelContext: {
3188
+ /**
3189
+ * @description discriminator enum property added by openapi-typescript
3190
+ * @enum {string}
3191
+ */
3192
+ type: "custom";
3193
+ /** Customproviderid */
3194
+ customProviderId: string;
3195
+ /** Customprovidername */
3196
+ customProviderName: string;
3197
+ /** Provider */
3198
+ provider: string;
3199
+ /** Modelname */
3200
+ modelName: string;
3201
+ };
3202
+ /**
3203
+ * PlaygroundEvaluatorContext
3204
+ * @description One dataset evaluator on the mounted playground's roster. ``name`` is
3205
+ * user-controlled; sanitize at every model-visible boundary.
3206
+ */
3207
+ PlaygroundEvaluatorContext: {
3208
+ /** Datasetevaluatorid */
3209
+ datasetEvaluatorId: string;
3210
+ /** Name */
3211
+ name: string;
3212
+ /**
3213
+ * Kind
3214
+ * @enum {string}
3215
+ */
3216
+ kind: "LLM" | "CODE" | "BUILTIN";
3217
+ /** Isbuiltin */
3218
+ isBuiltin: boolean;
3219
+ /** Isapplied */
3220
+ isApplied: boolean;
3221
+ };
3222
+ /**
3223
+ * PlaygroundInstanceContext
3224
+ * @description One mounted playground instance and its current model selection.
3225
+ *
3226
+ * ``experiment_id`` carries the relay node id of the experiment produced by
3227
+ * this instance's last dataset-backed run, or ``None`` when the instance has
3228
+ * not produced one. Ephemeral experiments are included: they remain queryable
3229
+ * until the server sweeps them ~24h after their last update.
3230
+ */
3231
+ PlaygroundInstanceContext: {
3232
+ /** Instanceid */
3233
+ instanceId: number;
3234
+ /** Model */
3235
+ model?: (components["schemas"]["PlaygroundBuiltinModelContext"] | components["schemas"]["PlaygroundCustomProviderModelContext"]) | null;
3236
+ /** Experimentid */
3237
+ experimentId?: string | null;
3010
3238
  };
3011
3239
  /** Project */
3012
3240
  Project: {
@@ -3984,6 +4212,12 @@ export interface components {
3984
4212
  * @description The note text to add to the session
3985
4213
  */
3986
4214
  note: string;
4215
+ /**
4216
+ * Identifier
4217
+ * @description Optional caller-supplied identifier. When non-empty, the note is upserted on (session_id, name='note', identifier) — repeated calls with the same identifier overwrite the existing note. When omitted or empty, the server stamps a unique 'px-session-note:<uuid>' identifier so each call appends a new note.
4218
+ * @default
4219
+ */
4220
+ identifier?: string;
3987
4221
  };
3988
4222
  /** SessionTraceData */
3989
4223
  SessionTraceData: {
@@ -4327,6 +4561,12 @@ export interface components {
4327
4561
  * @description The note text to add to the span
4328
4562
  */
4329
4563
  note: string;
4564
+ /**
4565
+ * Identifier
4566
+ * @description Optional caller-supplied identifier. When non-empty, the note is upserted on (span_id, name='note', identifier) — repeated calls with the same identifier overwrite the existing note. When omitted or empty, the server stamps a unique 'px-span-note:<uuid>' identifier so each call appends a new note.
4567
+ * @default
4568
+ */
4569
+ identifier?: string;
4330
4570
  };
4331
4571
  /** SpansResponseBody */
4332
4572
  SpansResponseBody: {
@@ -4396,6 +4636,8 @@ export interface components {
4396
4636
  type: string;
4397
4637
  /** Toolcallid */
4398
4638
  toolCallId: string;
4639
+ /** Title */
4640
+ title?: string | null;
4399
4641
  /**
4400
4642
  * State
4401
4643
  * @default approval-requested
@@ -4436,6 +4678,8 @@ export interface components {
4436
4678
  type: string;
4437
4679
  /** Toolcallid */
4438
4680
  toolCallId: string;
4681
+ /** Title */
4682
+ title?: string | null;
4439
4683
  /**
4440
4684
  * State
4441
4685
  * @default approval-responded
@@ -4488,6 +4732,8 @@ export interface components {
4488
4732
  type: string;
4489
4733
  /** Toolcallid */
4490
4734
  toolCallId: string;
4735
+ /** Title */
4736
+ title?: string | null;
4491
4737
  /**
4492
4738
  * State
4493
4739
  * @default input-available
@@ -4516,6 +4762,8 @@ export interface components {
4516
4762
  type: string;
4517
4763
  /** Toolcallid */
4518
4764
  toolCallId: string;
4765
+ /** Title */
4766
+ title?: string | null;
4519
4767
  /**
4520
4768
  * State
4521
4769
  * @default input-streaming
@@ -4544,6 +4792,8 @@ export interface components {
4544
4792
  type: string;
4545
4793
  /** Toolcallid */
4546
4794
  toolCallId: string;
4795
+ /** Title */
4796
+ title?: string | null;
4547
4797
  /**
4548
4798
  * State
4549
4799
  * @default output-available
@@ -4576,6 +4826,8 @@ export interface components {
4576
4826
  type: string;
4577
4827
  /** Toolcallid */
4578
4828
  toolCallId: string;
4829
+ /** Title */
4830
+ title?: string | null;
4579
4831
  /**
4580
4832
  * State
4581
4833
  * @default output-denied
@@ -4604,6 +4856,8 @@ export interface components {
4604
4856
  type: string;
4605
4857
  /** Toolcallid */
4606
4858
  toolCallId: string;
4859
+ /** Title */
4860
+ title?: string | null;
4607
4861
  /**
4608
4862
  * State
4609
4863
  * @default output-error
@@ -4798,6 +5052,12 @@ export interface components {
4798
5052
  * @description The note text to add to the trace
4799
5053
  */
4800
5054
  note: string;
5055
+ /**
5056
+ * Identifier
5057
+ * @description Optional caller-supplied identifier. When non-empty, the note is upserted on (trace_id, name='note', identifier) — repeated calls with the same identifier overwrite the existing note. When omitted or empty, the server stamps a unique 'px-trace-note:<uuid>' identifier so each call appends a new note.
5058
+ * @default
5059
+ */
5060
+ identifier?: string;
4801
5061
  };
4802
5062
  /** TraceSpanData */
4803
5063
  TraceSpanData: {
@@ -4965,6 +5225,19 @@ export interface components {
4965
5225
  /** Context */
4966
5226
  ctx?: Record<string, unknown>;
4967
5227
  };
5228
+ /**
5229
+ * WebAccessContext
5230
+ * @description User's per-turn request to expose web search / fetch tools.
5231
+ */
5232
+ WebAccessContext: {
5233
+ /**
5234
+ * @description discriminator enum property added by openapi-typescript
5235
+ * @enum {string}
5236
+ */
5237
+ type: "web_access";
5238
+ /** Enabled */
5239
+ enabled: boolean;
5240
+ };
4968
5241
  /**
4969
5242
  * _SummarizeRequest
4970
5243
  * @description Body for POST /agents/{agent_id}/sessions/{session_id}/summary.
@@ -4985,12 +5258,27 @@ export interface components {
4985
5258
  exportRemoteTraces?: boolean;
4986
5259
  /** Messages */
4987
5260
  messages: components["schemas"]["UIMessage"][];
5261
+ /** Model */
5262
+ model: components["schemas"]["CustomProviderModelSelection"] | components["schemas"]["BuiltInProviderModelSelection"];
4988
5263
  };
4989
5264
  /** _SummarizeResponse */
4990
5265
  _SummarizeResponse: {
4991
5266
  /** Summary */
4992
5267
  summary: string;
4993
5268
  };
5269
+ /**
5270
+ * ToolCallProviderMetadata
5271
+ * @description Payload Phoenix stamps under the ``phoenix`` namespace of Vercel AI
5272
+ * ``providerMetadata`` on tool-call chunks (``tool-input-start`` and
5273
+ * ``tool-input-available``).
5274
+ */
5275
+ ToolCallProviderMetadata: {
5276
+ /**
5277
+ * Tool Execution Environment
5278
+ * @enum {string}
5279
+ */
5280
+ tool_execution_environment: "client" | "server";
5281
+ };
4994
5282
  };
4995
5283
  responses: never;
4996
5284
  parameters: never;
@@ -5219,7 +5507,7 @@ export interface operations {
5219
5507
  span_ids?: string[] | null;
5220
5508
  /** @description Optional list of annotation identifiers to filter by. Each value must be non-empty. If omitted, `span_ids` must be supplied. When combined with `span_ids`, results are the AND-intersection of both filters. */
5221
5509
  identifier?: string[] | null;
5222
- /** @description Optional list of annotation names to include. If provided, only annotations with these names will be returned. 'note' annotations are excluded by default unless explicitly included in this list. */
5510
+ /** @description Optional list of annotation names to include. If provided, only annotations with these names will be returned (allowlist). When omitted, the response includes every matching row regardless of name (no annotation names are excluded by default). */
5223
5511
  include_annotation_names?: string[] | null;
5224
5512
  /** @description Optional list of annotation names to exclude from results. */
5225
5513
  exclude_annotation_names?: string[] | null;
@@ -5343,7 +5631,7 @@ export interface operations {
5343
5631
  trace_ids?: string[] | null;
5344
5632
  /** @description Optional list of annotation identifiers to filter by. Each value must be non-empty. If omitted, `trace_ids` must be supplied. When combined with `trace_ids`, results are the AND-intersection of both filters. */
5345
5633
  identifier?: string[] | null;
5346
- /** @description Optional list of annotation names to include. If provided, only annotations with these names will be returned. 'note' annotations are excluded by default unless explicitly included in this list. */
5634
+ /** @description Optional list of annotation names to include. If provided, only annotations with these names will be returned (allowlist). When omitted, the response includes every matching row regardless of name (no annotation names are excluded by default). */
5347
5635
  include_annotation_names?: string[] | null;
5348
5636
  /** @description Optional list of annotation names to exclude from results. */
5349
5637
  exclude_annotation_names?: string[] | null;
@@ -5467,7 +5755,7 @@ export interface operations {
5467
5755
  session_ids?: string[] | null;
5468
5756
  /** @description Optional list of annotation identifiers to filter by. Each value must be non-empty. If omitted, `session_ids` must be supplied. When combined with `session_ids`, results are the AND-intersection of both filters. */
5469
5757
  identifier?: string[] | null;
5470
- /** @description Optional list of annotation names to include. If provided, only annotations with these names will be returned. 'note' annotations are excluded by default unless explicitly included in this list. */
5758
+ /** @description Optional list of annotation names to include. If provided, only annotations with these names will be returned (allowlist). When omitted, the response includes every matching row regardless of name (no annotation names are excluded by default). */
5471
5759
  include_annotation_names?: string[] | null;
5472
5760
  /** @description Optional list of annotation names to exclude from results. */
5473
5761
  exclude_annotation_names?: string[] | null;
@@ -8802,13 +9090,7 @@ export interface operations {
8802
9090
  };
8803
9091
  chat_agents__agent_id__sessions__session_id__chat_post: {
8804
9092
  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
- };
9093
+ query?: never;
8812
9094
  header?: never;
8813
9095
  path: {
8814
9096
  agent_id: string;
@@ -8822,13 +9104,13 @@ export interface operations {
8822
9104
  };
8823
9105
  };
8824
9106
  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. */
9107
+ /** @description Successful Response */
8826
9108
  200: {
8827
9109
  headers: {
8828
9110
  [name: string]: unknown;
8829
9111
  };
8830
9112
  content: {
8831
- "application/json": components["schemas"]["AssistantMessageMetadata"];
9113
+ "application/json": unknown;
8832
9114
  };
8833
9115
  };
8834
9116
  /** @description Validation Error */
@@ -8844,13 +9126,7 @@ export interface operations {
8844
9126
  };
8845
9127
  summarize_endpoint_agents__agent_id__sessions__session_id__summary_post: {
8846
9128
  parameters: {
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
- };
9129
+ query?: never;
8854
9130
  header?: never;
8855
9131
  path: {
8856
9132
  agent_id: string;