langwatch 2.0.0 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/dist/agent/index.js +1 -1
  2. package/dist/agent/index.js.map +1 -1
  3. package/dist/agent/index.mjs +1 -1
  4. package/dist/agent/index.mjs.map +1 -1
  5. package/dist/{chunk-F7BVJW3S.js → chunk-E35GFO25.js} +16 -3
  6. package/dist/chunk-E35GFO25.js.map +1 -0
  7. package/dist/{chunk-2GKEMCKT.mjs → chunk-FXCZARU3.mjs} +16 -3
  8. package/dist/{chunk-2GKEMCKT.mjs.map → chunk-FXCZARU3.mjs.map} +1 -1
  9. package/dist/{chunk-AYPQNLCC.mjs → chunk-OAAGWSLX.mjs} +2 -2
  10. package/dist/{chunk-M3DSPR5S.mjs → chunk-P65KWWFU.mjs} +2 -2
  11. package/dist/{chunk-M3DSPR5S.mjs.map → chunk-P65KWWFU.mjs.map} +1 -1
  12. package/dist/{chunk-MAO3SIBB.js → chunk-PDTYQM5C.js} +2 -2
  13. package/dist/{chunk-MAO3SIBB.js.map → chunk-PDTYQM5C.js.map} +1 -1
  14. package/dist/{chunk-DLZCOUXC.js → chunk-TQJS5H5P.js} +12 -12
  15. package/dist/{chunk-DLZCOUXC.js.map → chunk-TQJS5H5P.js.map} +1 -1
  16. package/dist/cli/bundle.js +957 -451
  17. package/dist/{implementation-BXVPzwOt.d.mts → implementation-CMJfitMa.d.mts} +1 -1
  18. package/dist/{implementation-DJ-JveZl.d.ts → implementation-CaKFOMnp.d.ts} +1 -1
  19. package/dist/index.d.mts +80 -8
  20. package/dist/index.d.ts +80 -8
  21. package/dist/index.js +195 -94
  22. package/dist/index.js.map +1 -1
  23. package/dist/index.mjs +120 -19
  24. package/dist/index.mjs.map +1 -1
  25. package/dist/observability-sdk/index.d.mts +3 -3
  26. package/dist/observability-sdk/index.d.ts +3 -3
  27. package/dist/observability-sdk/index.js +4 -4
  28. package/dist/observability-sdk/index.js.map +1 -1
  29. package/dist/observability-sdk/index.mjs +8 -8
  30. package/dist/observability-sdk/instrumentation/langchain/index.d.mts +1 -1
  31. package/dist/observability-sdk/instrumentation/langchain/index.d.ts +1 -1
  32. package/dist/observability-sdk/instrumentation/langchain/index.js +4 -4
  33. package/dist/observability-sdk/instrumentation/langchain/index.mjs +1 -1
  34. package/dist/observability-sdk/setup/node/index.js +3 -3
  35. package/dist/observability-sdk/setup/node/index.mjs +2 -2
  36. package/dist/{types-CpT3iEIj.d.ts → types-0leNdzy4.d.ts} +581 -23
  37. package/dist/{types--ExXvd26.d.mts → types-DNjiOkpS.d.mts} +581 -23
  38. package/package.json +1 -1
  39. package/dist/chunk-F7BVJW3S.js.map +0 -1
  40. /package/dist/{chunk-AYPQNLCC.mjs.map → chunk-OAAGWSLX.mjs.map} +0 -0
@@ -32,7 +32,10 @@ interface paths {
32
32
  path?: never;
33
33
  cookie?: never;
34
34
  };
35
- /** Get an agent in the caller's project */
35
+ /**
36
+ * Get an agent in the caller's project
37
+ * @description Reads the latest version unless `label` or `version` is given. The id also takes a suffix: `agent_1:production`, `agent_1:3` or `agent_1:latest`.
38
+ */
36
39
  get: operations["getAgent"];
37
40
  /** Update an authored agent; PUT retains partial update semantics */
38
41
  put: operations["replaceAgent"];
@@ -45,6 +48,47 @@ interface paths {
45
48
  patch: operations["updateAgent"];
46
49
  trace?: never;
47
50
  };
