langwatch 2.1.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.
- package/dist/agent/index.js +1 -1
- package/dist/agent/index.js.map +1 -1
- package/dist/agent/index.mjs +1 -1
- package/dist/agent/index.mjs.map +1 -1
- package/dist/{chunk-UHM5RXEW.mjs → chunk-OAAGWSLX.mjs} +2 -2
- package/dist/{chunk-XVXTLQGK.mjs → chunk-P65KWWFU.mjs} +2 -2
- package/dist/{chunk-XVXTLQGK.mjs.map → chunk-P65KWWFU.mjs.map} +1 -1
- package/dist/{chunk-4HRQZXNE.js → chunk-PDTYQM5C.js} +2 -2
- package/dist/{chunk-4HRQZXNE.js.map → chunk-PDTYQM5C.js.map} +1 -1
- package/dist/{chunk-VJK42Y3W.js → chunk-TQJS5H5P.js} +12 -12
- package/dist/{chunk-VJK42Y3W.js.map → chunk-TQJS5H5P.js.map} +1 -1
- package/dist/cli/bundle.js +941 -437
- package/dist/{implementation-CNNrmXZu.d.mts → implementation-CMJfitMa.d.mts} +1 -1
- package/dist/{implementation-Atjtldz3.d.ts → implementation-CaKFOMnp.d.ts} +1 -1
- package/dist/index.d.mts +67 -5
- package/dist/index.d.ts +67 -5
- package/dist/index.js +135 -41
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +105 -11
- package/dist/index.mjs.map +1 -1
- package/dist/observability-sdk/index.d.mts +3 -3
- package/dist/observability-sdk/index.d.ts +3 -3
- package/dist/observability-sdk/index.js +2 -2
- package/dist/observability-sdk/index.mjs +1 -1
- package/dist/observability-sdk/instrumentation/langchain/index.d.mts +1 -1
- package/dist/observability-sdk/instrumentation/langchain/index.d.ts +1 -1
- package/dist/observability-sdk/setup/node/index.js +3 -3
- package/dist/observability-sdk/setup/node/index.mjs +2 -2
- package/dist/{types--djDPuMb.d.ts → types-0leNdzy4.d.ts} +554 -11
- package/dist/{types-GklcWLfF.d.mts → types-DNjiOkpS.d.mts} +554 -11
- package/package.json +1 -1
- /package/dist/{chunk-UHM5RXEW.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
|
-
/**
|
|
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;
|
|
@@ -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?:
|
|
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;
|
|
@@ -3362,7 +3664,7 @@ interface operations {
|
|
|
3362
3664
|
type: string;
|
|
3363
3665
|
description: string;
|
|
3364
3666
|
unit: string | null;
|
|
3365
|
-
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"))[];
|
|
3366
3668
|
available: boolean;
|
|
3367
3669
|
}[];
|
|
3368
3670
|
exampleSql: string;
|
|
@@ -3377,7 +3679,7 @@ interface operations {
|
|
|
3377
3679
|
/** @enum {string} */
|
|
3378
3680
|
kind: "extraction" | "eval";
|
|
3379
3681
|
cap: number;
|
|
3380
|
-
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"))[];
|
|
3381
3683
|
available: boolean;
|
|
3382
3684
|
exampleSql: string;
|
|
3383
3685
|
}[];
|
|
@@ -3540,7 +3842,7 @@ interface operations {
|
|
|
3540
3842
|
type: string;
|
|
3541
3843
|
description: string;
|
|
3542
3844
|
unit: string | null;
|
|
3543
|
-
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"))[];
|
|
3544
3846
|
available: boolean;
|
|
3545
3847
|
}[];
|
|
3546
3848
|
exampleSql: string;
|
|
@@ -3555,7 +3857,7 @@ interface operations {
|
|
|
3555
3857
|
/** @enum {string} */
|
|
3556
3858
|
kind: "extraction" | "eval";
|
|
3557
3859
|
cap: number;
|
|
3558
|
-
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"))[];
|
|
3559
3861
|
available: boolean;
|
|
3560
3862
|
exampleSql: string;
|
|
3561
3863
|
}[];
|
|
@@ -3613,7 +3915,7 @@ interface operations {
|
|
|
3613
3915
|
description: string;
|
|
3614
3916
|
}[];
|
|
3615
3917
|
requires: {
|
|
3616
|
-
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"))[];
|
|
3617
3919
|
readonly functions: string[];
|
|
3618
3920
|
};
|
|
3619
3921
|
available: boolean;
|
|
@@ -9002,6 +9304,23 @@ interface operations {
|
|
|
9002
9304
|
}[];
|
|
9003
9305
|
workflowName?: string;
|
|
9004
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;
|
|
9005
9324
|
/** Format: uri */
|
|
9006
9325
|
platformUrl: string;
|
|
9007
9326
|
}[];
|
|
@@ -9060,6 +9379,23 @@ interface operations {
|
|
|
9060
9379
|
}[];
|
|
9061
9380
|
workflowName?: string;
|
|
9062
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;
|
|
9063
9399
|
/** Format: uri */
|
|
9064
9400
|
platformUrl: string;
|
|
9065
9401
|
};
|
|
@@ -9069,7 +9405,12 @@ interface operations {
|
|
|
9069
9405
|
};
|
|
9070
9406
|
getApiEvaluatorsByIdOrSlug: {
|
|
9071
9407
|
parameters: {
|
|
9072
|
-
query?:
|
|
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
|
+
};
|
|
9073
9414
|
header?: never;
|
|
9074
9415
|
path: {
|
|
9075
9416
|
/** @description The evaluator id or its project-unique slug. */
|
|
@@ -9112,6 +9453,23 @@ interface operations {
|
|
|
9112
9453
|
}[];
|
|
9113
9454
|
workflowName?: string;
|
|
9114
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;
|
|
9115
9473
|
/** Format: uri */
|
|
9116
9474
|
platformUrl: string;
|
|
9117
9475
|
};
|
|
@@ -9148,6 +9506,8 @@ interface operations {
|
|
|
9148
9506
|
config?: {
|
|
9149
9507
|
[key: string]: unknown;
|
|
9150
9508
|
};
|
|
9509
|
+
/** @description A note kept on the version this update appends. */
|
|
9510
|
+
commitMessage?: string;
|
|
9151
9511
|
};
|
|
9152
9512
|
};
|
|
9153
9513
|
};
|
|
@@ -9185,6 +9545,23 @@ interface operations {
|
|
|
9185
9545
|
}[];
|
|
9186
9546
|
workflowName?: string;
|
|
9187
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;
|
|
9188
9565
|
/** Format: uri */
|
|
9189
9566
|
platformUrl: string;
|
|
9190
9567
|
};
|
|
@@ -9253,6 +9630,171 @@ interface operations {
|
|
|
9253
9630
|
};
|
|
9254
9631
|
};
|
|
9255
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
|
+
};
|
|
9256
9798
|
postApiExperimentsBySlugRun: {
|
|
9257
9799
|
parameters: {
|
|
9258
9800
|
query?: never;
|
|
@@ -9270,6 +9812,7 @@ interface operations {
|
|
|
9270
9812
|
[key: string]: unknown;
|
|
9271
9813
|
}[];
|
|
9272
9814
|
dataset_id?: string;
|
|
9815
|
+
dataset_version?: number;
|
|
9273
9816
|
parameters?: {
|
|
9274
9817
|
[key: string]: string | number | boolean;
|
|
9275
9818
|
};
|
|
@@ -9312,7 +9855,7 @@ interface operations {
|
|
|
9312
9855
|
};
|
|
9313
9856
|
content?: never;
|
|
9314
9857
|
};
|
|
9315
|
-
/** @description No such experiment
|
|
9858
|
+
/** @description No such experiment in this project, or its dataset has no version `dataset_version` names (`dataset_version_not_found`) */
|
|
9316
9859
|
404: {
|
|
9317
9860
|
headers: {
|
|
9318
9861
|
[name: string]: unknown;
|