@arizeai/phoenix-client 6.8.0 → 6.9.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/README.md +77 -0
- package/dist/esm/__generated__/api/v1.d.ts +313 -19
- package/dist/esm/__generated__/api/v1.d.ts.map +1 -1
- package/dist/esm/constants/serverRequirements.d.ts +2 -0
- package/dist/esm/constants/serverRequirements.d.ts.map +1 -1
- package/dist/esm/constants/serverRequirements.js +15 -0
- package/dist/esm/constants/serverRequirements.js.map +1 -1
- package/dist/esm/datasets/appendDatasetExamples.d.ts +9 -3
- package/dist/esm/datasets/appendDatasetExamples.d.ts.map +1 -1
- package/dist/esm/datasets/appendDatasetExamples.js +23 -3
- package/dist/esm/datasets/appendDatasetExamples.js.map +1 -1
- package/dist/esm/datasets/createDataset.d.ts +4 -1
- package/dist/esm/datasets/createDataset.d.ts.map +1 -1
- package/dist/esm/datasets/createDataset.js +38 -3
- package/dist/esm/datasets/createDataset.js.map +1 -1
- package/dist/esm/datasets/getDatasetExamples.d.ts.map +1 -1
- package/dist/esm/datasets/getDatasetExamples.js +3 -2
- package/dist/esm/datasets/getDatasetExamples.js.map +1 -1
- package/dist/esm/datasets/index.d.ts +0 -1
- package/dist/esm/datasets/index.d.ts.map +1 -1
- package/dist/esm/datasets/index.js +0 -1
- package/dist/esm/datasets/index.js.map +1 -1
- package/dist/esm/experiments/resumeEvaluation.d.ts.map +1 -1
- package/dist/esm/experiments/resumeEvaluation.js +2 -1
- package/dist/esm/experiments/resumeEvaluation.js.map +1 -1
- package/dist/esm/experiments/resumeExperiment.d.ts.map +1 -1
- package/dist/esm/experiments/resumeExperiment.js +3 -2
- package/dist/esm/experiments/resumeExperiment.js.map +1 -1
- package/dist/esm/experiments/runExperiment.js +1 -1
- package/dist/esm/experiments/runExperiment.js.map +1 -1
- package/dist/esm/sessions/addSessionNote.d.ts +45 -0
- package/dist/esm/sessions/addSessionNote.d.ts.map +1 -0
- package/dist/esm/sessions/addSessionNote.js +45 -0
- package/dist/esm/sessions/addSessionNote.js.map +1 -0
- package/dist/esm/sessions/index.d.ts +1 -0
- package/dist/esm/sessions/index.d.ts.map +1 -1
- package/dist/esm/sessions/index.js +1 -0
- package/dist/esm/sessions/index.js.map +1 -1
- package/dist/esm/spans/addSpanNote.d.ts +5 -3
- package/dist/esm/spans/addSpanNote.d.ts.map +1 -1
- package/dist/esm/spans/addSpanNote.js +7 -4
- package/dist/esm/spans/addSpanNote.js.map +1 -1
- package/dist/esm/traces/addTraceAnnotation.d.ts +43 -0
- package/dist/esm/traces/addTraceAnnotation.d.ts.map +1 -0
- package/dist/esm/traces/addTraceAnnotation.js +43 -0
- package/dist/esm/traces/addTraceAnnotation.js.map +1 -0
- package/dist/esm/traces/addTraceNote.d.ts +5 -2
- package/dist/esm/traces/addTraceNote.d.ts.map +1 -1
- package/dist/esm/traces/addTraceNote.js +7 -3
- package/dist/esm/traces/addTraceNote.js.map +1 -1
- package/dist/esm/traces/index.d.ts +3 -0
- package/dist/esm/traces/index.d.ts.map +1 -1
- package/dist/esm/traces/index.js +2 -0
- package/dist/esm/traces/index.js.map +1 -1
- package/dist/esm/traces/logTraceAnnotations.d.ts +53 -0
- package/dist/esm/traces/logTraceAnnotations.d.ts.map +1 -0
- package/dist/esm/traces/logTraceAnnotations.js +50 -0
- package/dist/esm/traces/logTraceAnnotations.js.map +1 -0
- package/dist/esm/traces/types.d.ts +24 -0
- package/dist/esm/traces/types.d.ts.map +1 -0
- package/dist/esm/traces/types.js +38 -0
- package/dist/esm/traces/types.js.map +1 -0
- package/dist/esm/tsconfig.esm.tsbuildinfo +1 -1
- package/dist/esm/types/datasets.d.ts +10 -1
- package/dist/esm/types/datasets.d.ts.map +1 -1
- package/dist/esm/utils/apiErrorUtils.d.ts +2 -0
- package/dist/esm/utils/apiErrorUtils.d.ts.map +1 -0
- package/dist/esm/utils/apiErrorUtils.js +19 -0
- package/dist/esm/utils/apiErrorUtils.js.map +1 -0
- package/dist/esm/utils/formatPromptMessages.d.ts.map +1 -1
- package/dist/esm/utils/getPromptBySelector.d.ts.map +1 -1
- package/dist/src/__generated__/api/v1.d.ts +313 -19
- package/dist/src/__generated__/api/v1.d.ts.map +1 -1
- package/dist/src/constants/serverRequirements.d.ts +2 -0
- package/dist/src/constants/serverRequirements.d.ts.map +1 -1
- package/dist/src/constants/serverRequirements.js +16 -1
- package/dist/src/constants/serverRequirements.js.map +1 -1
- package/dist/src/datasets/appendDatasetExamples.d.ts +9 -3
- package/dist/src/datasets/appendDatasetExamples.d.ts.map +1 -1
- package/dist/src/datasets/appendDatasetExamples.js +24 -5
- package/dist/src/datasets/appendDatasetExamples.js.map +1 -1
- package/dist/src/datasets/createDataset.d.ts +4 -1
- package/dist/src/datasets/createDataset.d.ts.map +1 -1
- package/dist/src/datasets/createDataset.js +42 -5
- package/dist/src/datasets/createDataset.js.map +1 -1
- package/dist/src/datasets/getDatasetExamples.d.ts.map +1 -1
- package/dist/src/datasets/getDatasetExamples.js +15 -1
- package/dist/src/datasets/getDatasetExamples.js.map +1 -1
- package/dist/src/datasets/index.d.ts +0 -1
- package/dist/src/datasets/index.d.ts.map +1 -1
- package/dist/src/datasets/index.js +0 -1
- package/dist/src/datasets/index.js.map +1 -1
- package/dist/src/experiments/resumeEvaluation.d.ts.map +1 -1
- package/dist/src/experiments/resumeEvaluation.js +2 -1
- package/dist/src/experiments/resumeEvaluation.js.map +1 -1
- package/dist/src/experiments/resumeExperiment.d.ts.map +1 -1
- package/dist/src/experiments/resumeExperiment.js +3 -2
- package/dist/src/experiments/resumeExperiment.js.map +1 -1
- package/dist/src/experiments/runExperiment.js +1 -1
- package/dist/src/experiments/runExperiment.js.map +1 -1
- package/dist/src/sessions/addSessionNote.d.ts +45 -0
- package/dist/src/sessions/addSessionNote.d.ts.map +1 -0
- package/dist/src/sessions/addSessionNote.js +48 -0
- package/dist/src/sessions/addSessionNote.js.map +1 -0
- package/dist/src/sessions/index.d.ts +1 -0
- package/dist/src/sessions/index.d.ts.map +1 -1
- package/dist/src/sessions/index.js +1 -0
- package/dist/src/sessions/index.js.map +1 -1
- package/dist/src/spans/addSpanNote.d.ts +5 -3
- package/dist/src/spans/addSpanNote.d.ts.map +1 -1
- package/dist/src/spans/addSpanNote.js +7 -4
- package/dist/src/spans/addSpanNote.js.map +1 -1
- package/dist/src/traces/addTraceAnnotation.d.ts +43 -0
- package/dist/src/traces/addTraceAnnotation.d.ts.map +1 -0
- package/dist/src/traces/addTraceAnnotation.js +47 -0
- package/dist/src/traces/addTraceAnnotation.js.map +1 -0
- package/dist/src/traces/addTraceNote.d.ts +5 -2
- package/dist/src/traces/addTraceNote.d.ts.map +1 -1
- package/dist/src/traces/addTraceNote.js +7 -3
- package/dist/src/traces/addTraceNote.js.map +1 -1
- package/dist/src/traces/index.d.ts +3 -0
- package/dist/src/traces/index.d.ts.map +1 -1
- package/dist/src/traces/index.js +2 -0
- package/dist/src/traces/index.js.map +1 -1
- package/dist/src/traces/logTraceAnnotations.d.ts +53 -0
- package/dist/src/traces/logTraceAnnotations.d.ts.map +1 -0
- package/dist/src/traces/logTraceAnnotations.js +53 -0
- package/dist/src/traces/logTraceAnnotations.js.map +1 -0
- package/dist/src/traces/types.d.ts +24 -0
- package/dist/src/traces/types.d.ts.map +1 -0
- package/dist/src/traces/types.js +42 -0
- package/dist/src/traces/types.js.map +1 -0
- package/dist/src/types/datasets.d.ts +10 -1
- package/dist/src/types/datasets.d.ts.map +1 -1
- package/dist/src/utils/apiErrorUtils.d.ts +2 -0
- package/dist/src/utils/apiErrorUtils.d.ts.map +1 -0
- package/dist/src/utils/apiErrorUtils.js +22 -0
- package/dist/src/utils/apiErrorUtils.js.map +1 -0
- package/dist/src/utils/formatPromptMessages.d.ts.map +1 -1
- package/dist/src/utils/getPromptBySelector.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/src/__generated__/api/v1.ts +313 -19
- package/src/constants/serverRequirements.ts +17 -0
- package/src/datasets/appendDatasetExamples.ts +26 -5
- package/src/datasets/createDataset.ts +66 -18
- package/src/datasets/getDatasetExamples.ts +7 -4
- package/src/datasets/index.ts +0 -1
- package/src/experiments/resumeEvaluation.ts +2 -1
- package/src/experiments/resumeExperiment.ts +3 -2
- package/src/experiments/runExperiment.ts +1 -1
- package/src/sessions/addSessionNote.ts +74 -0
- package/src/sessions/index.ts +1 -0
- package/src/spans/addSpanNote.ts +7 -4
- package/src/traces/addTraceAnnotation.ts +65 -0
- package/src/traces/addTraceNote.ts +7 -3
- package/src/traces/index.ts +3 -0
- package/src/traces/logTraceAnnotations.ts +75 -0
- package/src/traces/types.ts +72 -0
- package/src/types/datasets.ts +10 -1
- package/src/utils/apiErrorUtils.ts +17 -0
- package/dist/esm/datasets/createOrGetDataset.d.ts +0 -18
- package/dist/esm/datasets/createOrGetDataset.d.ts.map +0 -1
- package/dist/esm/datasets/createOrGetDataset.js +0 -29
- package/dist/esm/datasets/createOrGetDataset.js.map +0 -1
- package/dist/src/datasets/createOrGetDataset.d.ts +0 -18
- package/dist/src/datasets/createOrGetDataset.d.ts.map +0 -1
- package/dist/src/datasets/createOrGetDataset.js +0 -32
- package/dist/src/datasets/createOrGetDataset.js.map +0 -1
- package/src/datasets/createOrGetDataset.ts +0 -40
|
@@ -66,7 +66,10 @@ export interface paths {
|
|
|
66
66
|
path?: never;
|
|
67
67
|
cookie?: never;
|
|
68
68
|
};
|
|
69
|
-
/**
|
|
69
|
+
/**
|
|
70
|
+
* Get span annotations filtered by span_ids and/or identifier.
|
|
71
|
+
* @description Return span annotations for a project, filtered by `span_ids`, `identifier`, or both. At least one of `span_ids` or `identifier` must be supplied. When both are supplied, results are the AND-intersection of the two filters.
|
|
72
|
+
*/
|
|
70
73
|
get: operations["listSpanAnnotationsBySpanIds"];
|
|
71
74
|
put?: never;
|
|
72
75
|
post?: never;
|
|
@@ -83,7 +86,10 @@ export interface paths {
|
|
|
83
86
|
path?: never;
|
|
84
87
|
cookie?: never;
|
|
85
88
|
};
|
|
86
|
-
/**
|
|
89
|
+
/**
|
|
90
|
+
* Get trace annotations filtered by trace_ids and/or identifier.
|
|
91
|
+
* @description Return trace annotations for a project, filtered by `trace_ids`, `identifier`, or both. At least one of `trace_ids` or `identifier` must be supplied. When both are supplied, results are the AND-intersection of the two filters.
|
|
92
|
+
*/
|
|
87
93
|
get: operations["listTraceAnnotationsByTraceIds"];
|
|
88
94
|
put?: never;
|
|
89
95
|
post?: never;
|
|
@@ -100,7 +106,10 @@ export interface paths {
|
|
|
100
106
|
path?: never;
|
|
101
107
|
cookie?: never;
|
|
102
108
|
};
|
|
103
|
-
/**
|
|
109
|
+
/**
|
|
110
|
+
* Get session annotations filtered by session_ids and/or identifier.
|
|
111
|
+
* @description Return session annotations for a project, filtered by `session_ids`, `identifier`, or both. At least one of `session_ids` or `identifier` must be supplied. When both are supplied, results are the AND-intersection of the two filters.
|
|
112
|
+
*/
|
|
104
113
|
get: operations["listSessionAnnotationsBySessionIds"];
|
|
105
114
|
put?: never;
|
|
106
115
|
post?: never;
|
|
@@ -213,6 +222,23 @@ export interface paths {
|
|
|
213
222
|
patch?: never;
|
|
214
223
|
trace?: never;
|
|
215
224
|
};
|
|
225
|
+
"/v1/datasets/{id}/jsonl": {
|
|
226
|
+
parameters: {
|
|
227
|
+
query?: never;
|
|
228
|
+
header?: never;
|
|
229
|
+
path?: never;
|
|
230
|
+
cookie?: never;
|
|
231
|
+
};
|
|
232
|
+
/** Download dataset examples as JSONL file */
|
|
233
|
+
get: operations["getDatasetJSONL"];
|
|
234
|
+
put?: never;
|
|
235
|
+
post?: never;
|
|
236
|
+
delete?: never;
|
|
237
|
+
options?: never;
|
|
238
|
+
head?: never;
|
|
239
|
+
patch?: never;
|
|
240
|
+
trace?: never;
|
|
241
|
+
};
|
|
216
242
|
"/v1/datasets/{id}/jsonl/openai_ft": {
|
|
217
243
|
parameters: {
|
|
218
244
|
query?: never;
|
|
@@ -468,7 +494,7 @@ export interface paths {
|
|
|
468
494
|
put?: never;
|
|
469
495
|
/**
|
|
470
496
|
* Create a trace note
|
|
471
|
-
* @description Add a note annotation to a trace.
|
|
497
|
+
* @description Add a note annotation to a trace. Each call appends a new note with an auto-generated UUIDv4 identifier, so multiple notes accumulate on the same trace. Structured annotations, by contrast, are keyed by (name, trace_id, identifier) — re-writing the same key overwrites the existing annotation, so to keep multiple structured annotations with the same name on a trace you must supply distinct identifiers.
|
|
472
498
|
*/
|
|
473
499
|
post: operations["createTraceNote"];
|
|
474
500
|
delete?: never;
|
|
@@ -573,7 +599,7 @@ export interface paths {
|
|
|
573
599
|
put?: never;
|
|
574
600
|
/**
|
|
575
601
|
* Create a span note
|
|
576
|
-
* @description Add a note annotation to a span.
|
|
602
|
+
* @description Add a note annotation to a span. Each call appends a new note with an auto-generated UUIDv4 identifier, so multiple notes accumulate on the same span. Structured annotations, by contrast, are keyed by (name, span_id, identifier) — re-writing the same key overwrites the existing annotation, so to keep multiple structured annotations with the same name on a span you must supply distinct identifiers.
|
|
577
603
|
*/
|
|
578
604
|
post: operations["createSpanNote"];
|
|
579
605
|
delete?: never;
|
|
@@ -913,6 +939,26 @@ export interface paths {
|
|
|
913
939
|
patch?: never;
|
|
914
940
|
trace?: never;
|
|
915
941
|
};
|
|
942
|
+
"/v1/session_notes": {
|
|
943
|
+
parameters: {
|
|
944
|
+
query?: never;
|
|
945
|
+
header?: never;
|
|
946
|
+
path?: never;
|
|
947
|
+
cookie?: never;
|
|
948
|
+
};
|
|
949
|
+
get?: never;
|
|
950
|
+
put?: never;
|
|
951
|
+
/**
|
|
952
|
+
* Create a session note
|
|
953
|
+
* @description Add a note annotation to a session. Each call appends a new note with an auto-generated UUIDv4 identifier, so multiple notes accumulate on the same session. Structured annotations, by contrast, are keyed by (name, session_id, identifier) — re-writing the same key overwrites the existing annotation, so to keep multiple structured annotations with the same name on a session you must supply distinct identifiers.
|
|
954
|
+
*/
|
|
955
|
+
post: operations["createSessionNote"];
|
|
956
|
+
delete?: never;
|
|
957
|
+
options?: never;
|
|
958
|
+
head?: never;
|
|
959
|
+
patch?: never;
|
|
960
|
+
trace?: never;
|
|
961
|
+
};
|
|
916
962
|
"/v1/document_annotations": {
|
|
917
963
|
parameters: {
|
|
918
964
|
query?: never;
|
|
@@ -1284,6 +1330,14 @@ export interface components {
|
|
|
1284
1330
|
CreatePromptResponseBody: {
|
|
1285
1331
|
data: components["schemas"]["PromptVersion"];
|
|
1286
1332
|
};
|
|
1333
|
+
/** CreateSessionNoteRequestBody */
|
|
1334
|
+
CreateSessionNoteRequestBody: {
|
|
1335
|
+
data: components["schemas"]["SessionNoteData"];
|
|
1336
|
+
};
|
|
1337
|
+
/** CreateSessionNoteResponseBody */
|
|
1338
|
+
CreateSessionNoteResponseBody: {
|
|
1339
|
+
data: components["schemas"]["InsertedSessionAnnotation"];
|
|
1340
|
+
};
|
|
1287
1341
|
/** CreateSpanNoteRequestBody */
|
|
1288
1342
|
CreateSpanNoteRequestBody: {
|
|
1289
1343
|
data: components["schemas"]["SpanNoteData"];
|
|
@@ -1362,6 +1416,8 @@ export interface components {
|
|
|
1362
1416
|
DatasetExample: {
|
|
1363
1417
|
/** Id */
|
|
1364
1418
|
id: string;
|
|
1419
|
+
/** Node Id */
|
|
1420
|
+
node_id: string;
|
|
1365
1421
|
/** Input */
|
|
1366
1422
|
input: {
|
|
1367
1423
|
[key: string]: unknown;
|
|
@@ -2214,8 +2270,34 @@ export interface components {
|
|
|
2214
2270
|
top_p?: number;
|
|
2215
2271
|
/** Stop Sequences */
|
|
2216
2272
|
stop_sequences?: string[];
|
|
2273
|
+
output_config?: components["schemas"]["PromptAnthropicOutputConfig"];
|
|
2217
2274
|
/** Thinking */
|
|
2218
|
-
thinking?: components["schemas"]["PromptAnthropicThinkingConfigDisabled"] | components["schemas"]["PromptAnthropicThinkingConfigEnabled"];
|
|
2275
|
+
thinking?: components["schemas"]["PromptAnthropicThinkingConfigDisabled"] | components["schemas"]["PromptAnthropicThinkingConfigEnabled"] | components["schemas"]["PromptAnthropicThinkingConfigAdaptive"];
|
|
2276
|
+
/** Extra Body */
|
|
2277
|
+
extra_body?: {
|
|
2278
|
+
[key: string]: unknown;
|
|
2279
|
+
};
|
|
2280
|
+
};
|
|
2281
|
+
/** PromptAnthropicOutputConfig */
|
|
2282
|
+
PromptAnthropicOutputConfig: {
|
|
2283
|
+
/**
|
|
2284
|
+
* Effort
|
|
2285
|
+
* @enum {string}
|
|
2286
|
+
*/
|
|
2287
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max";
|
|
2288
|
+
};
|
|
2289
|
+
/** PromptAnthropicThinkingConfigAdaptive */
|
|
2290
|
+
PromptAnthropicThinkingConfigAdaptive: {
|
|
2291
|
+
/**
|
|
2292
|
+
* @description discriminator enum property added by openapi-typescript
|
|
2293
|
+
* @enum {string}
|
|
2294
|
+
*/
|
|
2295
|
+
type: "adaptive";
|
|
2296
|
+
/**
|
|
2297
|
+
* Display
|
|
2298
|
+
* @enum {string}
|
|
2299
|
+
*/
|
|
2300
|
+
display?: "summarized" | "omitted";
|
|
2219
2301
|
};
|
|
2220
2302
|
/** PromptAnthropicThinkingConfigDisabled */
|
|
2221
2303
|
PromptAnthropicThinkingConfigDisabled: {
|
|
@@ -2234,6 +2316,11 @@ export interface components {
|
|
|
2234
2316
|
type: "enabled";
|
|
2235
2317
|
/** Budget Tokens */
|
|
2236
2318
|
budget_tokens: number;
|
|
2319
|
+
/**
|
|
2320
|
+
* Display
|
|
2321
|
+
* @enum {string}
|
|
2322
|
+
*/
|
|
2323
|
+
display?: "summarized" | "omitted";
|
|
2237
2324
|
};
|
|
2238
2325
|
/** PromptAwsInvocationParameters */
|
|
2239
2326
|
PromptAwsInvocationParameters: {
|
|
@@ -2252,6 +2339,8 @@ export interface components {
|
|
|
2252
2339
|
temperature?: number;
|
|
2253
2340
|
/** Top P */
|
|
2254
2341
|
top_p?: number;
|
|
2342
|
+
/** Stop Sequences */
|
|
2343
|
+
stop_sequences?: string[];
|
|
2255
2344
|
};
|
|
2256
2345
|
/** PromptAzureOpenAIInvocationParameters */
|
|
2257
2346
|
PromptAzureOpenAIInvocationParameters: {
|
|
@@ -2278,11 +2367,17 @@ export interface components {
|
|
|
2278
2367
|
top_p?: number;
|
|
2279
2368
|
/** Seed */
|
|
2280
2369
|
seed?: number;
|
|
2370
|
+
/** Stop */
|
|
2371
|
+
stop?: string[];
|
|
2281
2372
|
/**
|
|
2282
2373
|
* Reasoning Effort
|
|
2283
2374
|
* @enum {string}
|
|
2284
2375
|
*/
|
|
2285
2376
|
reasoning_effort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh";
|
|
2377
|
+
/** Extra Body */
|
|
2378
|
+
extra_body?: {
|
|
2379
|
+
[key: string]: unknown;
|
|
2380
|
+
};
|
|
2286
2381
|
};
|
|
2287
2382
|
/** PromptCerebrasInvocationParameters */
|
|
2288
2383
|
PromptCerebrasInvocationParameters: {
|
|
@@ -2309,11 +2404,17 @@ export interface components {
|
|
|
2309
2404
|
top_p?: number;
|
|
2310
2405
|
/** Seed */
|
|
2311
2406
|
seed?: number;
|
|
2407
|
+
/** Stop */
|
|
2408
|
+
stop?: string[];
|
|
2312
2409
|
/**
|
|
2313
2410
|
* Reasoning Effort
|
|
2314
2411
|
* @enum {string}
|
|
2315
2412
|
*/
|
|
2316
2413
|
reasoning_effort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh";
|
|
2414
|
+
/** Extra Body */
|
|
2415
|
+
extra_body?: {
|
|
2416
|
+
[key: string]: unknown;
|
|
2417
|
+
};
|
|
2317
2418
|
};
|
|
2318
2419
|
/** PromptChatTemplate */
|
|
2319
2420
|
PromptChatTemplate: {
|
|
@@ -2362,11 +2463,17 @@ export interface components {
|
|
|
2362
2463
|
top_p?: number;
|
|
2363
2464
|
/** Seed */
|
|
2364
2465
|
seed?: number;
|
|
2466
|
+
/** Stop */
|
|
2467
|
+
stop?: string[];
|
|
2365
2468
|
/**
|
|
2366
2469
|
* Reasoning Effort
|
|
2367
2470
|
* @enum {string}
|
|
2368
2471
|
*/
|
|
2369
2472
|
reasoning_effort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh";
|
|
2473
|
+
/** Extra Body */
|
|
2474
|
+
extra_body?: {
|
|
2475
|
+
[key: string]: unknown;
|
|
2476
|
+
};
|
|
2370
2477
|
};
|
|
2371
2478
|
/** PromptFireworksInvocationParameters */
|
|
2372
2479
|
PromptFireworksInvocationParameters: {
|
|
@@ -2393,11 +2500,17 @@ export interface components {
|
|
|
2393
2500
|
top_p?: number;
|
|
2394
2501
|
/** Seed */
|
|
2395
2502
|
seed?: number;
|
|
2503
|
+
/** Stop */
|
|
2504
|
+
stop?: string[];
|
|
2396
2505
|
/**
|
|
2397
2506
|
* Reasoning Effort
|
|
2398
2507
|
* @enum {string}
|
|
2399
2508
|
*/
|
|
2400
2509
|
reasoning_effort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh";
|
|
2510
|
+
/** Extra Body */
|
|
2511
|
+
extra_body?: {
|
|
2512
|
+
[key: string]: unknown;
|
|
2513
|
+
};
|
|
2401
2514
|
};
|
|
2402
2515
|
/** PromptGoogleInvocationParameters */
|
|
2403
2516
|
PromptGoogleInvocationParameters: {
|
|
@@ -2424,6 +2537,19 @@ export interface components {
|
|
|
2424
2537
|
top_p?: number;
|
|
2425
2538
|
/** Top K */
|
|
2426
2539
|
top_k?: number;
|
|
2540
|
+
thinking_config?: components["schemas"]["PromptGoogleThinkingConfig"];
|
|
2541
|
+
};
|
|
2542
|
+
/** PromptGoogleThinkingConfig */
|
|
2543
|
+
PromptGoogleThinkingConfig: {
|
|
2544
|
+
/** Thinking Budget */
|
|
2545
|
+
thinking_budget?: number;
|
|
2546
|
+
/**
|
|
2547
|
+
* Thinking Level
|
|
2548
|
+
* @enum {string}
|
|
2549
|
+
*/
|
|
2550
|
+
thinking_level?: "minimal" | "low" | "medium" | "high";
|
|
2551
|
+
/** Include Thoughts */
|
|
2552
|
+
include_thoughts?: boolean;
|
|
2427
2553
|
};
|
|
2428
2554
|
/** PromptGroqInvocationParameters */
|
|
2429
2555
|
PromptGroqInvocationParameters: {
|
|
@@ -2450,11 +2576,17 @@ export interface components {
|
|
|
2450
2576
|
top_p?: number;
|
|
2451
2577
|
/** Seed */
|
|
2452
2578
|
seed?: number;
|
|
2579
|
+
/** Stop */
|
|
2580
|
+
stop?: string[];
|
|
2453
2581
|
/**
|
|
2454
2582
|
* Reasoning Effort
|
|
2455
2583
|
* @enum {string}
|
|
2456
2584
|
*/
|
|
2457
2585
|
reasoning_effort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh";
|
|
2586
|
+
/** Extra Body */
|
|
2587
|
+
extra_body?: {
|
|
2588
|
+
[key: string]: unknown;
|
|
2589
|
+
};
|
|
2458
2590
|
};
|
|
2459
2591
|
/** PromptMessage */
|
|
2460
2592
|
PromptMessage: {
|
|
@@ -2491,11 +2623,17 @@ export interface components {
|
|
|
2491
2623
|
top_p?: number;
|
|
2492
2624
|
/** Seed */
|
|
2493
2625
|
seed?: number;
|
|
2626
|
+
/** Stop */
|
|
2627
|
+
stop?: string[];
|
|
2494
2628
|
/**
|
|
2495
2629
|
* Reasoning Effort
|
|
2496
2630
|
* @enum {string}
|
|
2497
2631
|
*/
|
|
2498
2632
|
reasoning_effort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh";
|
|
2633
|
+
/** Extra Body */
|
|
2634
|
+
extra_body?: {
|
|
2635
|
+
[key: string]: unknown;
|
|
2636
|
+
};
|
|
2499
2637
|
};
|
|
2500
2638
|
/** PromptOllamaInvocationParameters */
|
|
2501
2639
|
PromptOllamaInvocationParameters: {
|
|
@@ -2522,11 +2660,17 @@ export interface components {
|
|
|
2522
2660
|
top_p?: number;
|
|
2523
2661
|
/** Seed */
|
|
2524
2662
|
seed?: number;
|
|
2663
|
+
/** Stop */
|
|
2664
|
+
stop?: string[];
|
|
2525
2665
|
/**
|
|
2526
2666
|
* Reasoning Effort
|
|
2527
2667
|
* @enum {string}
|
|
2528
2668
|
*/
|
|
2529
2669
|
reasoning_effort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh";
|
|
2670
|
+
/** Extra Body */
|
|
2671
|
+
extra_body?: {
|
|
2672
|
+
[key: string]: unknown;
|
|
2673
|
+
};
|
|
2530
2674
|
};
|
|
2531
2675
|
/** PromptOpenAIInvocationParameters */
|
|
2532
2676
|
PromptOpenAIInvocationParameters: {
|
|
@@ -2553,11 +2697,17 @@ export interface components {
|
|
|
2553
2697
|
top_p?: number;
|
|
2554
2698
|
/** Seed */
|
|
2555
2699
|
seed?: number;
|
|
2700
|
+
/** Stop */
|
|
2701
|
+
stop?: string[];
|
|
2556
2702
|
/**
|
|
2557
2703
|
* Reasoning Effort
|
|
2558
2704
|
* @enum {string}
|
|
2559
2705
|
*/
|
|
2560
2706
|
reasoning_effort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh";
|
|
2707
|
+
/** Extra Body */
|
|
2708
|
+
extra_body?: {
|
|
2709
|
+
[key: string]: unknown;
|
|
2710
|
+
};
|
|
2561
2711
|
};
|
|
2562
2712
|
/** PromptPerplexityInvocationParameters */
|
|
2563
2713
|
PromptPerplexityInvocationParameters: {
|
|
@@ -2584,11 +2734,17 @@ export interface components {
|
|
|
2584
2734
|
top_p?: number;
|
|
2585
2735
|
/** Seed */
|
|
2586
2736
|
seed?: number;
|
|
2737
|
+
/** Stop */
|
|
2738
|
+
stop?: string[];
|
|
2587
2739
|
/**
|
|
2588
2740
|
* Reasoning Effort
|
|
2589
2741
|
* @enum {string}
|
|
2590
2742
|
*/
|
|
2591
2743
|
reasoning_effort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh";
|
|
2744
|
+
/** Extra Body */
|
|
2745
|
+
extra_body?: {
|
|
2746
|
+
[key: string]: unknown;
|
|
2747
|
+
};
|
|
2592
2748
|
};
|
|
2593
2749
|
/** PromptResponseFormatJSONSchema */
|
|
2594
2750
|
PromptResponseFormatJSONSchema: {
|
|
@@ -2657,11 +2813,17 @@ export interface components {
|
|
|
2657
2813
|
top_p?: number;
|
|
2658
2814
|
/** Seed */
|
|
2659
2815
|
seed?: number;
|
|
2816
|
+
/** Stop */
|
|
2817
|
+
stop?: string[];
|
|
2660
2818
|
/**
|
|
2661
2819
|
* Reasoning Effort
|
|
2662
2820
|
* @enum {string}
|
|
2663
2821
|
*/
|
|
2664
2822
|
reasoning_effort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh";
|
|
2823
|
+
/** Extra Body */
|
|
2824
|
+
extra_body?: {
|
|
2825
|
+
[key: string]: unknown;
|
|
2826
|
+
};
|
|
2665
2827
|
};
|
|
2666
2828
|
/** PromptToolChoiceNone */
|
|
2667
2829
|
PromptToolChoiceNone: {
|
|
@@ -2808,11 +2970,17 @@ export interface components {
|
|
|
2808
2970
|
top_p?: number;
|
|
2809
2971
|
/** Seed */
|
|
2810
2972
|
seed?: number;
|
|
2973
|
+
/** Stop */
|
|
2974
|
+
stop?: string[];
|
|
2811
2975
|
/**
|
|
2812
2976
|
* Reasoning Effort
|
|
2813
2977
|
* @enum {string}
|
|
2814
2978
|
*/
|
|
2815
2979
|
reasoning_effort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh";
|
|
2980
|
+
/** Extra Body */
|
|
2981
|
+
extra_body?: {
|
|
2982
|
+
[key: string]: unknown;
|
|
2983
|
+
};
|
|
2816
2984
|
};
|
|
2817
2985
|
/** ResponseBody[UpsertOrDeleteSecretsResult] */
|
|
2818
2986
|
ResponseBody_UpsertOrDeleteSecretsResult_: {
|
|
@@ -2946,6 +3114,19 @@ export interface components {
|
|
|
2946
3114
|
/** Traces */
|
|
2947
3115
|
traces: components["schemas"]["SessionTraceData"][];
|
|
2948
3116
|
};
|
|
3117
|
+
/** SessionNoteData */
|
|
3118
|
+
SessionNoteData: {
|
|
3119
|
+
/**
|
|
3120
|
+
* Session Id
|
|
3121
|
+
* @description Session ID
|
|
3122
|
+
*/
|
|
3123
|
+
session_id: string;
|
|
3124
|
+
/**
|
|
3125
|
+
* Note
|
|
3126
|
+
* @description The note text to add to the session
|
|
3127
|
+
*/
|
|
3128
|
+
note: string;
|
|
3129
|
+
};
|
|
2949
3130
|
/** SessionTraceData */
|
|
2950
3131
|
SessionTraceData: {
|
|
2951
3132
|
/** Id */
|
|
@@ -3467,6 +3648,12 @@ export interface components {
|
|
|
3467
3648
|
dataset_id: string;
|
|
3468
3649
|
/** Version Id */
|
|
3469
3650
|
version_id: string;
|
|
3651
|
+
/** Num Created Examples */
|
|
3652
|
+
num_created_examples: number;
|
|
3653
|
+
/** Num Updated Examples */
|
|
3654
|
+
num_updated_examples: number;
|
|
3655
|
+
/** Num Deleted Examples */
|
|
3656
|
+
num_deleted_examples: number;
|
|
3470
3657
|
};
|
|
3471
3658
|
/** UploadDatasetResponseBody */
|
|
3472
3659
|
UploadDatasetResponseBody: {
|
|
@@ -3788,9 +3975,11 @@ export interface operations {
|
|
|
3788
3975
|
};
|
|
3789
3976
|
listSpanAnnotationsBySpanIds: {
|
|
3790
3977
|
parameters: {
|
|
3791
|
-
query
|
|
3792
|
-
/** @description
|
|
3793
|
-
span_ids
|
|
3978
|
+
query?: {
|
|
3979
|
+
/** @description Optional list of span ids to fetch annotations for. If omitted, `identifier` must be supplied. */
|
|
3980
|
+
span_ids?: string[] | null;
|
|
3981
|
+
/** @description Optional list of annotation identifiers to filter by. Each value must be non-empty. If omitted, `span_ids` must be supplied. When combined with `span_ids`, results are the AND-intersection of both filters. */
|
|
3982
|
+
identifier?: string[] | null;
|
|
3794
3983
|
/** @description Optional list of annotation names to include. If provided, only annotations with these names will be returned. 'note' annotations are excluded by default unless explicitly included in this list. */
|
|
3795
3984
|
include_annotation_names?: string[] | null;
|
|
3796
3985
|
/** @description Optional list of annotation names to exclude from results. */
|
|
@@ -3849,9 +4038,11 @@ export interface operations {
|
|
|
3849
4038
|
};
|
|
3850
4039
|
listTraceAnnotationsByTraceIds: {
|
|
3851
4040
|
parameters: {
|
|
3852
|
-
query
|
|
3853
|
-
/** @description
|
|
3854
|
-
trace_ids
|
|
4041
|
+
query?: {
|
|
4042
|
+
/** @description Optional list of trace ids to fetch annotations for. If omitted, `identifier` must be supplied. */
|
|
4043
|
+
trace_ids?: string[] | null;
|
|
4044
|
+
/** @description Optional list of annotation identifiers to filter by. Each value must be non-empty. If omitted, `trace_ids` must be supplied. When combined with `trace_ids`, results are the AND-intersection of both filters. */
|
|
4045
|
+
identifier?: string[] | null;
|
|
3855
4046
|
/** @description Optional list of annotation names to include. If provided, only annotations with these names will be returned. 'note' annotations are excluded by default unless explicitly included in this list. */
|
|
3856
4047
|
include_annotation_names?: string[] | null;
|
|
3857
4048
|
/** @description Optional list of annotation names to exclude from results. */
|
|
@@ -3910,9 +4101,11 @@ export interface operations {
|
|
|
3910
4101
|
};
|
|
3911
4102
|
listSessionAnnotationsBySessionIds: {
|
|
3912
4103
|
parameters: {
|
|
3913
|
-
query
|
|
3914
|
-
/** @description
|
|
3915
|
-
session_ids
|
|
4104
|
+
query?: {
|
|
4105
|
+
/** @description Optional list of session ids to fetch annotations for. If omitted, `identifier` must be supplied. */
|
|
4106
|
+
session_ids?: string[] | null;
|
|
4107
|
+
/** @description Optional list of annotation identifiers to filter by. Each value must be non-empty. If omitted, `session_ids` must be supplied. When combined with `session_ids`, results are the AND-intersection of both filters. */
|
|
4108
|
+
identifier?: string[] | null;
|
|
3916
4109
|
/** @description Optional list of annotation names to include. If provided, only annotations with these names will be returned. 'note' annotations are excluded by default unless explicitly included in this list. */
|
|
3917
4110
|
include_annotation_names?: string[] | null;
|
|
3918
4111
|
/** @description Optional list of annotation names to exclude from results. */
|
|
@@ -4172,7 +4365,7 @@ export interface operations {
|
|
|
4172
4365
|
content: {
|
|
4173
4366
|
"application/json": {
|
|
4174
4367
|
/** @enum {string} */
|
|
4175
|
-
action?: "create" | "append";
|
|
4368
|
+
action?: "create" | "append" | "update";
|
|
4176
4369
|
name: string;
|
|
4177
4370
|
description?: string;
|
|
4178
4371
|
inputs: Record<string, unknown>[];
|
|
@@ -4182,21 +4375,27 @@ export interface operations {
|
|
|
4182
4375
|
splits?: (string | string[] | null)[];
|
|
4183
4376
|
/** @description Span IDs to link examples back to spans */
|
|
4184
4377
|
span_ids?: (string | null)[];
|
|
4378
|
+
/** @description Optional example ID per example. If provided, it is used as the example's stable public ID. */
|
|
4379
|
+
example_ids?: (string | null)[];
|
|
4185
4380
|
};
|
|
4186
4381
|
"multipart/form-data": {
|
|
4187
4382
|
/** @enum {string} */
|
|
4188
|
-
action?: "create" | "append";
|
|
4383
|
+
action?: "create" | "append" | "update";
|
|
4189
4384
|
name: string;
|
|
4190
4385
|
description?: string;
|
|
4191
4386
|
"input_keys[]": string[];
|
|
4192
4387
|
"output_keys[]": string[];
|
|
4193
4388
|
"metadata_keys[]"?: string[];
|
|
4194
|
-
/** @description Column names for auto-assigning examples to splits */
|
|
4389
|
+
/** @description Deprecated: use split_key instead. Column names for auto-assigning examples to splits */
|
|
4195
4390
|
"split_keys[]"?: string[];
|
|
4391
|
+
/** @description Single column name containing split names (plain string or JSON list) per row */
|
|
4392
|
+
split_key?: string;
|
|
4196
4393
|
/** @description Column names whose object values should be flattened into their selected bucket */
|
|
4197
4394
|
"flatten_keys[]"?: string[];
|
|
4198
4395
|
/** @description Column name for span IDs to link examples back to spans */
|
|
4199
4396
|
span_id_key?: string;
|
|
4397
|
+
/** @description Column name containing stable IDs for examples. When provided, examples with matching IDs are updated in place when their content changes. */
|
|
4398
|
+
example_id_key?: string;
|
|
4200
4399
|
/** Format: binary */
|
|
4201
4400
|
file: string;
|
|
4202
4401
|
};
|
|
@@ -4221,7 +4420,7 @@ export interface operations {
|
|
|
4221
4420
|
"text/plain": string;
|
|
4222
4421
|
};
|
|
4223
4422
|
};
|
|
4224
|
-
/** @description Dataset
|
|
4423
|
+
/** @description Dataset with the given name already exists (action=create). */
|
|
4225
4424
|
409: {
|
|
4226
4425
|
headers: {
|
|
4227
4426
|
[name: string]: unknown;
|
|
@@ -4340,6 +4539,50 @@ export interface operations {
|
|
|
4340
4539
|
};
|
|
4341
4540
|
};
|
|
4342
4541
|
};
|
|
4542
|
+
getDatasetJSONL: {
|
|
4543
|
+
parameters: {
|
|
4544
|
+
query?: {
|
|
4545
|
+
/** @description The ID of the dataset version (if omitted, returns data from the latest version) */
|
|
4546
|
+
version_id?: string | null;
|
|
4547
|
+
};
|
|
4548
|
+
header?: never;
|
|
4549
|
+
path: {
|
|
4550
|
+
/** @description The ID of the dataset */
|
|
4551
|
+
id: string;
|
|
4552
|
+
};
|
|
4553
|
+
cookie?: never;
|
|
4554
|
+
};
|
|
4555
|
+
requestBody?: never;
|
|
4556
|
+
responses: {
|
|
4557
|
+
/** @description Successful Response */
|
|
4558
|
+
200: {
|
|
4559
|
+
headers: {
|
|
4560
|
+
[name: string]: unknown;
|
|
4561
|
+
};
|
|
4562
|
+
content: {
|
|
4563
|
+
"text/plain": string;
|
|
4564
|
+
};
|
|
4565
|
+
};
|
|
4566
|
+
/** @description Forbidden */
|
|
4567
|
+
403: {
|
|
4568
|
+
headers: {
|
|
4569
|
+
[name: string]: unknown;
|
|
4570
|
+
};
|
|
4571
|
+
content: {
|
|
4572
|
+
"text/plain": string;
|
|
4573
|
+
};
|
|
4574
|
+
};
|
|
4575
|
+
/** @description Invalid dataset or version ID */
|
|
4576
|
+
422: {
|
|
4577
|
+
headers: {
|
|
4578
|
+
[name: string]: unknown;
|
|
4579
|
+
};
|
|
4580
|
+
content: {
|
|
4581
|
+
"text/plain": string;
|
|
4582
|
+
};
|
|
4583
|
+
};
|
|
4584
|
+
};
|
|
4585
|
+
};
|
|
4343
4586
|
getDatasetJSONLOpenAIFineTuning: {
|
|
4344
4587
|
parameters: {
|
|
4345
4588
|
query?: {
|
|
@@ -6564,6 +6807,57 @@ export interface operations {
|
|
|
6564
6807
|
};
|
|
6565
6808
|
};
|
|
6566
6809
|
};
|
|
6810
|
+
createSessionNote: {
|
|
6811
|
+
parameters: {
|
|
6812
|
+
query?: never;
|
|
6813
|
+
header?: never;
|
|
6814
|
+
path?: never;
|
|
6815
|
+
cookie?: never;
|
|
6816
|
+
};
|
|
6817
|
+
requestBody: {
|
|
6818
|
+
content: {
|
|
6819
|
+
"application/json": components["schemas"]["CreateSessionNoteRequestBody"];
|
|
6820
|
+
};
|
|
6821
|
+
};
|
|
6822
|
+
responses: {
|
|
6823
|
+
/** @description Session note created successfully */
|
|
6824
|
+
200: {
|
|
6825
|
+
headers: {
|
|
6826
|
+
[name: string]: unknown;
|
|
6827
|
+
};
|
|
6828
|
+
content: {
|
|
6829
|
+
"application/json": components["schemas"]["CreateSessionNoteResponseBody"];
|
|
6830
|
+
};
|
|
6831
|
+
};
|
|
6832
|
+
/** @description Forbidden */
|
|
6833
|
+
403: {
|
|
6834
|
+
headers: {
|
|
6835
|
+
[name: string]: unknown;
|
|
6836
|
+
};
|
|
6837
|
+
content: {
|
|
6838
|
+
"text/plain": string;
|
|
6839
|
+
};
|
|
6840
|
+
};
|
|
6841
|
+
/** @description Session not found */
|
|
6842
|
+
404: {
|
|
6843
|
+
headers: {
|
|
6844
|
+
[name: string]: unknown;
|
|
6845
|
+
};
|
|
6846
|
+
content: {
|
|
6847
|
+
"text/plain": string;
|
|
6848
|
+
};
|
|
6849
|
+
};
|
|
6850
|
+
/** @description Validation Error */
|
|
6851
|
+
422: {
|
|
6852
|
+
headers: {
|
|
6853
|
+
[name: string]: unknown;
|
|
6854
|
+
};
|
|
6855
|
+
content: {
|
|
6856
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
6857
|
+
};
|
|
6858
|
+
};
|
|
6859
|
+
};
|
|
6860
|
+
};
|
|
6567
6861
|
annotateSpanDocuments: {
|
|
6568
6862
|
parameters: {
|
|
6569
6863
|
query?: {
|