51
+ "/api/v1/agents/{agentId}/versions": {
52
+ parameters: {
53
+ query?: never;
54
+ header?: never;
55
+ path?: never;
56
+ cookie?: never;
57
+ };
58
+ /**
59
+ * List an agent's versions
60
+ * @description Every version of the agent, newest first, with the labels on each.
61
+ */
62
+ get: operations["listAgentVersions"];
63
+ put?: never;
64
+ post?: never;
65
+ delete?: never;
66
+ options?: never;
67
+ head?: never;
68
+ patch?: never;
69
+ trace?: never;
70
+ };
71
+ "/api/v1/agents/{agentId}/labels/{label}": {
72
+ parameters: {
73
+ query?: never;
74
+ header?: never;
75
+ path?: never;
76
+ cookie?: never;
77
+ };
78
+ get?: never;
79
+ /**
80
+ * Point a deploy label at an agent version
81
+ * @description Points a deploy label, such as production, at one of the agent's versions.
82
+ */
83
+ put: operations["assignAgentLabel"];
84
+ post?: never;
85
+ /** Remove a deploy label from an agent */
86
+ delete: operations["removeAgentLabel"];
87
+ options?: never;
88
+ head?: never;
89
+ patch?: never;
90
+ trace?: never;
91
+ };
48
92
  "/api/v1/agents/{id}/call": {
49
93
  parameters: {
50
94
  query?: never;
@@ -96,9 +140,9 @@ interface paths {
96
140
  *
97
141
  * A projection may call the app functions the schema endpoint lists (`conversation`, `llm_readable_trace`, `llm_messages`, and so on). Those are computed by the application after the query, so they are allowed only as aliased entries in the top-level SELECT list; a call in WHERE, GROUP BY, ORDER BY, a join, a subquery or a nested expression is refused, and a UNION disqualifies both of its branches even where each reads as a top-level projection. A projection may also call the eval functions, which judge a text with a model and are charged for; their key is the text itself. A run that would need more distinct conversations, traces, spans or texts than the published cap answers 422 rather than a partial result, and a run whose texts would exceed the per-query token budget answers 422 before anything is sent.
98
142
  *
99
- * Any LangWatch API key — project, organization or personal — reaches every project it can read `analytics:view` on: an organization or personal key spans its projects, a project key its one. Rows from more than one project come back flagged with the `MULTI_PROJECT_RESULT` diagnostic — to read a single project, filter inside the statement with `WHERE TenantId = '<project id>'`.
143
+ * A project API key, or any key that can read exactly one project, reads that project and needs none. A key that reaches several must name the projects to read in `projects`, each one it can read `analytics:view` on; without them the run is refused with `projects_required` (422). A key that reads no project is refused with `projects_unreadable` (422) when it names no project or sends "all"; a project it names and cannot read is `project_not_found` (404). Rows from more than one project come back flagged with the `MULTI_PROJECT_RESULT` diagnostic.
100
144
  *
101
- * To run over one project only, send its id as `projectId` in the body: the run then reads that project's rows alone, redacted by that project's own protections. A `projectId` the key cannot read `analytics:view` on, in its own organization, is refused with `project_not_found` (404), the same answer as a project that does not exist. Without `projectId` the run spans every project the key can read.
145
+ * Send `projects`, a list of project ids, to name the projects to read; `projectId` (one id) still works, and sending both is a 422. A project the key cannot read `analytics:view` on, a project of another organization and a project that does not exist are all refused with `project_not_found` (404), with one body that names no id. Send `sources` to bind `{dashboard_context_sources:Array(String)}` (application when absent); only a statement that reads that placeholder is kept to those origins. `{dashboard_context_projects:Array(String)}` is bound to the projects read. The answer's `params` lists every placeholder the statement declares by its SQL name with the value it ran with, plus the `period` it followed. A `SOURCES_IGNORED` diagnostic says `sources` changed nothing; `GRANULARITY_COARSENED` says the step ran coarser than asked.
102
146
  *
103
147
  * A statement that names no `LIMIT` is capped at 10,000 rows: that `LIMIT` is appended before the query runs. A statement whose own `LIMIT` asks for more is refused with `LIMIT_TOO_HIGH` — lower it and page the rest with `LIMIT`/`OFFSET` and an `ORDER BY`. When using `UNION`, every top-level branch must carry its own `LIMIT` clause of 10,000 rows or fewer, or the query is refused with `LIMIT_REQUIRED_PER_BRANCH`. A result whose body exceeds about 8,000,000 bytes is refused outright with `lwql_result_too_large`, never cut — select fewer columns or a smaller `LIMIT`.
104
148
  *
@@ -359,7 +403,7 @@ interface paths {
359
403
  head?: never;
360
404
  /**
361
405
  * Update a dashboard
362
- * @description Changes a dashboard's name, description or the trace origins its widgets leave out; a field the body leaves out keeps its value. A null description clears it; excludedOrigins [] includes Langy's traces, and null restores the default (Langy's left out, none in a personal project).
406
+ * @description Changes a dashboard's name or description; a field the body leaves out keeps its value, and a null description clears it.
363
407
  */
364
408
  patch: operations["patchApiDashboardsByDashboardId"];
365
409
  trace?: never;
@@ -379,7 +423,7 @@ interface paths {
379
423
  put?: never;
380
424
  /**
381
425
  * Create a widget on a dashboard
382
- * @description Saves a React source file and the named LangWatchQL queries it runs as one widget, placed on this dashboard at the next free row. `source` records where the widget came from; without it, the widget is recorded as made through the API.
426
+ * @description Saves a React source file and the named LangWatchQL queries it runs as one widget, placed on this dashboard at the next free row. `source` records where the widget came from; without it, the widget is recorded as made through the API. Each query's `sources` lists the trace origins it counts; a query that names none counts `["application"]`.
383
427
  */
384
428
  post: operations["postApiDashboardsByDashboardIdWidgets"];
385
429
  delete?: never;
@@ -411,7 +455,7 @@ interface paths {
411
455
  head?: never;
412
456
  /**
413
457
  * Update a widget on a dashboard
414
- * @description Changes a widget's name, code, queries, description or source. A field the body leaves out keeps its stored value. A body with none of these fields is refused.
458
+ * @description Changes a widget's name, code, queries, description or source. A field the body leaves out keeps its stored value; a query sent without `sources` keeps the sources stored under its name, and `sources: null` clears them. A body with none of these fields is refused.
415
459
  */
416
460
  patch: operations["patchApiDashboardsByDashboardIdWidgetsByWidgetId"];
417
461
  trace?: never;
@@ -627,7 +671,7 @@ interface paths {
627
671
  path?: never;
628
672
  cookie?: never;
629
673
  };
630
- /** @description Get a specific evaluator by ID or slug */
674
+ /** @description Get a specific evaluator by ID or slug, at the latest version unless `label` or `version` is given. The address also takes a suffix: `toxicity:production`, `toxicity:2` or `toxicity:latest`. */
631
675
  get: operations["getApiEvaluatorsByIdOrSlug"];
632
676
  put?: never;
633
677
  post?: never;
@@ -655,6 +699,41 @@ interface paths {
655
699
  patch?: never;
656
700
  trace?: never;
657
701
  };
702
+ "/api/v1/evaluators/{evaluatorId}/versions": {
703
+ parameters: {
704
+ query?: never;
705
+ header?: never;
706
+ path?: never;
707
+ cookie?: never;
708
+ };
709
+ /** @description List an evaluator's versions, newest first, with the labels on each */
710
+ get: operations["getApiEvaluatorsVersions"];
711
+ put?: never;
712
+ post?: never;
713
+ delete?: never;
714
+ options?: never;
715
+ head?: never;
716
+ patch?: never;
717
+ trace?: never;
718
+ };
719
+ "/api/v1/evaluators/{evaluatorId}/labels/{label}": {
720
+ parameters: {
721
+ query?: never;
722
+ header?: never;
723
+ path?: never;
724
+ cookie?: never;
725
+ };
726
+ get?: never;
727
+ /** @description Point a deploy label, such as production, at one of the evaluator's versions */
728
+ put: operations["putApiEvaluatorsLabel"];
729
+ post?: never;
730
+ /** @description Remove a deploy label from an evaluator */
731
+ delete: operations["deleteApiEvaluatorsLabel"];
732
+ options?: never;
733
+ head?: never;
734
+ patch?: never;
735
+ trace?: never;
736
+ };
658
737
  "/api/v1/experiments/{slug}/run": {
659
738
  parameters: {
660
739
  query?: never;
@@ -666,7 +745,7 @@ interface paths {
666
745
  put?: never;
667
746
  /**
668
747
  * Run an experiment
669
- * @description Start a run of a saved experiment, addressed by slug. Returns a runId to poll straight away. Send `Accept: text/event-stream` instead to stream progress events until the run finishes.
748
+ * @description Start a run of a saved experiment, addressed by slug. Returns a runId to poll straight away. Send `Accept: text/event-stream` instead to stream progress events until the run finishes. The run reads a version of its saved dataset: `dataset_version` when given, else the version the experiment pins, else the current content saved as a new version.
670
749
  */
671
750
  post: operations["postApiExperimentsBySlugRun"];
672
751
  delete?: never;
@@ -1624,6 +1703,23 @@ interface operations {
1624
1703
  selectable: boolean;
1625
1704
  /** @description Why the agent cannot be run by this credential. Null when it can. */
1626
1705
  notSelectableReason: "owned_by_another_person" | null;
1706
+ /** @description The version this response shows: the latest, unless a label or a version was asked for. Null for connected agents, which are versioned by their code. */
1707
+ version: number | null;
1708
+ /** @description The deploy labels the agent carries, such as production, and the version each points at. */
1709
+ labels: {
1710
+ label: string;
1711
+ version: number;
1712
+ }[];
1713
+ /** @description The user who created the agent. Null when an API key created it, or it predates creators being recorded. */
1714
+ createdBy: {
1715
+ id: string;
1716
+ name: string | null;
1717
+ } | null;
1718
+ /** @description The user who changed the agent last. Null when an API key changed it. */
1719
+ updatedBy: {
1720
+ id: string;
1721
+ name: string | null;
1722
+ } | null;
1627
1723
  /** Format: date-time */
1628
1724
  createdAt: string;
1629
1725
  /** Format: date-time */
@@ -1653,6 +1749,8 @@ interface operations {
1653
1749
  content: {
1654
1750
  "application/json": {
1655
1751
  name: string;
1752
+ /** @description What changed, kept on the version this write creates. */
1753
+ commitMessage?: string;
1656
1754
  workflowId?: string;
1657
1755
  copiedFromAgentId?: string;
1658
1756
  /** @constant */
@@ -1741,6 +1839,8 @@ interface operations {
1741
1839
  };
1742
1840
  } | {
1743
1841
  name: string;
1842
+ /** @description What changed, kept on the version this write creates. */
1843
+ commitMessage?: string;
1744
1844
  workflowId?: string;
1745
1845
  copiedFromAgentId?: string;
1746
1846
  /** @constant */
@@ -1819,6 +1919,8 @@ interface operations {
1819
1919
  };
1820
1920
  } | {
1821
1921
  name: string;
1922
+ /** @description What changed, kept on the version this write creates. */
1923
+ commitMessage?: string;
1822
1924
  workflowId?: string;
1823
1925
  copiedFromAgentId?: string;
1824
1926
  /** @constant */
@@ -1922,6 +2024,8 @@ interface operations {
1922
2024
  };
1923
2025
  } | {
1924
2026
  name: string;
2027
+ /** @description What changed, kept on the version this write creates. */
2028
+ commitMessage?: string;
1925
2029
  workflowId?: string;
1926
2030
  copiedFromAgentId?: string;
1927
2031
  /** @constant */
@@ -2025,6 +2129,8 @@ interface operations {
2025
2129
  };
2026
2130
  } | {
2027
2131
  name: string;
2132
+ /** @description What changed, kept on the version this write creates. */
2133
+ commitMessage?: string;
2028
2134
  workflowId?: string;
2029
2135
  copiedFromAgentId?: string;
2030
2136
  /** @constant */
@@ -2034,6 +2140,8 @@ interface operations {
2034
2140
  };
2035
2141
  } | {
2036
2142
  name: string;
2143
+ /** @description What changed, kept on the version this write creates. */
2144
+ commitMessage?: string;
2037
2145
  workflowId?: string;
2038
2146
  copiedFromAgentId?: string;
2039
2147
  /** @constant */
@@ -2123,6 +2231,23 @@ interface operations {
2123
2231
  selectable: boolean;
2124
2232
  /** @description Why the agent cannot be run by this credential. Null when it can. */
2125
2233
  notSelectableReason: "owned_by_another_person" | null;
2234
+ /** @description The version this response shows: the latest, unless a label or a version was asked for. Null for connected agents, which are versioned by their code. */
2235
+ version: number | null;
2236
+ /** @description The deploy labels the agent carries, such as production, and the version each points at. */
2237
+ labels: {
2238
+ label: string;
2239
+ version: number;
2240
+ }[];
2241
+ /** @description The user who created the agent. Null when an API key created it, or it predates creators being recorded. */
2242
+ createdBy: {
2243
+ id: string;
2244
+ name: string | null;
2245
+ } | null;
2246
+ /** @description The user who changed the agent last. Null when an API key changed it. */
2247
+ updatedBy: {
2248
+ id: string;
2249
+ name: string | null;
2250
+ } | null;
2126
2251
  /** Format: date-time */
2127
2252
  createdAt: string;
2128
2253
  /** Format: date-time */
@@ -2136,7 +2261,12 @@ interface operations {
2136
2261
  };
2137
2262
  getAgent: {
2138
2263
  parameters: {
2139
- query?: never;
2264
+ query?: {
2265
+ /** @description A deploy label, for example production. Omit both to read the latest version. */
2266
+ label?: string;
2267
+ /** @description A version number. */
2268
+ version?: number;
2269
+ };
2140
2270
  header?: never;
2141
2271
  path: {
2142
2272
  /** @description The agent id. */
@@ -2213,6 +2343,23 @@ interface operations {
2213
2343
  selectable: boolean;
2214
2344
  /** @description Why the agent cannot be run by this credential. Null when it can. */
2215
2345
  notSelectableReason: "owned_by_another_person" | null;
2346
+ /** @description The version this response shows: the latest, unless a label or a version was asked for. Null for connected agents, which are versioned by their code. */
2347
+ version: number | null;
2348
+ /** @description The deploy labels the agent carries, such as production, and the version each points at. */
2349
+ labels: {
2350
+ label: string;
2351
+ version: number;
2352
+ }[];
2353
+ /** @description The user who created the agent. Null when an API key created it, or it predates creators being recorded. */
2354
+ createdBy: {
2355
+ id: string;
2356
+ name: string | null;
2357
+ } | null;
2358
+ /** @description The user who changed the agent last. Null when an API key changed it. */
2359
+ updatedBy: {
2360
+ id: string;
2361
+ name: string | null;
2362
+ } | null;
2216
2363
  /** Format: date-time */
2217
2364
  createdAt: string;
2218
2365
  /** Format: date-time */
@@ -2244,6 +2391,8 @@ interface operations {
2244
2391
  [key: string]: unknown;
2245
2392
  };
2246
2393
  workflowId?: string | null;
2394
+ /** @description What changed, kept on the version this write creates. */
2395
+ commitMessage?: string;
2247
2396
  };
2248
2397
  };
2249
2398
  };
@@ -2315,6 +2464,23 @@ interface operations {
2315
2464
  selectable: boolean;
2316
2465
  /** @description Why the agent cannot be run by this credential. Null when it can. */
2317
2466
  notSelectableReason: "owned_by_another_person" | null;
2467
+ /** @description The version this response shows: the latest, unless a label or a version was asked for. Null for connected agents, which are versioned by their code. */
2468
+ version: number | null;
2469
+ /** @description The deploy labels the agent carries, such as production, and the version each points at. */
2470
+ labels: {
2471
+ label: string;
2472
+ version: number;
2473
+ }[];
2474
+ /** @description The user who created the agent. Null when an API key created it, or it predates creators being recorded. */
2475
+ createdBy: {
2476
+ id: string;
2477
+ name: string | null;
2478
+ } | null;
2479
+ /** @description The user who changed the agent last. Null when an API key changed it. */
2480
+ updatedBy: {
2481
+ id: string;
2482
+ name: string | null;
2483
+ } | null;
2318
2484
  /** Format: date-time */
2319
2485
  createdAt: string;
2320
2486
  /** Format: date-time */
@@ -2375,6 +2541,8 @@ interface operations {
2375
2541
  [key: string]: unknown;
2376
2542
  };
2377
2543
  workflowId?: string | null;
2544
+ /** @description What changed, kept on the version this write creates. */
2545
+ commitMessage?: string;
2378
2546
  };
2379
2547
  };
2380
2548
  };
@@ -2446,6 +2614,23 @@ interface operations {
2446
2614
  selectable: boolean;
2447
2615
  /** @description Why the agent cannot be run by this credential. Null when it can. */
2448
2616
  notSelectableReason: "owned_by_another_person" | null;
2617
+ /** @description The version this response shows: the latest, unless a label or a version was asked for. Null for connected agents, which are versioned by their code. */
2618
+ version: number | null;
2619
+ /** @description The deploy labels the agent carries, such as production, and the version each points at. */
2620
+ labels: {
2621
+ label: string;
2622
+ version: number;
2623
+ }[];
2624
+ /** @description The user who created the agent. Null when an API key created it, or it predates creators being recorded. */
2625
+ createdBy: {
2626
+ id: string;
2627
+ name: string | null;
2628
+ } | null;
2629
+ /** @description The user who changed the agent last. Null when an API key changed it. */
2630
+ updatedBy: {
2631
+ id: string;
2632
+ name: string | null;
2633
+ } | null;
2449
2634
  /** Format: date-time */
2450
2635
  createdAt: string;
2451
2636
  /** Format: date-time */
@@ -2457,6 +2642,123 @@ interface operations {
2457
2642
  };
2458
2643
  };
2459
2644
  };
2645
+ listAgentVersions: {
2646
+ parameters: {
2647
+ query?: never;
2648
+ header?: never;
2649
+ path: {
2650
+ /** @description The agent id. */
2651
+ agentId: string;
2652
+ };
2653
+ cookie?: never;
2654
+ };
2655
+ requestBody?: never;
2656
+ responses: {
2657
+ /** @description Success */
2658
+ 200: {
2659
+ headers: {
2660
+ [name: string]: unknown;
2661
+ };
2662
+ content: {
2663
+ "application/json": {
2664
+ data: {
2665
+ id: string;
2666
+ agentId: string;
2667
+ projectId: string;
2668
+ version: number;
2669
+ name: string;
2670
+ /** @enum {string} */
2671
+ type: "signature" | "code" | "workflow" | "http" | "connected" | "voice";
2672
+ config: {
2673
+ [key: string]: unknown;
2674
+ };
2675
+ workflowId: string | null;
2676
+ commitMessage: string | null;
2677
+ authorId: string | null;
2678
+ authorKind: ("user" | "api_key" | "system") | null;
2679
+ author: {
2680
+ id: string;
2681
+ name: string | null;
2682
+ email: string | null;
2683
+ } | null;
2684
+ /** Format: date-time */
2685
+ createdAt: string;
2686
+ labels: string[];
2687
+ }[];
2688
+ labels: {
2689
+ label: string;
2690
+ version: number;
2691
+ }[];
2692
+ };
2693
+ };
2694
+ };
2695
+ };
2696
+ };
2697
+ assignAgentLabel: {
2698
+ parameters: {
2699
+ query?: never;
2700
+ header?: never;
2701
+ path: {
2702
+ /** @description The agent id. */
2703
+ agentId: string;
2704
+ /** @description The deploy label, for example production. */
2705
+ label: string;
2706
+ };
2707
+ cookie?: never;
2708
+ };
2709
+ requestBody: {
2710
+ content: {
2711
+ "application/json": {
2712
+ /** @description The version number the label points at. */
2713
+ version: number;
2714
+ };
2715
+ };
2716
+ };
2717
+ responses: {
2718
+ /** @description Success */
2719
+ 200: {
2720
+ headers: {
2721
+ [name: string]: unknown;
2722
+ };
2723
+ content: {
2724
+ "application/json": {
2725
+ label: string;
2726
+ version: number;
2727
+ versionId: string;
2728
+ };
2729
+ };
2730
+ };
2731
+ };
2732
+ };
2733
+ removeAgentLabel: {
2734
+ parameters: {
2735
+ query?: never;
2736
+ header?: never;
2737
+ path: {
2738
+ /** @description The agent id. */
2739
+ agentId: string;
2740
+ /** @description The deploy label, for example production. */
2741
+ label: string;
2742
+ };
2743
+ cookie?: never;
2744
+ };
2745
+ requestBody?: never;
2746
+ responses: {
2747
+ /** @description Success */
2748
+ 200: {
2749
+ headers: {
2750
+ [name: string]: unknown;
2751
+ };
2752
+ content: {
2753
+ "application/json": {
2754
+ label: string;
2755
+ /** @constant */
2756
+ removed: true;
2757
+ };
2758
+ };
2759
+ };
2760
+ };
2761
+ };
2460
2762
  callConnectedAgent: {
2461
2763
  parameters: {
2462
2764
  query?: never;
@@ -3083,8 +3385,12 @@ interface operations {
3083
3385
  end: string | number;
3084
3386
  };
3085
3387
  granularitySeconds?: 1 | 60 | 3600 | 86400 | 604800;
3086
- /** @description Narrows the run to this one project, which the key must hold analytics:view on. Without it the run spans every project the key can read. */
3388
+ /** @description Reads this one project, which the key must hold analytics:view on. Send projectId or projects, not both. */
3087
3389
  projectId?: string;
3390
+ /** @description The projects to read, each one the key holds analytics:view on, or the string "all" for every project the key can read. A key that reaches several projects must name them or send "all"; a key that reads one project defaults to it. When the statement declares {dashboard_context_projects:Array(String)}, params.dashboard_context_projects lists what was read. */
3391
+ projects?: string | string[];
3392
+ /** @description The trace origins {dashboard_context_sources:Array(String)} is bound to; application when absent. The placeholder does not filter by itself: the statement keeps its rows with a predicate such as WHERE Source IN {dashboard_context_sources:Array(String)}. A statement that never uses the placeholder counts every origin. */
3393
+ sources?: ("application" | "simulation" | "evaluation" | "sample" | "coding_agent" | "ai_tool" | "gateway" | "workflow" | "playground" | "langy" | "other")[];
3088
3394
  };
3089
3395
  };
3090
3396
  };
@@ -3111,7 +3417,7 @@ interface operations {
3111
3417
  };
3112
3418
  readonly diagnostics: {
3113
3419
  /** @enum {string} */
3114
- code: "MULTI_PROJECT_RESULT" | "POSSIBLE_FANOUT" | "UNBOUNDED_TIME_RANGE" | "MISSING_TIME_BUCKETS" | "INCOMPLETE_COMPARISON_PERIOD" | "APP_FUNCTION_VALUE_TRUNCATED" | "APP_FUNCTION_UNRESOLVED_KEYS" | "APP_FUNCTION_RESULT_TRUNCATED" | "INSTANT_EVAL_SKIPPED";
3420
+ code: "MULTI_PROJECT_RESULT" | "POSSIBLE_FANOUT" | "UNBOUNDED_TIME_RANGE" | "MISSING_TIME_BUCKETS" | "INCOMPLETE_COMPARISON_PERIOD" | "APP_FUNCTION_VALUE_TRUNCATED" | "APP_FUNCTION_UNRESOLVED_KEYS" | "APP_FUNCTION_RESULT_TRUNCATED" | "INSTANT_EVAL_SKIPPED" | "SHARE_WINDOW_LIMITED" | "SOURCES_IGNORED" | "GRANULARITY_COARSENED";
3115
3421
  message: string;
3116
3422
  meta?: {
3117
3423
  [key: string]: unknown;
@@ -3140,6 +3446,9 @@ interface operations {
3140
3446
  models: string[];
3141
3447
  };
3142
3448
  };
3449
+ params?: {
3450
+ [key: string]: unknown;
3451
+ };
3143
3452
  };
3144
3453
  };
3145
3454
  };
@@ -3355,7 +3664,7 @@ interface operations {
3355
3664
  type: string;
3356
3665
  description: string;
3357
3666
  unit: string | null;
3358
- readonly gates: (("input" | "output" | "costs") | ("organization:view" | "organization:manage" | "organization:delete" | "project:view" | "project:create" | "project:update" | "project:delete" | "project:manage" | "team:view" | "team:manage" | "analytics:view" | "analytics:create" | "analytics:update" | "analytics:delete" | "analytics:manage" | "cost:view" | "traces:view" | "traces:create" | "traces:update" | "traces:share" | "scenarios:view" | "scenarios:create" | "scenarios:update" | "scenarios:delete" | "scenarios:manage" | "annotations:view" | "annotations:create" | "annotations:update" | "annotations:delete" | "annotations:manage" | "evaluations:view" | "evaluations:create" | "evaluations:update" | "evaluations:delete" | "evaluations:manage" | "datasets:view" | "datasets:create" | "datasets:update" | "datasets:delete" | "datasets:manage" | "triggers:view" | "triggers:create" | "triggers:update" | "triggers:delete" | "triggers:manage" | "workflows:view" | "workflows:create" | "workflows:update" | "workflows:delete" | "workflows:manage" | "experiments:view" | "experiments:create" | "experiments:update" | "experiments:delete" | "experiments:manage" | "prompts:view" | "prompts:create" | "prompts:update" | "prompts:delete" | "prompts:manage" | "secrets:view" | "secrets:create" | "secrets:update" | "secrets:delete" | "secrets:manage" | "playground:view" | "playground:create" | "playground:update" | "playground:delete" | "playground:manage" | "ops:view" | "ops:manage" | "auditLog:view" | "virtualKeys:view" | "virtualKeys:create" | "virtualKeys:update" | "virtualKeys:delete" | "virtualKeys:rotate" | "virtualKeys:manage" | "virtualKeys:viewOtherPersonal" | "gatewayBudgets:view" | "gatewayBudgets:create" | "gatewayBudgets:update" | "gatewayBudgets:delete" | "gatewayBudgets:manage" | "gatewayProviders:view" | "gatewayProviders:update" | "gatewayProviders:manage" | "routingPolicies:view" | "routingPolicies:manage" | "gatewayGuardrails:view" | "gatewayGuardrails:attach" | "gatewayGuardrails:detach" | "gatewayGuardrails:manage" | "gatewayLogs:view" | "gatewayUsage:view" | "gatewayCacheRules:view" | "gatewayCacheRules:create" | "gatewayCacheRules:update" | "gatewayCacheRules:delete" | "gatewayCacheRules:manage" | "governance:view" | "governance:manage" | "ingestionSources:view" | "ingestionSources:create" | "ingestionSources:update" | "ingestionSources:delete" | "ingestionSources:manage" | "anomalyRules:view" | "anomalyRules:create" | "anomalyRules:update" | "anomalyRules:delete" | "anomalyRules:manage" | "complianceExport:view" | "activityMonitor:view" | "aiTools:view" | "aiTools:manage" | "webhookEndpoints:view" | "webhookEndpoints:manage" | "gatewaySpend:view" | "gatewaySpend:manage" | "langy:view" | "langy:create" | "langy:update" | "langy:delete" | "langy:manage" | "agentCache:view" | "agentCache:manage" | "featureFlags:manageExperiments" | "governanceCost:view" | "sso:view" | "sso:manage"))[];
3667
+ readonly gates: (("input" | "output" | "costs") | ("organization:view" | "organization:manage" | "organization:delete" | "project:view" | "project:create" | "project:update" | "project:delete" | "project:manage" | "team:view" | "team:manage" | "analytics:view" | "analytics:create" | "analytics:update" | "analytics:delete" | "analytics:manage" | "cost:view" | "traces:view" | "traces:create" | "traces:update" | "traces:share" | "scenarios:view" | "scenarios:create" | "scenarios:update" | "scenarios:delete" | "scenarios:manage" | "annotations:view" | "annotations:create" | "annotations:update" | "annotations:delete" | "annotations:manage" | "evaluations:view" | "evaluations:create" | "evaluations:update" | "evaluations:delete" | "evaluations:manage" | "datasets:view" | "datasets:create" | "datasets:update" | "datasets:delete" | "datasets:manage" | "triggers:view" | "triggers:create" | "triggers:update" | "triggers:delete" | "triggers:manage" | "workflows:view" | "workflows:create" | "workflows:update" | "workflows:delete" | "workflows:manage" | "experiments:view" | "experiments:create" | "experiments:update" | "experiments:delete" | "experiments:manage" | "prompts:view" | "prompts:create" | "prompts:update" | "prompts:delete" | "prompts:manage" | "secrets:view" | "secrets:create" | "secrets:update" | "secrets:delete" | "secrets:manage" | "playground:view" | "playground:create" | "playground:update" | "playground:delete" | "playground:manage" | "ops:view" | "ops:manage" | "auditLog:view" | "virtualKeys:view" | "virtualKeys:create" | "virtualKeys:update" | "virtualKeys:delete" | "virtualKeys:rotate" | "virtualKeys:manage" | "virtualKeys:viewOtherPersonal" | "gatewayBudgets:view" | "gatewayBudgets:create" | "gatewayBudgets:update" | "gatewayBudgets:delete" | "gatewayBudgets:manage" | "gatewayProviders:view" | "gatewayProviders:update" | "gatewayProviders:manage" | "routingPolicies:view" | "routingPolicies:manage" | "gatewayGuardrails:view" | "gatewayGuardrails:attach" | "gatewayGuardrails:detach" | "gatewayGuardrails:manage" | "gatewayLogs:view" | "gatewayUsage:view" | "gatewayCacheRules:view" | "gatewayCacheRules:create" | "gatewayCacheRules:update" | "gatewayCacheRules:delete" | "gatewayCacheRules:manage" | "governance:view" | "governance:manage" | "ingestionSources:view" | "ingestionSources:create" | "ingestionSources:update" | "ingestionSources:delete" | "ingestionSources:manage" | "anomalyRules:view" | "anomalyRules:create" | "anomalyRules:update" | "anomalyRules:delete" | "anomalyRules:manage" | "complianceExport:view" | "activityMonitor:view" | "aiTools:view" | "aiTools:manage" | "webhookEndpoints:view" | "webhookEndpoints:manage" | "gatewaySpend:view" | "gatewaySpend:manage" | "langy:view" | "langy:create" | "langy:update" | "langy:delete" | "langy:manage" | "agentCache:view" | "agentCache:manage" | "featureFlags:manageExperiments" | "governanceCost:view" | "sso:view" | "sso:manage" | "agents:deploy" | "evaluators:deploy"))[];
3359
3668
  available: boolean;
3360
3669
  }[];
3361
3670
  exampleSql: string;
@@ -3370,7 +3679,7 @@ interface operations {
3370
3679
  /** @enum {string} */
3371
3680
  kind: "extraction" | "eval";
3372
3681
  cap: number;
3373
- readonly gates: (("input" | "output" | "costs") | ("organization:view" | "organization:manage" | "organization:delete" | "project:view" | "project:create" | "project:update" | "project:delete" | "project:manage" | "team:view" | "team:manage" | "analytics:view" | "analytics:create" | "analytics:update" | "analytics:delete" | "analytics:manage" | "cost:view" | "traces:view" | "traces:create" | "traces:update" | "traces:share" | "scenarios:view" | "scenarios:create" | "scenarios:update" | "scenarios:delete" | "scenarios:manage" | "annotations:view" | "annotations:create" | "annotations:update" | "annotations:delete" | "annotations:manage" | "evaluations:view" | "evaluations:create" | "evaluations:update" | "evaluations:delete" | "evaluations:manage" | "datasets:view" | "datasets:create" | "datasets:update" | "datasets:delete" | "datasets:manage" | "triggers:view" | "triggers:create" | "triggers:update" | "triggers:delete" | "triggers:manage" | "workflows:view" | "workflows:create" | "workflows:update" | "workflows:delete" | "workflows:manage" | "experiments:view" | "experiments:create" | "experiments:update" | "experiments:delete" | "experiments:manage" | "prompts:view" | "prompts:create" | "prompts:update" | "prompts:delete" | "prompts:manage" | "secrets:view" | "secrets:create" | "secrets:update" | "secrets:delete" | "secrets:manage" | "playground:view" | "playground:create" | "playground:update" | "playground:delete" | "playground:manage" | "ops:view" | "ops:manage" | "auditLog:view" | "virtualKeys:view" | "virtualKeys:create" | "virtualKeys:update" | "virtualKeys:delete" | "virtualKeys:rotate" | "virtualKeys:manage" | "virtualKeys:viewOtherPersonal" | "gatewayBudgets:view" | "gatewayBudgets:create" | "gatewayBudgets:update" | "gatewayBudgets:delete" | "gatewayBudgets:manage" | "gatewayProviders:view" | "gatewayProviders:update" | "gatewayProviders:manage" | "routingPolicies:view" | "routingPolicies:manage" | "gatewayGuardrails:view" | "gatewayGuardrails:attach" | "gatewayGuardrails:detach" | "gatewayGuardrails:manage" | "gatewayLogs:view" | "gatewayUsage:view" | "gatewayCacheRules:view" | "gatewayCacheRules:create" | "gatewayCacheRules:update" | "gatewayCacheRules:delete" | "gatewayCacheRules:manage" | "governance:view" | "governance:manage" | "ingestionSources:view" | "ingestionSources:create" | "ingestionSources:update" | "ingestionSources:delete" | "ingestionSources:manage" | "anomalyRules:view" | "anomalyRules:create" | "anomalyRules:update" | "anomalyRules:delete" | "anomalyRules:manage" | "complianceExport:view" | "activityMonitor:view" | "aiTools:view" | "aiTools:manage" | "webhookEndpoints:view" | "webhookEndpoints:manage" | "gatewaySpend:view" | "gatewaySpend:manage" | "langy:view" | "langy:create" | "langy:update" | "langy:delete" | "langy:manage" | "agentCache:view" | "agentCache:manage" | "featureFlags:manageExperiments" | "governanceCost:view" | "sso:view" | "sso:manage"))[];
3682
+ readonly gates: (("input" | "output" | "costs") | ("organization:view" | "organization:manage" | "organization:delete" | "project:view" | "project:create" | "project:update" | "project:delete" | "project:manage" | "team:view" | "team:manage" | "analytics:view" | "analytics:create" | "analytics:update" | "analytics:delete" | "analytics:manage" | "cost:view" | "traces:view" | "traces:create" | "traces:update" | "traces:share" | "scenarios:view" | "scenarios:create" | "scenarios:update" | "scenarios:delete" | "scenarios:manage" | "annotations:view" | "annotations:create" | "annotations:update" | "annotations:delete" | "annotations:manage" | "evaluations:view" | "evaluations:create" | "evaluations:update" | "evaluations:delete" | "evaluations:manage" | "datasets:view" | "datasets:create" | "datasets:update" | "datasets:delete" | "datasets:manage" | "triggers:view" | "triggers:create" | "triggers:update" | "triggers:delete" | "triggers:manage" | "workflows:view" | "workflows:create" | "workflows:update" | "workflows:delete" | "workflows:manage" | "experiments:view" | "experiments:create" | "experiments:update" | "experiments:delete" | "experiments:manage" | "prompts:view" | "prompts:create" | "prompts:update" | "prompts:delete" | "prompts:manage" | "secrets:view" | "secrets:create" | "secrets:update" | "secrets:delete" | "secrets:manage" | "playground:view" | "playground:create" | "playground:update" | "playground:delete" | "playground:manage" | "ops:view" | "ops:manage" | "auditLog:view" | "virtualKeys:view" | "virtualKeys:create" | "virtualKeys:update" | "virtualKeys:delete" | "virtualKeys:rotate" | "virtualKeys:manage" | "virtualKeys:viewOtherPersonal" | "gatewayBudgets:view" | "gatewayBudgets:create" | "gatewayBudgets:update" | "gatewayBudgets:delete" | "gatewayBudgets:manage" | "gatewayProviders:view" | "gatewayProviders:update" | "gatewayProviders:manage" | "routingPolicies:view" | "routingPolicies:manage" | "gatewayGuardrails:view" | "gatewayGuardrails:attach" | "gatewayGuardrails:detach" | "gatewayGuardrails:manage" | "gatewayLogs:view" | "gatewayUsage:view" | "gatewayCacheRules:view" | "gatewayCacheRules:create" | "gatewayCacheRules:update" | "gatewayCacheRules:delete" | "gatewayCacheRules:manage" | "governance:view" | "governance:manage" | "ingestionSources:view" | "ingestionSources:create" | "ingestionSources:update" | "ingestionSources:delete" | "ingestionSources:manage" | "anomalyRules:view" | "anomalyRules:create" | "anomalyRules:update" | "anomalyRules:delete" | "anomalyRules:manage" | "complianceExport:view" | "activityMonitor:view" | "aiTools:view" | "aiTools:manage" | "webhookEndpoints:view" | "webhookEndpoints:manage" | "gatewaySpend:view" | "gatewaySpend:manage" | "langy:view" | "langy:create" | "langy:update" | "langy:delete" | "langy:manage" | "agentCache:view" | "agentCache:manage" | "featureFlags:manageExperiments" | "governanceCost:view" | "sso:view" | "sso:manage" | "agents:deploy" | "evaluators:deploy"))[];
3374
3683
  available: boolean;
3375
3684
  exampleSql: string;
3376
3685
  }[];
@@ -3533,7 +3842,7 @@ interface operations {
3533
3842
  type: string;
3534
3843
  description: string;
3535
3844
  unit: string | null;
3536
- readonly gates: (("input" | "output" | "costs") | ("organization:view" | "organization:manage" | "organization:delete" | "project:view" | "project:create" | "project:update" | "project:delete" | "project:manage" | "team:view" | "team:manage" | "analytics:view" | "analytics:create" | "analytics:update" | "analytics:delete" | "analytics:manage" | "cost:view" | "traces:view" | "traces:create" | "traces:update" | "traces:share" | "scenarios:view" | "scenarios:create" | "scenarios:update" | "scenarios:delete" | "scenarios:manage" | "annotations:view" | "annotations:create" | "annotations:update" | "annotations:delete" | "annotations:manage" | "evaluations:view" | "evaluations:create" | "evaluations:update" | "evaluations:delete" | "evaluations:manage" | "datasets:view" | "datasets:create" | "datasets:update" | "datasets:delete" | "datasets:manage" | "triggers:view" | "triggers:create" | "triggers:update" | "triggers:delete" | "triggers:manage" | "workflows:view" | "workflows:create" | "workflows:update" | "workflows:delete" | "workflows:manage" | "experiments:view" | "experiments:create" | "experiments:update" | "experiments:delete" | "experiments:manage" | "prompts:view" | "prompts:create" | "prompts:update" | "prompts:delete" | "prompts:manage" | "secrets:view" | "secrets:create" | "secrets:update" | "secrets:delete" | "secrets:manage" | "playground:view" | "playground:create" | "playground:update" | "playground:delete" | "playground:manage" | "ops:view" | "ops:manage" | "auditLog:view" | "virtualKeys:view" | "virtualKeys:create" | "virtualKeys:update" | "virtualKeys:delete" | "virtualKeys:rotate" | "virtualKeys:manage" | "virtualKeys:viewOtherPersonal" | "gatewayBudgets:view" | "gatewayBudgets:create" | "gatewayBudgets:update" | "gatewayBudgets:delete" | "gatewayBudgets:manage" | "gatewayProviders:view" | "gatewayProviders:update" | "gatewayProviders:manage" | "routingPolicies:view" | "routingPolicies:manage" | "gatewayGuardrails:view" | "gatewayGuardrails:attach" | "gatewayGuardrails:detach" | "gatewayGuardrails:manage" | "gatewayLogs:view" | "gatewayUsage:view" | "gatewayCacheRules:view" | "gatewayCacheRules:create" | "gatewayCacheRules:update" | "gatewayCacheRules:delete" | "gatewayCacheRules:manage" | "governance:view" | "governance:manage" | "ingestionSources:view" | "ingestionSources:create" | "ingestionSources:update" | "ingestionSources:delete" | "ingestionSources:manage" | "anomalyRules:view" | "anomalyRules:create" | "anomalyRules:update" | "anomalyRules:delete" | "anomalyRules:manage" | "complianceExport:view" | "activityMonitor:view" | "aiTools:view" | "aiTools:manage" | "webhookEndpoints:view" | "webhookEndpoints:manage" | "gatewaySpend:view" | "gatewaySpend:manage" | "langy:view" | "langy:create" | "langy:update" | "langy:delete" | "langy:manage" | "agentCache:view" | "agentCache:manage" | "featureFlags:manageExperiments" | "governanceCost:view" | "sso:view" | "sso:manage"))[];
3845
+ readonly gates: (("input" | "output" | "costs") | ("organization:view" | "organization:manage" | "organization:delete" | "project:view" | "project:create" | "project:update" | "project:delete" | "project:manage" | "team:view" | "team:manage" | "analytics:view" | "analytics:create" | "analytics:update" | "analytics:delete" | "analytics:manage" | "cost:view" | "traces:view" | "traces:create" | "traces:update" | "traces:share" | "scenarios:view" | "scenarios:create" | "scenarios:update" | "scenarios:delete" | "scenarios:manage" | "annotations:view" | "annotations:create" | "annotations:update" | "annotations:delete" | "annotations:manage" | "evaluations:view" | "evaluations:create" | "evaluations:update" | "evaluations:delete" | "evaluations:manage" | "datasets:view" | "datasets:create" | "datasets:update" | "datasets:delete" | "datasets:manage" | "triggers:view" | "triggers:create" | "triggers:update" | "triggers:delete" | "triggers:manage" | "workflows:view" | "workflows:create" | "workflows:update" | "workflows:delete" | "workflows:manage" | "experiments:view" | "experiments:create" | "experiments:update" | "experiments:delete" | "experiments:manage" | "prompts:view" | "prompts:create" | "prompts:update" | "prompts:delete" | "prompts:manage" | "secrets:view" | "secrets:create" | "secrets:update" | "secrets:delete" | "secrets:manage" | "playground:view" | "playground:create" | "playground:update" | "playground:delete" | "playground:manage" | "ops:view" | "ops:manage" | "auditLog:view" | "virtualKeys:view" | "virtualKeys:create" | "virtualKeys:update" | "virtualKeys:delete" | "virtualKeys:rotate" | "virtualKeys:manage" | "virtualKeys:viewOtherPersonal" | "gatewayBudgets:view" | "gatewayBudgets:create" | "gatewayBudgets:update" | "gatewayBudgets:delete" | "gatewayBudgets:manage" | "gatewayProviders:view" | "gatewayProviders:update" | "gatewayProviders:manage" | "routingPolicies:view" | "routingPolicies:manage" | "gatewayGuardrails:view" | "gatewayGuardrails:attach" | "gatewayGuardrails:detach" | "gatewayGuardrails:manage" | "gatewayLogs:view" | "gatewayUsage:view" | "gatewayCacheRules:view" | "gatewayCacheRules:create" | "gatewayCacheRules:update" | "gatewayCacheRules:delete" | "gatewayCacheRules:manage" | "governance:view" | "governance:manage" | "ingestionSources:view" | "ingestionSources:create" | "ingestionSources:update" | "ingestionSources:delete" | "ingestionSources:manage" | "anomalyRules:view" | "anomalyRules:create" | "anomalyRules:update" | "anomalyRules:delete" | "anomalyRules:manage" | "complianceExport:view" | "activityMonitor:view" | "aiTools:view" | "aiTools:manage" | "webhookEndpoints:view" | "webhookEndpoints:manage" | "gatewaySpend:view" | "gatewaySpend:manage" | "langy:view" | "langy:create" | "langy:update" | "langy:delete" | "langy:manage" | "agentCache:view" | "agentCache:manage" | "featureFlags:manageExperiments" | "governanceCost:view" | "sso:view" | "sso:manage" | "agents:deploy" | "evaluators:deploy"))[];
3537
3846
  available: boolean;
3538
3847
  }[];
3539
3848
  exampleSql: string;
@@ -3548,7 +3857,7 @@ interface operations {
3548
3857
  /** @enum {string} */
3549
3858
  kind: "extraction" | "eval";
3550
3859
  cap: number;
3551
- readonly gates: (("input" | "output" | "costs") | ("organization:view" | "organization:manage" | "organization:delete" | "project:view" | "project:create" | "project:update" | "project:delete" | "project:manage" | "team:view" | "team:manage" | "analytics:view" | "analytics:create" | "analytics:update" | "analytics:delete" | "analytics:manage" | "cost:view" | "traces:view" | "traces:create" | "traces:update" | "traces:share" | "scenarios:view" | "scenarios:create" | "scenarios:update" | "scenarios:delete" | "scenarios:manage" | "annotations:view" | "annotations:create" | "annotations:update" | "annotations:delete" | "annotations:manage" | "evaluations:view" | "evaluations:create" | "evaluations:update" | "evaluations:delete" | "evaluations:manage" | "datasets:view" | "datasets:create" | "datasets:update" | "datasets:delete" | "datasets:manage" | "triggers:view" | "triggers:create" | "triggers:update" | "triggers:delete" | "triggers:manage" | "workflows:view" | "workflows:create" | "workflows:update" | "workflows:delete" | "workflows:manage" | "experiments:view" | "experiments:create" | "experiments:update" | "experiments:delete" | "experiments:manage" | "prompts:view" | "prompts:create" | "prompts:update" | "prompts:delete" | "prompts:manage" | "secrets:view" | "secrets:create" | "secrets:update" | "secrets:delete" | "secrets:manage" | "playground:view" | "playground:create" | "playground:update" | "playground:delete" | "playground:manage" | "ops:view" | "ops:manage" | "auditLog:view" | "virtualKeys:view" | "virtualKeys:create" | "virtualKeys:update" | "virtualKeys:delete" | "virtualKeys:rotate" | "virtualKeys:manage" | "virtualKeys:viewOtherPersonal" | "gatewayBudgets:view" | "gatewayBudgets:create" | "gatewayBudgets:update" | "gatewayBudgets:delete" | "gatewayBudgets:manage" | "gatewayProviders:view" | "gatewayProviders:update" | "gatewayProviders:manage" | "routingPolicies:view" | "routingPolicies:manage" | "gatewayGuardrails:view" | "gatewayGuardrails:attach" | "gatewayGuardrails:detach" | "gatewayGuardrails:manage" | "gatewayLogs:view" | "gatewayUsage:view" | "gatewayCacheRules:view" | "gatewayCacheRules:create" | "gatewayCacheRules:update" | "gatewayCacheRules:delete" | "gatewayCacheRules:manage" | "governance:view" | "governance:manage" | "ingestionSources:view" | "ingestionSources:create" | "ingestionSources:update" | "ingestionSources:delete" | "ingestionSources:manage" | "anomalyRules:view" | "anomalyRules:create" | "anomalyRules:update" | "anomalyRules:delete" | "anomalyRules:manage" | "complianceExport:view" | "activityMonitor:view" | "aiTools:view" | "aiTools:manage" | "webhookEndpoints:view" | "webhookEndpoints:manage" | "gatewaySpend:view" | "gatewaySpend:manage" | "langy:view" | "langy:create" | "langy:update" | "langy:delete" | "langy:manage" | "agentCache:view" | "agentCache:manage" | "featureFlags:manageExperiments" | "governanceCost:view" | "sso:view" | "sso:manage"))[];
3860
+ readonly gates: (("input" | "output" | "costs") | ("organization:view" | "organization:manage" | "organization:delete" | "project:view" | "project:create" | "project:update" | "project:delete" | "project:manage" | "team:view" | "team:manage" | "analytics:view" | "analytics:create" | "analytics:update" | "analytics:delete" | "analytics:manage" | "cost:view" | "traces:view" | "traces:create" | "traces:update" | "traces:share" | "scenarios:view" | "scenarios:create" | "scenarios:update" | "scenarios:delete" | "scenarios:manage" | "annotations:view" | "annotations:create" | "annotations:update" | "annotations:delete" | "annotations:manage" | "evaluations:view" | "evaluations:create" | "evaluations:update" | "evaluations:delete" | "evaluations:manage" | "datasets:view" | "datasets:create" | "datasets:update" | "datasets:delete" | "datasets:manage" | "triggers:view" | "triggers:create" | "triggers:update" | "triggers:delete" | "triggers:manage" | "workflows:view" | "workflows:create" | "workflows:update" | "workflows:delete" | "workflows:manage" | "experiments:view" | "experiments:create" | "experiments:update" | "experiments:delete" | "experiments:manage" | "prompts:view" | "prompts:create" | "prompts:update" | "prompts:delete" | "prompts:manage" | "secrets:view" | "secrets:create" | "secrets:update" | "secrets:delete" | "secrets:manage" | "playground:view" | "playground:create" | "playground:update" | "playground:delete" | "playground:manage" | "ops:view" | "ops:manage" | "auditLog:view" | "virtualKeys:view" | "virtualKeys:create" | "virtualKeys:update" | "virtualKeys:delete" | "virtualKeys:rotate" | "virtualKeys:manage" | "virtualKeys:viewOtherPersonal" | "gatewayBudgets:view" | "gatewayBudgets:create" | "gatewayBudgets:update" | "gatewayBudgets:delete" | "gatewayBudgets:manage" | "gatewayProviders:view" | "gatewayProviders:update" | "gatewayProviders:manage" | "routingPolicies:view" | "routingPolicies:manage" | "gatewayGuardrails:view" | "gatewayGuardrails:attach" | "gatewayGuardrails:detach" | "gatewayGuardrails:manage" | "gatewayLogs:view" | "gatewayUsage:view" | "gatewayCacheRules:view" | "gatewayCacheRules:create" | "gatewayCacheRules:update" | "gatewayCacheRules:delete" | "gatewayCacheRules:manage" | "governance:view" | "governance:manage" | "ingestionSources:view" | "ingestionSources:create" | "ingestionSources:update" | "ingestionSources:delete" | "ingestionSources:manage" | "anomalyRules:view" | "anomalyRules:create" | "anomalyRules:update" | "anomalyRules:delete" | "anomalyRules:manage" | "complianceExport:view" | "activityMonitor:view" | "aiTools:view" | "aiTools:manage" | "webhookEndpoints:view" | "webhookEndpoints:manage" | "gatewaySpend:view" | "gatewaySpend:manage" | "langy:view" | "langy:create" | "langy:update" | "langy:delete" | "langy:manage" | "agentCache:view" | "agentCache:manage" | "featureFlags:manageExperiments" | "governanceCost:view" | "sso:view" | "sso:manage" | "agents:deploy" | "evaluators:deploy"))[];
3552
3861
  available: boolean;
3553
3862
  exampleSql: string;
3554
3863
  }[];
@@ -3606,7 +3915,7 @@ interface operations {
3606
3915
  description: string;
3607
3916
  }[];
3608
3917
  requires: {
3609
- readonly gates: (("input" | "output" | "costs") | ("organization:view" | "organization:manage" | "organization:delete" | "project:view" | "project:create" | "project:update" | "project:delete" | "project:manage" | "team:view" | "team:manage" | "analytics:view" | "analytics:create" | "analytics:update" | "analytics:delete" | "analytics:manage" | "cost:view" | "traces:view" | "traces:create" | "traces:update" | "traces:share" | "scenarios:view" | "scenarios:create" | "scenarios:update" | "scenarios:delete" | "scenarios:manage" | "annotations:view" | "annotations:create" | "annotations:update" | "annotations:delete" | "annotations:manage" | "evaluations:view" | "evaluations:create" | "evaluations:update" | "evaluations:delete" | "evaluations:manage" | "datasets:view" | "datasets:create" | "datasets:update" | "datasets:delete" | "datasets:manage" | "triggers:view" | "triggers:create" | "triggers:update" | "triggers:delete" | "triggers:manage" | "workflows:view" | "workflows:create" | "workflows:update" | "workflows:delete" | "workflows:manage" | "experiments:view" | "experiments:create" | "experiments:update" | "experiments:delete" | "experiments:manage" | "prompts:view" | "prompts:create" | "prompts:update" | "prompts:delete" | "prompts:manage" | "secrets:view" | "secrets:create" | "secrets:update" | "secrets:delete" | "secrets:manage" | "playground:view" | "playground:create" | "playground:update" | "playground:delete" | "playground:manage" | "ops:view" | "ops:manage" | "auditLog:view" | "virtualKeys:view" | "virtualKeys:create" | "virtualKeys:update" | "virtualKeys:delete" | "virtualKeys:rotate" | "virtualKeys:manage" | "virtualKeys:viewOtherPersonal" | "gatewayBudgets:view" | "gatewayBudgets:create" | "gatewayBudgets:update" | "gatewayBudgets:delete" | "gatewayBudgets:manage" | "gatewayProviders:view" | "gatewayProviders:update" | "gatewayProviders:manage" | "routingPolicies:view" | "routingPolicies:manage" | "gatewayGuardrails:view" | "gatewayGuardrails:attach" | "gatewayGuardrails:detach" | "gatewayGuardrails:manage" | "gatewayLogs:view" | "gatewayUsage:view" | "gatewayCacheRules:view" | "gatewayCacheRules:create" | "gatewayCacheRules:update" | "gatewayCacheRules:delete" | "gatewayCacheRules:manage" | "governance:view" | "governance:manage" | "ingestionSources:view" | "ingestionSources:create" | "ingestionSources:update" | "ingestionSources:delete" | "ingestionSources:manage" | "anomalyRules:view" | "anomalyRules:create" | "anomalyRules:update" | "anomalyRules:delete" | "anomalyRules:manage" | "complianceExport:view" | "activityMonitor:view" | "aiTools:view" | "aiTools:manage" | "webhookEndpoints:view" | "webhookEndpoints:manage" | "gatewaySpend:view" | "gatewaySpend:manage" | "langy:view" | "langy:create" | "langy:update" | "langy:delete" | "langy:manage" | "agentCache:view" | "agentCache:manage" | "featureFlags:manageExperiments" | "governanceCost:view" | "sso:view" | "sso:manage"))[];
3918
+ readonly gates: (("input" | "output" | "costs") | ("organization:view" | "organization:manage" | "organization:delete" | "project:view" | "project:create" | "project:update" | "project:delete" | "project:manage" | "team:view" | "team:manage" | "analytics:view" | "analytics:create" | "analytics:update" | "analytics:delete" | "analytics:manage" | "cost:view" | "traces:view" | "traces:create" | "traces:update" | "traces:share" | "scenarios:view" | "scenarios:create" | "scenarios:update" | "scenarios:delete" | "scenarios:manage" | "annotations:view" | "annotations:create" | "annotations:update" | "annotations:delete" | "annotations:manage" | "evaluations:view" | "evaluations:create" | "evaluations:update" | "evaluations:delete" | "evaluations:manage" | "datasets:view" | "datasets:create" | "datasets:update" | "datasets:delete" | "datasets:manage" | "triggers:view" | "triggers:create" | "triggers:update" | "triggers:delete" | "triggers:manage" | "workflows:view" | "workflows:create" | "workflows:update" | "workflows:delete" | "workflows:manage" | "experiments:view" | "experiments:create" | "experiments:update" | "experiments:delete" | "experiments:manage" | "prompts:view" | "prompts:create" | "prompts:update" | "prompts:delete" | "prompts:manage" | "secrets:view" | "secrets:create" | "secrets:update" | "secrets:delete" | "secrets:manage" | "playground:view" | "playground:create" | "playground:update" | "playground:delete" | "playground:manage" | "ops:view" | "ops:manage" | "auditLog:view" | "virtualKeys:view" | "virtualKeys:create" | "virtualKeys:update" | "virtualKeys:delete" | "virtualKeys:rotate" | "virtualKeys:manage" | "virtualKeys:viewOtherPersonal" | "gatewayBudgets:view" | "gatewayBudgets:create" | "gatewayBudgets:update" | "gatewayBudgets:delete" | "gatewayBudgets:manage" | "gatewayProviders:view" | "gatewayProviders:update" | "gatewayProviders:manage" | "routingPolicies:view" | "routingPolicies:manage" | "gatewayGuardrails:view" | "gatewayGuardrails:attach" | "gatewayGuardrails:detach" | "gatewayGuardrails:manage" | "gatewayLogs:view" | "gatewayUsage:view" | "gatewayCacheRules:view" | "gatewayCacheRules:create" | "gatewayCacheRules:update" | "gatewayCacheRules:delete" | "gatewayCacheRules:manage" | "governance:view" | "governance:manage" | "ingestionSources:view" | "ingestionSources:create" | "ingestionSources:update" | "ingestionSources:delete" | "ingestionSources:manage" | "anomalyRules:view" | "anomalyRules:create" | "anomalyRules:update" | "anomalyRules:delete" | "anomalyRules:manage" | "complianceExport:view" | "activityMonitor:view" | "aiTools:view" | "aiTools:manage" | "webhookEndpoints:view" | "webhookEndpoints:manage" | "gatewaySpend:view" | "gatewaySpend:manage" | "langy:view" | "langy:create" | "langy:update" | "langy:delete" | "langy:manage" | "agentCache:view" | "agentCache:manage" | "featureFlags:manageExperiments" | "governanceCost:view" | "sso:view" | "sso:manage" | "agents:deploy" | "evaluators:deploy"))[];
3610
3919
  readonly functions: string[];
3611
3920
  };
3612
3921
  available: boolean;
@@ -5102,7 +5411,6 @@ interface operations {
5102
5411
  description: string | null;
5103
5412
  /** @enum {string} */
5104
5413
  scope: "PRIVATE" | "PROJECT" | "ORGANIZATION";
5105
- excludedOrigins: string[] | null;
5106
5414
  createdById: string | null;
5107
5415
  createdAt: string;
5108
5416
  updatedAt: string;
@@ -5261,7 +5569,6 @@ interface operations {
5261
5569
  description: string | null;
5262
5570
  /** @enum {string} */
5263
5571
  scope: "PRIVATE" | "PROJECT" | "ORGANIZATION";
5264
- excludedOrigins: string[] | null;
5265
5572
  createdById: string | null;
5266
5573
  createdAt: string;
5267
5574
  updatedAt: string;
@@ -5414,7 +5721,6 @@ interface operations {
5414
5721
  description: string | null;
5415
5722
  /** @enum {string} */
5416
5723
  scope: "PRIVATE" | "PROJECT" | "ORGANIZATION";
5417
- excludedOrigins: string[] | null;
5418
5724
  createdById: string | null;
5419
5725
  createdAt: string;
5420
5726
  updatedAt: string;
@@ -5763,7 +6069,6 @@ interface operations {
5763
6069
  "application/json": {
5764
6070
  name?: string;
5765
6071
  description?: string | null;
5766
- excludedOrigins?: string[] | null;
5767
6072
  };
5768
6073
  };
5769
6074
  };
@@ -5780,7 +6085,6 @@ interface operations {
5780
6085
  description: string | null;
5781
6086
  /** @enum {string} */
5782
6087
  scope: "PRIVATE" | "PROJECT" | "ORGANIZATION";
5783
- excludedOrigins: string[] | null;
5784
6088
  createdById: string | null;
5785
6089
  createdAt: string;
5786
6090
  updatedAt: string;
@@ -5973,6 +6277,8 @@ interface operations {
5973
6277
  type: "string" | "number" | "boolean";
5974
6278
  default?: string | number | boolean;
5975
6279
  }[];
6280
+ sources?: ("application" | "simulation" | "evaluation" | "sample" | "coding_agent" | "ai_tool" | "gateway" | "workflow" | "playground" | "langy" | "other")[] | null;
6281
+ projects?: string[] | null;
5976
6282
  }[];
5977
6283
  description?: string;
5978
6284
  prompt?: string;
@@ -6178,6 +6484,8 @@ interface operations {
6178
6484
  type: "string" | "number" | "boolean";
6179
6485
  default?: string | number | boolean;
6180
6486
  }[];
6487
+ sources?: ("application" | "simulation" | "evaluation" | "sample" | "coding_agent" | "ai_tool" | "gateway" | "workflow" | "playground" | "langy" | "other")[] | null;
6488
+ projects?: string[] | null;
6181
6489
  }[];
6182
6490
  description?: string;
6183
6491
  prompt?: string;
@@ -6220,6 +6528,8 @@ interface operations {
6220
6528
  type: "string" | "number" | "boolean";
6221
6529
  default?: string | number | boolean;
6222
6530
  }[];
6531
+ sources?: ("application" | "simulation" | "evaluation" | "sample" | "coding_agent" | "ai_tool" | "gateway" | "workflow" | "playground" | "langy" | "other")[] | null;
6532
+ projects?: string[] | null;
6223
6533
  }[];
6224
6534
  description?: string;
6225
6535
  prompt?: string;
@@ -6434,6 +6744,8 @@ interface operations {
6434
6744
  type: "string" | "number" | "boolean";
6435
6745
  default?: string | number | boolean;
6436
6746
  }[];
6747
+ sources?: ("application" | "simulation" | "evaluation" | "sample" | "coding_agent" | "ai_tool" | "gateway" | "workflow" | "playground" | "langy" | "other")[] | null;
6748
+ projects?: string[] | null;
6437
6749
  }[];
6438
6750
  description?: string;
6439
6751
  prompt?: string;
@@ -6819,6 +7131,8 @@ interface operations {
6819
7131
  type: "string" | "number" | "boolean";
6820
7132
  default?: string | number | boolean;
6821
7133
  }[];
7134
+ sources?: ("application" | "simulation" | "evaluation" | "sample" | "coding_agent" | "ai_tool" | "gateway" | "workflow" | "playground" | "langy" | "other")[] | null;
7135
+ projects?: string[] | null;
6822
7136
  }[];
6823
7137
  description?: string;
6824
7138
  source?: {
@@ -6860,6 +7174,8 @@ interface operations {
6860
7174
  type: "string" | "number" | "boolean";
6861
7175
  default?: string | number | boolean;
6862
7176
  }[];
7177
+ sources?: ("application" | "simulation" | "evaluation" | "sample" | "coding_agent" | "ai_tool" | "gateway" | "workflow" | "playground" | "langy" | "other")[] | null;
7178
+ projects?: string[] | null;
6863
7179
  }[];
6864
7180
  description?: string;
6865
7181
  prompt?: string;
@@ -8988,6 +9304,23 @@ interface operations {
8988
9304
  }[];
8989
9305
  workflowName?: string;
8990
9306
  workflowIcon?: string;
9307
+ /** @description The version this response shows: the latest, unless a label or a version was asked for. */
9308
+ version: number | null;
9309
+ /** @description The deploy labels the evaluator carries, such as production, and the version each points at. */
9310
+ labels: {
9311
+ label: string;
9312
+ version: number;
9313
+ }[];
9314
+ /** @description The user who created the evaluator. Null when an API key created it, or it predates creators being recorded. */
9315
+ createdBy: {
9316
+ id: string;
9317
+ name: string | null;
9318
+ } | null;
9319
+ /** @description The user who changed the evaluator last. Null when an API key changed it. */
9320
+ updatedBy: {
9321
+ id: string;
9322
+ name: string | null;
9323
+ } | null;
8991
9324
  /** Format: uri */
8992
9325
  platformUrl: string;
8993
9326
  }[];
@@ -9046,6 +9379,23 @@ interface operations {
9046
9379
  }[];
9047
9380
  workflowName?: string;
9048
9381
  workflowIcon?: string;
9382
+ /** @description The version this response shows: the latest, unless a label or a version was asked for. */
9383
+ version: number | null;
9384
+ /** @description The deploy labels the evaluator carries, such as production, and the version each points at. */
9385
+ labels: {
9386
+ label: string;
9387
+ version: number;
9388
+ }[];
9389
+ /** @description The user who created the evaluator. Null when an API key created it, or it predates creators being recorded. */
9390
+ createdBy: {
9391
+ id: string;
9392
+ name: string | null;
9393
+ } | null;
9394
+ /** @description The user who changed the evaluator last. Null when an API key changed it. */
9395
+ updatedBy: {
9396
+ id: string;
9397
+ name: string | null;
9398
+ } | null;
9049
9399
  /** Format: uri */
9050
9400
  platformUrl: string;
9051
9401
  };
@@ -9055,7 +9405,12 @@ interface operations {
9055
9405
  };
9056
9406
  getApiEvaluatorsByIdOrSlug: {
9057
9407
  parameters: {
9058
- query?: never;
9408
+ query?: {
9409
+ /** @description A deploy label, for example production. Omit both to read the latest version. */
9410
+ label?: string;
9411
+ /** @description A version number. */
9412
+ version?: number;
9413
+ };
9059
9414
  header?: never;
9060
9415
  path: {
9061
9416
  /** @description The evaluator id or its project-unique slug. */
@@ -9098,6 +9453,23 @@ interface operations {
9098
9453
  }[];
9099
9454
  workflowName?: string;
9100
9455
  workflowIcon?: string;
9456
+ /** @description The version this response shows: the latest, unless a label or a version was asked for. */
9457
+ version: number | null;
9458
+ /** @description The deploy labels the evaluator carries, such as production, and the version each points at. */
9459
+ labels: {
9460
+ label: string;
9461
+ version: number;
9462
+ }[];
9463
+ /** @description The user who created the evaluator. Null when an API key created it, or it predates creators being recorded. */
9464
+ createdBy: {
9465
+ id: string;
9466
+ name: string | null;
9467
+ } | null;
9468
+ /** @description The user who changed the evaluator last. Null when an API key changed it. */
9469
+ updatedBy: {
9470
+ id: string;
9471
+ name: string | null;
9472
+ } | null;
9101
9473
  /** Format: uri */
9102
9474
  platformUrl: string;
9103
9475
  };
@@ -9134,6 +9506,8 @@ interface operations {
9134
9506
  config?: {
9135
9507
  [key: string]: unknown;
9136
9508
  };
9509
+ /** @description A note kept on the version this update appends. */
9510
+ commitMessage?: string;
9137
9511
  };
9138
9512
  };
9139
9513
  };
@@ -9171,6 +9545,23 @@ interface operations {
9171
9545
  }[];
9172
9546
  workflowName?: string;
9173
9547
  workflowIcon?: string;
9548
+ /** @description The version this response shows: the latest, unless a label or a version was asked for. */
9549
+ version: number | null;
9550
+ /** @description The deploy labels the evaluator carries, such as production, and the version each points at. */
9551
+ labels: {
9552
+ label: string;
9553
+ version: number;
9554
+ }[];
9555
+ /** @description The user who created the evaluator. Null when an API key created it, or it predates creators being recorded. */
9556
+ createdBy: {
9557
+ id: string;
9558
+ name: string | null;
9559
+ } | null;
9560
+ /** @description The user who changed the evaluator last. Null when an API key changed it. */
9561
+ updatedBy: {
9562
+ id: string;
9563
+ name: string | null;
9564
+ } | null;
9174
9565
  /** Format: uri */
9175
9566
  platformUrl: string;
9176
9567
  };
@@ -9239,6 +9630,171 @@ interface operations {
9239
9630
  };
9240
9631
  };
9241
9632
  };
9633
+ getApiEvaluatorsVersions: {
9634
+ parameters: {
9635
+ query?: never;
9636
+ header?: never;
9637
+ path: {
9638
+ /** @description The evaluator id. */
9639
+ evaluatorId: string;
9640
+ };
9641
+ cookie?: never;
9642
+ };
9643
+ requestBody?: never;
9644
+ responses: {
9645
+ /** @description Success */
9646
+ 200: {
9647
+ headers: {
9648
+ [name: string]: unknown;
9649
+ };
9650
+ content: {
9651
+ "application/json": {
9652
+ data: {
9653
+ id: string;
9654
+ evaluatorId: string;
9655
+ projectId: string;
9656
+ version: number;
9657
+ name: string;
9658
+ /** @enum {string} */
9659
+ type: "evaluator" | "code" | "workflow";
9660
+ config: {
9661
+ [key: string]: unknown;
9662
+ };
9663
+ workflowId: string | null;
9664
+ commitMessage: string | null;
9665
+ authorId: string | null;
9666
+ authorKind: ("user" | "api_key" | "system") | null;
9667
+ author: {
9668
+ id: string;
9669
+ name: string | null;
9670
+ email: string | null;
9671
+ } | null;
9672
+ /** Format: date-time */
9673
+ createdAt: string;
9674
+ labels: string[];
9675
+ }[];
9676
+ labels: {
9677
+ label: string;
9678
+ version: number;
9679
+ }[];
9680
+ };
9681
+ };
9682
+ };
9683
+ /** @description Not Found */
9684
+ 404: {
9685
+ headers: {
9686
+ [name: string]: unknown;
9687
+ };
9688
+ content: {
9689
+ "application/json": {
9690
+ error: string;
9691
+ message?: string;
9692
+ };
9693
+ };
9694
+ };
9695
+ };
9696
+ };
9697
+ putApiEvaluatorsLabel: {
9698
+ parameters: {
9699
+ query?: never;
9700
+ header?: never;
9701
+ path: {
9702
+ /** @description The evaluator id. */
9703
+ evaluatorId: string;
9704
+ /** @description The deploy label, for example production. */
9705
+ label: string;
9706
+ };
9707
+ cookie?: never;
9708
+ };
9709
+ requestBody: {
9710
+ content: {
9711
+ "application/json": {
9712
+ /** @description The version number the label points at. */
9713
+ version: number;
9714
+ };
9715
+ };
9716
+ };
9717
+ responses: {
9718
+ /** @description Success */
9719
+ 200: {
9720
+ headers: {
9721
+ [name: string]: unknown;
9722
+ };
9723
+ content: {
9724
+ "application/json": {
9725
+ label: string;
9726
+ version: number;
9727
+ versionId: string;
9728
+ };
9729
+ };
9730
+ };
9731
+ /** @description Bad Request */
9732
+ 400: {
9733
+ headers: {
9734
+ [name: string]: unknown;
9735
+ };
9736
+ content: {
9737
+ "application/json": {
9738
+ error: string;
9739
+ message?: string;
9740
+ };
9741
+ };
9742
+ };
9743
+ /** @description Not Found */
9744
+ 404: {
9745
+ headers: {
9746
+ [name: string]: unknown;
9747
+ };
9748
+ content: {
9749
+ "application/json": {
9750
+ error: string;
9751
+ message?: string;
9752
+ };
9753
+ };
9754
+ };
9755
+ };
9756
+ };
9757
+ deleteApiEvaluatorsLabel: {
9758
+ parameters: {
9759
+ query?: never;
9760
+ header?: never;
9761
+ path: {
9762
+ /** @description The evaluator id. */
9763
+ evaluatorId: string;
9764
+ /** @description The deploy label, for example production. */
9765
+ label: string;
9766
+ };
9767
+ cookie?: never;
9768
+ };
9769
+ requestBody?: never;
9770
+ responses: {
9771
+ /** @description Success */
9772
+ 200: {
9773
+ headers: {
9774
+ [name: string]: unknown;
9775
+ };
9776
+ content: {
9777
+ "application/json": {
9778
+ label: string;
9779
+ /** @constant */
9780
+ removed: true;
9781
+ };
9782
+ };
9783
+ };
9784
+ /** @description Not Found */
9785
+ 404: {
9786
+ headers: {
9787
+ [name: string]: unknown;
9788
+ };
9789
+ content: {
9790
+ "application/json": {
9791
+ error: string;
9792
+ message?: string;
9793
+ };
9794
+ };
9795
+ };
9796
+ };
9797
+ };
9242
9798
  postApiExperimentsBySlugRun: {
9243
9799
  parameters: {
9244
9800
  query?: never;
@@ -9256,10 +9812,12 @@ interface operations {
9256
9812
  [key: string]: unknown;
9257
9813
  }[];
9258
9814
  dataset_id?: string;
9815
+ dataset_version?: number;
9259
9816
  parameters?: {
9260
9817
  [key: string]: string | number | boolean;
9261
9818
  };
9262
9819
  row_indices?: number[];
9820
+ concurrency?: number;
9263
9821
  };
9264
9822
  };
9265
9823
  };
@@ -9297,7 +9855,7 @@ interface operations {
9297
9855
  };
9298
9856
  content?: never;
9299
9857
  };
9300
- /** @description No such experiment or run in this project */
9858
+ /** @description No such experiment in this project, or its dataset has no version `dataset_version` names (`dataset_version_not_found`) */
9301
9859
  404: {
9302
9860
  headers: {
9303
9861
  [name: string]: unknown;