@arizeai/phoenix-client 6.9.2 → 6.10.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/esm/__generated__/api/v1.d.ts +1676 -142
- package/dist/esm/__generated__/api/v1.d.ts.map +1 -1
- package/dist/esm/constants/serverRequirements.d.ts +3 -0
- package/dist/esm/constants/serverRequirements.d.ts.map +1 -1
- package/dist/esm/constants/serverRequirements.js +24 -0
- package/dist/esm/constants/serverRequirements.js.map +1 -1
- package/dist/esm/prompts/sdks/toOpenAI.d.ts.map +1 -1
- package/dist/esm/prompts/sdks/toOpenAI.js +39 -7
- package/dist/esm/prompts/sdks/toOpenAI.js.map +1 -1
- package/dist/esm/schemas/llm/constants.d.ts +1 -1
- package/dist/esm/schemas/llm/converters.d.ts +4 -4
- package/dist/esm/schemas/llm/openai/converters.d.ts +1 -1
- package/dist/esm/schemas/llm/openai/messageSchemas.d.ts +1 -1
- package/dist/esm/schemas/llm/phoenixPrompt/converters.d.ts +2 -2
- package/dist/esm/schemas/llm/phoenixPrompt/messageSchemas.d.ts +3 -3
- package/dist/esm/schemas/llm/schemas.d.ts +1 -1
- package/dist/esm/schemas/llm/vercel/messageSchemas.d.ts +1 -1
- package/dist/esm/sessions/addSessionNote.d.ts +11 -2
- package/dist/esm/sessions/addSessionNote.d.ts.map +1 -1
- package/dist/esm/sessions/addSessionNote.js +12 -3
- package/dist/esm/sessions/addSessionNote.js.map +1 -1
- package/dist/esm/spans/addSpanNote.d.ts +11 -5
- package/dist/esm/spans/addSpanNote.d.ts.map +1 -1
- package/dist/esm/spans/addSpanNote.js +13 -5
- package/dist/esm/spans/addSpanNote.js.map +1 -1
- package/dist/esm/spans/getSpanAnnotations.d.ts +1 -1
- package/dist/esm/spans/getSpanAnnotations.d.ts.map +1 -1
- package/dist/esm/traces/addTraceNote.d.ts +11 -5
- package/dist/esm/traces/addTraceNote.d.ts.map +1 -1
- package/dist/esm/traces/addTraceNote.js +12 -6
- package/dist/esm/traces/addTraceNote.js.map +1 -1
- package/dist/esm/tsconfig.esm.tsbuildinfo +1 -1
- 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 +1676 -142
- package/dist/src/__generated__/api/v1.d.ts.map +1 -1
- package/dist/src/constants/serverRequirements.d.ts +3 -0
- package/dist/src/constants/serverRequirements.d.ts.map +1 -1
- package/dist/src/constants/serverRequirements.js +25 -1
- package/dist/src/constants/serverRequirements.js.map +1 -1
- package/dist/src/prompts/sdks/toOpenAI.d.ts.map +1 -1
- package/dist/src/prompts/sdks/toOpenAI.js +39 -7
- package/dist/src/prompts/sdks/toOpenAI.js.map +1 -1
- package/dist/src/schemas/llm/constants.d.ts +1 -1
- package/dist/src/schemas/llm/converters.d.ts +4 -4
- package/dist/src/schemas/llm/openai/converters.d.ts +1 -1
- package/dist/src/schemas/llm/openai/messageSchemas.d.ts +1 -1
- package/dist/src/schemas/llm/phoenixPrompt/converters.d.ts +2 -2
- package/dist/src/schemas/llm/phoenixPrompt/messageSchemas.d.ts +3 -3
- package/dist/src/schemas/llm/schemas.d.ts +1 -1
- package/dist/src/schemas/llm/vercel/messageSchemas.d.ts +1 -1
- package/dist/src/sessions/addSessionNote.d.ts +11 -2
- package/dist/src/sessions/addSessionNote.d.ts.map +1 -1
- package/dist/src/sessions/addSessionNote.js +11 -2
- package/dist/src/sessions/addSessionNote.js.map +1 -1
- package/dist/src/spans/addSpanNote.d.ts +11 -5
- package/dist/src/spans/addSpanNote.d.ts.map +1 -1
- package/dist/src/spans/addSpanNote.js +13 -5
- package/dist/src/spans/addSpanNote.js.map +1 -1
- package/dist/src/spans/getSpanAnnotations.d.ts +1 -1
- package/dist/src/spans/getSpanAnnotations.d.ts.map +1 -1
- package/dist/src/traces/addTraceNote.d.ts +11 -5
- package/dist/src/traces/addTraceNote.d.ts.map +1 -1
- package/dist/src/traces/addTraceNote.js +11 -5
- package/dist/src/traces/addTraceNote.js.map +1 -1
- 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/docs/annotations.mdx +7 -3
- package/docs/overview.mdx +1 -1
- package/docs/sessions.mdx +20 -0
- package/docs/traces.mdx +76 -5
- package/package.json +2 -2
- package/src/__generated__/api/v1.ts +1676 -142
- package/src/constants/serverRequirements.ts +27 -0
- package/src/prompts/sdks/toOpenAI.ts +41 -8
- package/src/sessions/addSessionNote.ts +22 -3
- package/src/spans/addSpanNote.ts +20 -5
- package/src/spans/getSpanAnnotations.ts +1 -1
- package/src/traces/addTraceNote.ts +22 -6
|
@@ -572,7 +572,7 @@ export interface paths {
|
|
|
572
572
|
put?: never;
|
|
573
573
|
/**
|
|
574
574
|
* Create a trace note
|
|
575
|
-
* @description Add a note annotation to a trace.
|
|
575
|
+
* @description Add a note annotation to a trace. By default each call appends a new note with an auto-generated UUIDv4 identifier, so multiple notes accumulate on the same trace. Callers may supply a non-empty `identifier` to upsert on (trace_id, name='note', identifier) — repeated calls with the same identifier overwrite the existing note, matching the semantics of structured annotations.
|
|
576
576
|
*/
|
|
577
577
|
post: operations["createTraceNote"];
|
|
578
578
|
delete?: never;
|
|
@@ -677,7 +677,7 @@ export interface paths {
|
|
|
677
677
|
put?: never;
|
|
678
678
|
/**
|
|
679
679
|
* Create a span note
|
|
680
|
-
* @description Add a note annotation to a span.
|
|
680
|
+
* @description Add a note annotation to a span. By default each call appends a new note with an auto-generated UUIDv4 identifier, so multiple notes accumulate on the same span. Callers may supply a non-empty `identifier` to upsert on (span_id, name='note', identifier) — repeated calls with the same identifier overwrite the existing note, matching the semantics of structured annotations.
|
|
681
681
|
*/
|
|
682
682
|
post: operations["createSpanNote"];
|
|
683
683
|
delete?: never;
|
|
@@ -1028,7 +1028,7 @@ export interface paths {
|
|
|
1028
1028
|
put?: never;
|
|
1029
1029
|
/**
|
|
1030
1030
|
* Create a session note
|
|
1031
|
-
* @description Add a note annotation to a session.
|
|
1031
|
+
* @description Add a note annotation to a session. By default each call appends a new note with an auto-generated UUIDv4 identifier, so multiple notes accumulate on the same session. Callers may supply a non-empty `identifier` to upsert on (session_id, name='note', identifier) — repeated calls with the same identifier overwrite the existing note, matching the semantics of structured annotations.
|
|
1032
1032
|
*/
|
|
1033
1033
|
post: operations["createSessionNote"];
|
|
1034
1034
|
delete?: never;
|
|
@@ -1138,10 +1138,287 @@ export interface paths {
|
|
|
1138
1138
|
patch?: never;
|
|
1139
1139
|
trace?: never;
|
|
1140
1140
|
};
|
|
1141
|
+
"/auth/login": {
|
|
1142
|
+
parameters: {
|
|
1143
|
+
query?: never;
|
|
1144
|
+
header?: never;
|
|
1145
|
+
path?: never;
|
|
1146
|
+
cookie?: never;
|
|
1147
|
+
};
|
|
1148
|
+
get?: never;
|
|
1149
|
+
put?: never;
|
|
1150
|
+
/**
|
|
1151
|
+
* Login
|
|
1152
|
+
* @description Authenticate user via email/password and return access/refresh tokens.
|
|
1153
|
+
*/
|
|
1154
|
+
post: operations["_login_auth_login_post"];
|
|
1155
|
+
delete?: never;
|
|
1156
|
+
options?: never;
|
|
1157
|
+
head?: never;
|
|
1158
|
+
patch?: never;
|
|
1159
|
+
trace?: never;
|
|
1160
|
+
};
|
|
1161
|
+
"/auth/logout": {
|
|
1162
|
+
parameters: {
|
|
1163
|
+
query?: never;
|
|
1164
|
+
header?: never;
|
|
1165
|
+
path?: never;
|
|
1166
|
+
cookie?: never;
|
|
1167
|
+
};
|
|
1168
|
+
/**
|
|
1169
|
+
* Logout
|
|
1170
|
+
* @description Log out user by revoking tokens and clearing cookies.
|
|
1171
|
+
*/
|
|
1172
|
+
get: operations["_logout_auth_logout_get"];
|
|
1173
|
+
put?: never;
|
|
1174
|
+
post?: never;
|
|
1175
|
+
delete?: never;
|
|
1176
|
+
options?: never;
|
|
1177
|
+
head?: never;
|
|
1178
|
+
patch?: never;
|
|
1179
|
+
trace?: never;
|
|
1180
|
+
};
|
|
1181
|
+
"/auth/refresh": {
|
|
1182
|
+
parameters: {
|
|
1183
|
+
query?: never;
|
|
1184
|
+
header?: never;
|
|
1185
|
+
path?: never;
|
|
1186
|
+
cookie?: never;
|
|
1187
|
+
};
|
|
1188
|
+
get?: never;
|
|
1189
|
+
put?: never;
|
|
1190
|
+
/**
|
|
1191
|
+
* Refresh Tokens
|
|
1192
|
+
* @description Refresh access and refresh tokens.
|
|
1193
|
+
*/
|
|
1194
|
+
post: operations["_refresh_tokens_auth_refresh_post"];
|
|
1195
|
+
delete?: never;
|
|
1196
|
+
options?: never;
|
|
1197
|
+
head?: never;
|
|
1198
|
+
patch?: never;
|
|
1199
|
+
trace?: never;
|
|
1200
|
+
};
|
|
1201
|
+
"/auth/password-reset-email": {
|
|
1202
|
+
parameters: {
|
|
1203
|
+
query?: never;
|
|
1204
|
+
header?: never;
|
|
1205
|
+
path?: never;
|
|
1206
|
+
cookie?: never;
|
|
1207
|
+
};
|
|
1208
|
+
get?: never;
|
|
1209
|
+
put?: never;
|
|
1210
|
+
/**
|
|
1211
|
+
* Initiate Password Reset
|
|
1212
|
+
* @description Send password reset email to user.
|
|
1213
|
+
*/
|
|
1214
|
+
post: operations["_initiate_password_reset_auth_password_reset_email_post"];
|
|
1215
|
+
delete?: never;
|
|
1216
|
+
options?: never;
|
|
1217
|
+
head?: never;
|
|
1218
|
+
patch?: never;
|
|
1219
|
+
trace?: never;
|
|
1220
|
+
};
|
|
1221
|
+
"/auth/password-reset": {
|
|
1222
|
+
parameters: {
|
|
1223
|
+
query?: never;
|
|
1224
|
+
header?: never;
|
|
1225
|
+
path?: never;
|
|
1226
|
+
cookie?: never;
|
|
1227
|
+
};
|
|
1228
|
+
get?: never;
|
|
1229
|
+
put?: never;
|
|
1230
|
+
/**
|
|
1231
|
+
* Reset Password
|
|
1232
|
+
* @description Reset user password using a valid reset token.
|
|
1233
|
+
*/
|
|
1234
|
+
post: operations["_reset_password_auth_password_reset_post"];
|
|
1235
|
+
delete?: never;
|
|
1236
|
+
options?: never;
|
|
1237
|
+
head?: never;
|
|
1238
|
+
patch?: never;
|
|
1239
|
+
trace?: never;
|
|
1240
|
+
};
|
|
1241
|
+
"/auth/ldap/login": {
|
|
1242
|
+
parameters: {
|
|
1243
|
+
query?: never;
|
|
1244
|
+
header?: never;
|
|
1245
|
+
path?: never;
|
|
1246
|
+
cookie?: never;
|
|
1247
|
+
};
|
|
1248
|
+
get?: never;
|
|
1249
|
+
put?: never;
|
|
1250
|
+
/**
|
|
1251
|
+
* Ldap Login
|
|
1252
|
+
* @description Authenticate user via LDAP and return access/refresh tokens.
|
|
1253
|
+
*/
|
|
1254
|
+
post: operations["_ldap_login_auth_ldap_login_post"];
|
|
1255
|
+
delete?: never;
|
|
1256
|
+
options?: never;
|
|
1257
|
+
head?: never;
|
|
1258
|
+
patch?: never;
|
|
1259
|
+
trace?: never;
|
|
1260
|
+
};
|
|
1261
|
+
"/oauth2/{idp_name}/login": {
|
|
1262
|
+
parameters: {
|
|
1263
|
+
query?: never;
|
|
1264
|
+
header?: never;
|
|
1265
|
+
path?: never;
|
|
1266
|
+
cookie?: never;
|
|
1267
|
+
};
|
|
1268
|
+
/** Login */
|
|
1269
|
+
get: operations["login_oauth2__idp_name__login_get"];
|
|
1270
|
+
put?: never;
|
|
1271
|
+
/** Login */
|
|
1272
|
+
post: operations["login_oauth2__idp_name__login_post"];
|
|
1273
|
+
delete?: never;
|
|
1274
|
+
options?: never;
|
|
1275
|
+
head?: never;
|
|
1276
|
+
patch?: never;
|
|
1277
|
+
trace?: never;
|
|
1278
|
+
};
|
|
1279
|
+
"/oauth2/{idp_name}/tokens": {
|
|
1280
|
+
parameters: {
|
|
1281
|
+
query?: never;
|
|
1282
|
+
header?: never;
|
|
1283
|
+
path?: never;
|
|
1284
|
+
cookie?: never;
|
|
1285
|
+
};
|
|
1286
|
+
/** Create Tokens */
|
|
1287
|
+
get: operations["create_tokens_oauth2__idp_name__tokens_get"];
|
|
1288
|
+
put?: never;
|
|
1289
|
+
post?: never;
|
|
1290
|
+
delete?: never;
|
|
1291
|
+
options?: never;
|
|
1292
|
+
head?: never;
|
|
1293
|
+
patch?: never;
|
|
1294
|
+
trace?: never;
|
|
1295
|
+
};
|
|
1296
|
+
"/agents/{agent_id}/sessions/{session_id}/chat": {
|
|
1297
|
+
parameters: {
|
|
1298
|
+
query?: never;
|
|
1299
|
+
header?: never;
|
|
1300
|
+
path?: never;
|
|
1301
|
+
cookie?: never;
|
|
1302
|
+
};
|
|
1303
|
+
get?: never;
|
|
1304
|
+
put?: never;
|
|
1305
|
+
/** Chat */
|
|
1306
|
+
post: operations["chat_agents__agent_id__sessions__session_id__chat_post"];
|
|
1307
|
+
delete?: never;
|
|
1308
|
+
options?: never;
|
|
1309
|
+
head?: never;
|
|
1310
|
+
patch?: never;
|
|
1311
|
+
trace?: never;
|
|
1312
|
+
};
|
|
1313
|
+
"/agents/{agent_id}/sessions/{session_id}/summary": {
|
|
1314
|
+
parameters: {
|
|
1315
|
+
query?: never;
|
|
1316
|
+
header?: never;
|
|
1317
|
+
path?: never;
|
|
1318
|
+
cookie?: never;
|
|
1319
|
+
};
|
|
1320
|
+
get?: never;
|
|
1321
|
+
put?: never;
|
|
1322
|
+
/** Summarize Endpoint */
|
|
1323
|
+
post: operations["summarize_endpoint_agents__agent_id__sessions__session_id__summary_post"];
|
|
1324
|
+
delete?: never;
|
|
1325
|
+
options?: never;
|
|
1326
|
+
head?: never;
|
|
1327
|
+
patch?: never;
|
|
1328
|
+
trace?: never;
|
|
1329
|
+
};
|
|
1330
|
+
"/arize_phoenix_version": {
|
|
1331
|
+
parameters: {
|
|
1332
|
+
query?: never;
|
|
1333
|
+
header?: never;
|
|
1334
|
+
path?: never;
|
|
1335
|
+
cookie?: never;
|
|
1336
|
+
};
|
|
1337
|
+
/** Version */
|
|
1338
|
+
get: operations["version_arize_phoenix_version_get"];
|
|
1339
|
+
put?: never;
|
|
1340
|
+
post?: never;
|
|
1341
|
+
delete?: never;
|
|
1342
|
+
options?: never;
|
|
1343
|
+
head?: never;
|
|
1344
|
+
patch?: never;
|
|
1345
|
+
trace?: never;
|
|
1346
|
+
};
|
|
1347
|
+
"/healthz": {
|
|
1348
|
+
parameters: {
|
|
1349
|
+
query?: never;
|
|
1350
|
+
header?: never;
|
|
1351
|
+
path?: never;
|
|
1352
|
+
cookie?: never;
|
|
1353
|
+
};
|
|
1354
|
+
/** Check Healthz */
|
|
1355
|
+
get: operations["check_healthz_healthz_get"];
|
|
1356
|
+
put?: never;
|
|
1357
|
+
post?: never;
|
|
1358
|
+
delete?: never;
|
|
1359
|
+
options?: never;
|
|
1360
|
+
head?: never;
|
|
1361
|
+
patch?: never;
|
|
1362
|
+
trace?: never;
|
|
1363
|
+
};
|
|
1364
|
+
"/readyz": {
|
|
1365
|
+
parameters: {
|
|
1366
|
+
query?: never;
|
|
1367
|
+
header?: never;
|
|
1368
|
+
path?: never;
|
|
1369
|
+
cookie?: never;
|
|
1370
|
+
};
|
|
1371
|
+
/** Check Readyz */
|
|
1372
|
+
get: operations["check_readyz_readyz_get"];
|
|
1373
|
+
put?: never;
|
|
1374
|
+
post?: never;
|
|
1375
|
+
delete?: never;
|
|
1376
|
+
options?: never;
|
|
1377
|
+
head?: never;
|
|
1378
|
+
patch?: never;
|
|
1379
|
+
trace?: never;
|
|
1380
|
+
};
|
|
1141
1381
|
}
|
|
1142
1382
|
export type webhooks = Record<string, never>;
|
|
1143
1383
|
export interface components {
|
|
1144
1384
|
schemas: {
|
|
1385
|
+
/**
|
|
1386
|
+
* AgentCapabilities
|
|
1387
|
+
* @description Runtime capability state sent by the browser for a chat turn.
|
|
1388
|
+
*/
|
|
1389
|
+
AgentCapabilities: {
|
|
1390
|
+
/**
|
|
1391
|
+
* Bash.Retaininactivesessions
|
|
1392
|
+
* @default false
|
|
1393
|
+
*/
|
|
1394
|
+
"bash.retainInactiveSessions"?: boolean;
|
|
1395
|
+
/**
|
|
1396
|
+
* Graphql.Mutations
|
|
1397
|
+
* @default false
|
|
1398
|
+
*/
|
|
1399
|
+
"graphql.mutations"?: boolean;
|
|
1400
|
+
};
|
|
1401
|
+
/**
|
|
1402
|
+
* AgentSpanContext
|
|
1403
|
+
* @description Span the user has selected.
|
|
1404
|
+
*
|
|
1405
|
+
* Exactly one of ``span_node_id`` (relay) or ``otel_span_id`` (OpenTelemetry
|
|
1406
|
+
* hex) must be set. ``project_node_id`` is optional because a span can be
|
|
1407
|
+
* selected from views outside a project route.
|
|
1408
|
+
*/
|
|
1409
|
+
AgentSpanContext: {
|
|
1410
|
+
/**
|
|
1411
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1412
|
+
* @enum {string}
|
|
1413
|
+
*/
|
|
1414
|
+
type: "span";
|
|
1415
|
+
/** Projectnodeid */
|
|
1416
|
+
projectNodeId?: string | null;
|
|
1417
|
+
/** Spannodeid */
|
|
1418
|
+
spanNodeId?: string | null;
|
|
1419
|
+
/** Otelspanid */
|
|
1420
|
+
otelSpanId?: string | null;
|
|
1421
|
+
};
|
|
1145
1422
|
/** AnnotateSessionsRequestBody */
|
|
1146
1423
|
AnnotateSessionsRequestBody: {
|
|
1147
1424
|
/** Data */
|
|
@@ -1211,6 +1488,100 @@ export interface components {
|
|
|
1211
1488
|
*/
|
|
1212
1489
|
auth_method: "ANONYMOUS";
|
|
1213
1490
|
};
|
|
1491
|
+
/**
|
|
1492
|
+
* AppContext
|
|
1493
|
+
* @description Per-turn browser clock context for resolving relative time requests.
|
|
1494
|
+
*/
|
|
1495
|
+
AppContext: {
|
|
1496
|
+
/**
|
|
1497
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1498
|
+
* @enum {string}
|
|
1499
|
+
*/
|
|
1500
|
+
type: "app";
|
|
1501
|
+
/** Currentdatetime */
|
|
1502
|
+
currentDateTime: string;
|
|
1503
|
+
/** Timezone */
|
|
1504
|
+
timeZone: string;
|
|
1505
|
+
};
|
|
1506
|
+
/**
|
|
1507
|
+
* AssistantMessageMetadata
|
|
1508
|
+
* @description Wire schema for the chat stream's `message_metadata` payload.
|
|
1509
|
+
*/
|
|
1510
|
+
AssistantMessageMetadata: {
|
|
1511
|
+
/** Sessionid */
|
|
1512
|
+
sessionId: string;
|
|
1513
|
+
trace?: components["schemas"]["AssistantMessageMetadataTraceIds"] | null;
|
|
1514
|
+
usage?: components["schemas"]["AssistantMessageMetadataUsage"] | null;
|
|
1515
|
+
};
|
|
1516
|
+
/** AssistantMessageMetadataTraceIds */
|
|
1517
|
+
AssistantMessageMetadataTraceIds: {
|
|
1518
|
+
/** Traceid */
|
|
1519
|
+
traceId: string;
|
|
1520
|
+
/** Rootspanid */
|
|
1521
|
+
rootSpanId: string;
|
|
1522
|
+
};
|
|
1523
|
+
/** AssistantMessageMetadataUsage */
|
|
1524
|
+
AssistantMessageMetadataUsage: {
|
|
1525
|
+
tokens: components["schemas"]["AssistantMessageMetadataUsageTokens"];
|
|
1526
|
+
promptDetails?: components["schemas"]["AssistantMessageMetadataUsageTokenDetails"] | null;
|
|
1527
|
+
};
|
|
1528
|
+
/** AssistantMessageMetadataUsageTokenDetails */
|
|
1529
|
+
AssistantMessageMetadataUsageTokenDetails: {
|
|
1530
|
+
/** Cacheread */
|
|
1531
|
+
cacheRead: number;
|
|
1532
|
+
/** Cachewrite */
|
|
1533
|
+
cacheWrite: number;
|
|
1534
|
+
};
|
|
1535
|
+
/** AssistantMessageMetadataUsageTokens */
|
|
1536
|
+
AssistantMessageMetadataUsageTokens: {
|
|
1537
|
+
/** Prompt */
|
|
1538
|
+
prompt: number;
|
|
1539
|
+
/** Completion */
|
|
1540
|
+
completion: number;
|
|
1541
|
+
/** Total */
|
|
1542
|
+
total: number;
|
|
1543
|
+
};
|
|
1544
|
+
/**
|
|
1545
|
+
* AssistantMetadataUIMessage
|
|
1546
|
+
* @description `UIMessage` with `metadata` narrowed to `AssistantMessageMetadata`.
|
|
1547
|
+
*/
|
|
1548
|
+
AssistantMetadataUIMessage: {
|
|
1549
|
+
/** Id */
|
|
1550
|
+
id: string;
|
|
1551
|
+
/**
|
|
1552
|
+
* Role
|
|
1553
|
+
* @enum {string}
|
|
1554
|
+
*/
|
|
1555
|
+
role: "system" | "user" | "assistant";
|
|
1556
|
+
metadata?: components["schemas"]["AssistantMessageMetadata"] | null;
|
|
1557
|
+
/** Parts */
|
|
1558
|
+
parts: (components["schemas"]["TextUIPart"] | components["schemas"]["ReasoningUIPart"] | components["schemas"]["ToolInputStreamingPart"] | components["schemas"]["ToolInputAvailablePart"] | components["schemas"]["ToolOutputAvailablePart"] | components["schemas"]["ToolOutputErrorPart"] | components["schemas"]["ToolApprovalRequestedPart"] | components["schemas"]["ToolApprovalRespondedPart"] | components["schemas"]["ToolOutputDeniedPart"] | components["schemas"]["DynamicToolInputStreamingPart"] | components["schemas"]["DynamicToolInputAvailablePart"] | components["schemas"]["DynamicToolOutputAvailablePart"] | components["schemas"]["DynamicToolOutputErrorPart"] | components["schemas"]["DynamicToolApprovalRequestedPart"] | components["schemas"]["DynamicToolApprovalRespondedPart"] | components["schemas"]["DynamicToolOutputDeniedPart"] | components["schemas"]["SourceUrlUIPart"] | components["schemas"]["SourceDocumentUIPart"] | components["schemas"]["FileUIPart"] | components["schemas"]["DataUIPart"] | components["schemas"]["StepStartUIPart"])[];
|
|
1559
|
+
};
|
|
1560
|
+
/**
|
|
1561
|
+
* BuiltInProviderModelSelection
|
|
1562
|
+
* @description Chat against a Phoenix built-in provider.
|
|
1563
|
+
*
|
|
1564
|
+
* Credentials and connection details (base URL, Azure endpoint, AWS
|
|
1565
|
+
* region) are resolved from the secret store first and the process
|
|
1566
|
+
* environment second. ``openai_api_type`` is honoured by the OpenAI and
|
|
1567
|
+
* Azure OpenAI branches; other providers ignore it.
|
|
1568
|
+
*/
|
|
1569
|
+
BuiltInProviderModelSelection: {
|
|
1570
|
+
/**
|
|
1571
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1572
|
+
* @enum {string}
|
|
1573
|
+
*/
|
|
1574
|
+
providerType: "builtin";
|
|
1575
|
+
provider: components["schemas"]["ModelProvider"];
|
|
1576
|
+
/** Modelname */
|
|
1577
|
+
modelName: string;
|
|
1578
|
+
/**
|
|
1579
|
+
* Openaiapitype
|
|
1580
|
+
* @default responses
|
|
1581
|
+
* @enum {string}
|
|
1582
|
+
*/
|
|
1583
|
+
openaiApiType?: "chat_completions" | "responses";
|
|
1584
|
+
};
|
|
1214
1585
|
/** CategoricalAnnotationConfig */
|
|
1215
1586
|
CategoricalAnnotationConfig: {
|
|
1216
1587
|
/** Name */
|
|
@@ -1250,6 +1621,86 @@ export interface components {
|
|
|
1250
1621
|
/** Score */
|
|
1251
1622
|
score?: number | null;
|
|
1252
1623
|
};
|
|
1624
|
+
/**
|
|
1625
|
+
* ChatContext
|
|
1626
|
+
* @description Discriminated union of every UI-state context the agent understands.
|
|
1627
|
+
*
|
|
1628
|
+
* Wrapped in ``RootModel`` so the generated OpenAPI schema exposes a single
|
|
1629
|
+
* named ``ChatContext`` component instead of inlining the ``oneOf`` at every
|
|
1630
|
+
* reference site. The actual member is accessible via ``.root``.
|
|
1631
|
+
*/
|
|
1632
|
+
ChatContext: components["schemas"]["AppContext"] | components["schemas"]["ProjectContext"] | components["schemas"]["TraceContext"] | components["schemas"]["AgentSpanContext"] | components["schemas"]["PlaygroundContext"];
|
|
1633
|
+
/**
|
|
1634
|
+
* ChatRegenerateMessage
|
|
1635
|
+
* @description Regenerate message extended with Phoenix-specific fields.
|
|
1636
|
+
*/
|
|
1637
|
+
ChatRegenerateMessage: {
|
|
1638
|
+
/**
|
|
1639
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1640
|
+
* @enum {string}
|
|
1641
|
+
*/
|
|
1642
|
+
trigger: "regenerate-message";
|
|
1643
|
+
/** Id */
|
|
1644
|
+
id: string;
|
|
1645
|
+
/** Messages */
|
|
1646
|
+
messages: components["schemas"]["AssistantMetadataUIMessage"][];
|
|
1647
|
+
/** Messageid */
|
|
1648
|
+
messageId?: string | null;
|
|
1649
|
+
/**
|
|
1650
|
+
* Ingesttraces
|
|
1651
|
+
* @default false
|
|
1652
|
+
*/
|
|
1653
|
+
ingestTraces?: boolean;
|
|
1654
|
+
/**
|
|
1655
|
+
* Exportremotetraces
|
|
1656
|
+
* @default false
|
|
1657
|
+
*/
|
|
1658
|
+
exportRemoteTraces?: boolean;
|
|
1659
|
+
/** Contexts */
|
|
1660
|
+
contexts?: components["schemas"]["ChatContext"][];
|
|
1661
|
+
capabilities?: components["schemas"]["AgentCapabilities"];
|
|
1662
|
+
/** Model */
|
|
1663
|
+
model: components["schemas"]["CustomProviderModelSelection"] | components["schemas"]["BuiltInProviderModelSelection"];
|
|
1664
|
+
} & {
|
|
1665
|
+
[key: string]: unknown;
|
|
1666
|
+
};
|
|
1667
|
+
/**
|
|
1668
|
+
* ChatRequest
|
|
1669
|
+
* @description Discriminated union of chat request payloads.
|
|
1670
|
+
*/
|
|
1671
|
+
ChatRequest: components["schemas"]["ChatSubmitMessage"] | components["schemas"]["ChatRegenerateMessage"];
|
|
1672
|
+
/**
|
|
1673
|
+
* ChatSubmitMessage
|
|
1674
|
+
* @description Submit message extended with Phoenix-specific fields.
|
|
1675
|
+
*/
|
|
1676
|
+
ChatSubmitMessage: {
|
|
1677
|
+
/**
|
|
1678
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1679
|
+
* @enum {string}
|
|
1680
|
+
*/
|
|
1681
|
+
trigger: "submit-message";
|
|
1682
|
+
/** Id */
|
|
1683
|
+
id: string;
|
|
1684
|
+
/** Messages */
|
|
1685
|
+
messages: components["schemas"]["AssistantMetadataUIMessage"][];
|
|
1686
|
+
/**
|
|
1687
|
+
* Ingesttraces
|
|
1688
|
+
* @default false
|
|
1689
|
+
*/
|
|
1690
|
+
ingestTraces?: boolean;
|
|
1691
|
+
/**
|
|
1692
|
+
* Exportremotetraces
|
|
1693
|
+
* @default false
|
|
1694
|
+
*/
|
|
1695
|
+
exportRemoteTraces?: boolean;
|
|
1696
|
+
/** Contexts */
|
|
1697
|
+
contexts?: components["schemas"]["ChatContext"][];
|
|
1698
|
+
capabilities?: components["schemas"]["AgentCapabilities"];
|
|
1699
|
+
/** Model */
|
|
1700
|
+
model: components["schemas"]["CustomProviderModelSelection"] | components["schemas"]["BuiltInProviderModelSelection"];
|
|
1701
|
+
} & {
|
|
1702
|
+
[key: string]: unknown;
|
|
1703
|
+
};
|
|
1253
1704
|
/** ContinuousAnnotationConfig */
|
|
1254
1705
|
ContinuousAnnotationConfig: {
|
|
1255
1706
|
/** Name */
|
|
@@ -1465,6 +1916,33 @@ export interface components {
|
|
|
1465
1916
|
/** Data */
|
|
1466
1917
|
data: components["schemas"]["LocalUser"] | components["schemas"]["OAuth2User"] | components["schemas"]["LDAPUser"];
|
|
1467
1918
|
};
|
|
1919
|
+
/**
|
|
1920
|
+
* CustomProviderModelSelection
|
|
1921
|
+
* @description Chat against a stored custom provider record.
|
|
1922
|
+
*/
|
|
1923
|
+
CustomProviderModelSelection: {
|
|
1924
|
+
/**
|
|
1925
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1926
|
+
* @enum {string}
|
|
1927
|
+
*/
|
|
1928
|
+
providerType: "custom";
|
|
1929
|
+
/** Providerid */
|
|
1930
|
+
providerId: string;
|
|
1931
|
+
/** Modelname */
|
|
1932
|
+
modelName: string;
|
|
1933
|
+
};
|
|
1934
|
+
/**
|
|
1935
|
+
* DataUIPart
|
|
1936
|
+
* @description Data part with dynamic type based on data name.
|
|
1937
|
+
*/
|
|
1938
|
+
DataUIPart: {
|
|
1939
|
+
/** Type */
|
|
1940
|
+
type: string;
|
|
1941
|
+
/** Id */
|
|
1942
|
+
id?: string | null;
|
|
1943
|
+
/** Data */
|
|
1944
|
+
data: unknown;
|
|
1945
|
+
};
|
|
1468
1946
|
/** Dataset */
|
|
1469
1947
|
Dataset: {
|
|
1470
1948
|
/** Id */
|
|
@@ -1509,64 +1987,294 @@ export interface components {
|
|
|
1509
1987
|
[key: string]: unknown;
|
|
1510
1988
|
};
|
|
1511
1989
|
/**
|
|
1512
|
-
* Updated At
|
|
1513
|
-
* Format: date-time
|
|
1990
|
+
* Updated At
|
|
1991
|
+
* Format: date-time
|
|
1992
|
+
*/
|
|
1993
|
+
updated_at: string;
|
|
1994
|
+
};
|
|
1995
|
+
/** DatasetVersion */
|
|
1996
|
+
DatasetVersion: {
|
|
1997
|
+
/** Version Id */
|
|
1998
|
+
version_id: string;
|
|
1999
|
+
/** Description */
|
|
2000
|
+
description: string | null;
|
|
2001
|
+
/** Metadata */
|
|
2002
|
+
metadata: {
|
|
2003
|
+
[key: string]: unknown;
|
|
2004
|
+
};
|
|
2005
|
+
/**
|
|
2006
|
+
* Created At
|
|
2007
|
+
* Format: date-time
|
|
2008
|
+
*/
|
|
2009
|
+
created_at: string;
|
|
2010
|
+
};
|
|
2011
|
+
/** DatasetWithExampleCount */
|
|
2012
|
+
DatasetWithExampleCount: {
|
|
2013
|
+
/** Id */
|
|
2014
|
+
id: string;
|
|
2015
|
+
/** Name */
|
|
2016
|
+
name: string;
|
|
2017
|
+
/** Description */
|
|
2018
|
+
description: string | null;
|
|
2019
|
+
/** Metadata */
|
|
2020
|
+
metadata: {
|
|
2021
|
+
[key: string]: unknown;
|
|
2022
|
+
};
|
|
2023
|
+
/**
|
|
2024
|
+
* Created At
|
|
2025
|
+
* Format: date-time
|
|
2026
|
+
*/
|
|
2027
|
+
created_at: string;
|
|
2028
|
+
/**
|
|
2029
|
+
* Updated At
|
|
2030
|
+
* Format: date-time
|
|
2031
|
+
*/
|
|
2032
|
+
updated_at: string;
|
|
2033
|
+
/** Example Count */
|
|
2034
|
+
example_count: number;
|
|
2035
|
+
};
|
|
2036
|
+
/** DeleteAnnotationConfigResponseBody */
|
|
2037
|
+
DeleteAnnotationConfigResponseBody: {
|
|
2038
|
+
/** Data */
|
|
2039
|
+
data: components["schemas"]["CategoricalAnnotationConfig"] | components["schemas"]["ContinuousAnnotationConfig"] | components["schemas"]["FreeformAnnotationConfig"];
|
|
2040
|
+
};
|
|
2041
|
+
/** DeleteSessionsRequestBody */
|
|
2042
|
+
DeleteSessionsRequestBody: {
|
|
2043
|
+
/**
|
|
2044
|
+
* Session Identifiers
|
|
2045
|
+
* @description List of session identifiers to delete. All identifiers must be the same type: either all GlobalIDs or all user-provided session_id strings.
|
|
2046
|
+
*/
|
|
2047
|
+
session_identifiers: string[];
|
|
2048
|
+
};
|
|
2049
|
+
/**
|
|
2050
|
+
* DynamicToolApprovalRequestedPart
|
|
2051
|
+
* @description Dynamic tool part in approval-requested state (awaiting user decision).
|
|
2052
|
+
*/
|
|
2053
|
+
DynamicToolApprovalRequestedPart: {
|
|
2054
|
+
/**
|
|
2055
|
+
* Type
|
|
2056
|
+
* @default dynamic-tool
|
|
2057
|
+
* @constant
|
|
2058
|
+
*/
|
|
2059
|
+
type?: "dynamic-tool";
|
|
2060
|
+
/** Toolname */
|
|
2061
|
+
toolName: string;
|
|
2062
|
+
/** Toolcallid */
|
|
2063
|
+
toolCallId: string;
|
|
2064
|
+
/**
|
|
2065
|
+
* State
|
|
2066
|
+
* @default approval-requested
|
|
2067
|
+
* @constant
|
|
2068
|
+
*/
|
|
2069
|
+
state?: "approval-requested";
|
|
2070
|
+
/** Input */
|
|
2071
|
+
input: unknown;
|
|
2072
|
+
/** Callprovidermetadata */
|
|
2073
|
+
callProviderMetadata?: {
|
|
2074
|
+
[key: string]: {
|
|
2075
|
+
[key: string]: unknown;
|
|
2076
|
+
};
|
|
2077
|
+
} | null;
|
|
2078
|
+
/** Approval */
|
|
2079
|
+
approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
|
|
2080
|
+
};
|
|
2081
|
+
/**
|
|
2082
|
+
* DynamicToolApprovalRespondedPart
|
|
2083
|
+
* @description Dynamic tool part in approval-responded state (user approved/denied, execution pending).
|
|
2084
|
+
*/
|
|
2085
|
+
DynamicToolApprovalRespondedPart: {
|
|
2086
|
+
/**
|
|
2087
|
+
* Type
|
|
2088
|
+
* @default dynamic-tool
|
|
2089
|
+
* @constant
|
|
2090
|
+
*/
|
|
2091
|
+
type?: "dynamic-tool";
|
|
2092
|
+
/** Toolname */
|
|
2093
|
+
toolName: string;
|
|
2094
|
+
/** Toolcallid */
|
|
2095
|
+
toolCallId: string;
|
|
2096
|
+
/**
|
|
2097
|
+
* State
|
|
2098
|
+
* @default approval-responded
|
|
2099
|
+
* @constant
|
|
2100
|
+
*/
|
|
2101
|
+
state?: "approval-responded";
|
|
2102
|
+
/** Input */
|
|
2103
|
+
input: unknown;
|
|
2104
|
+
/** Callprovidermetadata */
|
|
2105
|
+
callProviderMetadata?: {
|
|
2106
|
+
[key: string]: {
|
|
2107
|
+
[key: string]: unknown;
|
|
2108
|
+
};
|
|
2109
|
+
} | null;
|
|
2110
|
+
/** Approval */
|
|
2111
|
+
approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
|
|
2112
|
+
};
|
|
2113
|
+
/**
|
|
2114
|
+
* DynamicToolInputAvailablePart
|
|
2115
|
+
* @description Dynamic tool part in input-available state.
|
|
2116
|
+
*/
|
|
2117
|
+
DynamicToolInputAvailablePart: {
|
|
2118
|
+
/**
|
|
2119
|
+
* Type
|
|
2120
|
+
* @default dynamic-tool
|
|
2121
|
+
* @constant
|
|
2122
|
+
*/
|
|
2123
|
+
type?: "dynamic-tool";
|
|
2124
|
+
/** Toolname */
|
|
2125
|
+
toolName: string;
|
|
2126
|
+
/** Toolcallid */
|
|
2127
|
+
toolCallId: string;
|
|
2128
|
+
/**
|
|
2129
|
+
* State
|
|
2130
|
+
* @default input-available
|
|
2131
|
+
* @constant
|
|
2132
|
+
*/
|
|
2133
|
+
state?: "input-available";
|
|
2134
|
+
/** Input */
|
|
2135
|
+
input: unknown;
|
|
2136
|
+
/** Callprovidermetadata */
|
|
2137
|
+
callProviderMetadata?: {
|
|
2138
|
+
[key: string]: {
|
|
2139
|
+
[key: string]: unknown;
|
|
2140
|
+
};
|
|
2141
|
+
} | null;
|
|
2142
|
+
/** Approval */
|
|
2143
|
+
approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
|
|
2144
|
+
};
|
|
2145
|
+
/**
|
|
2146
|
+
* DynamicToolInputStreamingPart
|
|
2147
|
+
* @description Dynamic tool part in input-streaming state.
|
|
2148
|
+
*/
|
|
2149
|
+
DynamicToolInputStreamingPart: {
|
|
2150
|
+
/**
|
|
2151
|
+
* Type
|
|
2152
|
+
* @default dynamic-tool
|
|
2153
|
+
* @constant
|
|
2154
|
+
*/
|
|
2155
|
+
type?: "dynamic-tool";
|
|
2156
|
+
/** Toolname */
|
|
2157
|
+
toolName: string;
|
|
2158
|
+
/** Toolcallid */
|
|
2159
|
+
toolCallId: string;
|
|
2160
|
+
/**
|
|
2161
|
+
* State
|
|
2162
|
+
* @default input-streaming
|
|
2163
|
+
* @constant
|
|
2164
|
+
*/
|
|
2165
|
+
state?: "input-streaming";
|
|
2166
|
+
/** Input */
|
|
2167
|
+
input?: unknown | null;
|
|
2168
|
+
/** Callprovidermetadata */
|
|
2169
|
+
callProviderMetadata?: {
|
|
2170
|
+
[key: string]: {
|
|
2171
|
+
[key: string]: unknown;
|
|
2172
|
+
};
|
|
2173
|
+
} | null;
|
|
2174
|
+
/** Approval */
|
|
2175
|
+
approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
|
|
2176
|
+
};
|
|
2177
|
+
/**
|
|
2178
|
+
* DynamicToolOutputAvailablePart
|
|
2179
|
+
* @description Dynamic tool part in output-available state.
|
|
2180
|
+
*/
|
|
2181
|
+
DynamicToolOutputAvailablePart: {
|
|
2182
|
+
/**
|
|
2183
|
+
* Type
|
|
2184
|
+
* @default dynamic-tool
|
|
2185
|
+
* @constant
|
|
1514
2186
|
*/
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
version_id: string;
|
|
1521
|
-
/** Description */
|
|
1522
|
-
description: string | null;
|
|
1523
|
-
/** Metadata */
|
|
1524
|
-
metadata: {
|
|
1525
|
-
[key: string]: unknown;
|
|
1526
|
-
};
|
|
2187
|
+
type?: "dynamic-tool";
|
|
2188
|
+
/** Toolname */
|
|
2189
|
+
toolName: string;
|
|
2190
|
+
/** Toolcallid */
|
|
2191
|
+
toolCallId: string;
|
|
1527
2192
|
/**
|
|
1528
|
-
*
|
|
1529
|
-
*
|
|
2193
|
+
* State
|
|
2194
|
+
* @default output-available
|
|
2195
|
+
* @constant
|
|
1530
2196
|
*/
|
|
1531
|
-
|
|
2197
|
+
state?: "output-available";
|
|
2198
|
+
/** Input */
|
|
2199
|
+
input: unknown;
|
|
2200
|
+
/** Output */
|
|
2201
|
+
output: unknown;
|
|
2202
|
+
/** Callprovidermetadata */
|
|
2203
|
+
callProviderMetadata?: {
|
|
2204
|
+
[key: string]: {
|
|
2205
|
+
[key: string]: unknown;
|
|
2206
|
+
};
|
|
2207
|
+
} | null;
|
|
2208
|
+
/** Preliminary */
|
|
2209
|
+
preliminary?: boolean | null;
|
|
2210
|
+
/** Approval */
|
|
2211
|
+
approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
|
|
1532
2212
|
};
|
|
1533
|
-
/**
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
name: string;
|
|
1539
|
-
/** Description */
|
|
1540
|
-
description: string | null;
|
|
1541
|
-
/** Metadata */
|
|
1542
|
-
metadata: {
|
|
1543
|
-
[key: string]: unknown;
|
|
1544
|
-
};
|
|
2213
|
+
/**
|
|
2214
|
+
* DynamicToolOutputDeniedPart
|
|
2215
|
+
* @description Dynamic tool part in output-denied state (tool was denied, terminal state).
|
|
2216
|
+
*/
|
|
2217
|
+
DynamicToolOutputDeniedPart: {
|
|
1545
2218
|
/**
|
|
1546
|
-
*
|
|
1547
|
-
*
|
|
2219
|
+
* Type
|
|
2220
|
+
* @default dynamic-tool
|
|
2221
|
+
* @constant
|
|
1548
2222
|
*/
|
|
1549
|
-
|
|
2223
|
+
type?: "dynamic-tool";
|
|
2224
|
+
/** Toolname */
|
|
2225
|
+
toolName: string;
|
|
2226
|
+
/** Toolcallid */
|
|
2227
|
+
toolCallId: string;
|
|
1550
2228
|
/**
|
|
1551
|
-
*
|
|
1552
|
-
*
|
|
2229
|
+
* State
|
|
2230
|
+
* @default output-denied
|
|
2231
|
+
* @constant
|
|
1553
2232
|
*/
|
|
1554
|
-
|
|
1555
|
-
/**
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
2233
|
+
state?: "output-denied";
|
|
2234
|
+
/** Input */
|
|
2235
|
+
input: unknown;
|
|
2236
|
+
/** Callprovidermetadata */
|
|
2237
|
+
callProviderMetadata?: {
|
|
2238
|
+
[key: string]: {
|
|
2239
|
+
[key: string]: unknown;
|
|
2240
|
+
};
|
|
2241
|
+
} | null;
|
|
2242
|
+
/** Approval */
|
|
2243
|
+
approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
|
|
1562
2244
|
};
|
|
1563
|
-
/**
|
|
1564
|
-
|
|
2245
|
+
/**
|
|
2246
|
+
* DynamicToolOutputErrorPart
|
|
2247
|
+
* @description Dynamic tool part in output-error state.
|
|
2248
|
+
*/
|
|
2249
|
+
DynamicToolOutputErrorPart: {
|
|
1565
2250
|
/**
|
|
1566
|
-
*
|
|
1567
|
-
* @
|
|
2251
|
+
* Type
|
|
2252
|
+
* @default dynamic-tool
|
|
2253
|
+
* @constant
|
|
1568
2254
|
*/
|
|
1569
|
-
|
|
2255
|
+
type?: "dynamic-tool";
|
|
2256
|
+
/** Toolname */
|
|
2257
|
+
toolName: string;
|
|
2258
|
+
/** Toolcallid */
|
|
2259
|
+
toolCallId: string;
|
|
2260
|
+
/**
|
|
2261
|
+
* State
|
|
2262
|
+
* @default output-error
|
|
2263
|
+
* @constant
|
|
2264
|
+
*/
|
|
2265
|
+
state?: "output-error";
|
|
2266
|
+
/** Input */
|
|
2267
|
+
input: unknown;
|
|
2268
|
+
/** Errortext */
|
|
2269
|
+
errorText: string;
|
|
2270
|
+
/** Callprovidermetadata */
|
|
2271
|
+
callProviderMetadata?: {
|
|
2272
|
+
[key: string]: {
|
|
2273
|
+
[key: string]: unknown;
|
|
2274
|
+
};
|
|
2275
|
+
} | null;
|
|
2276
|
+
/** Approval */
|
|
2277
|
+
approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
|
|
1570
2278
|
};
|
|
1571
2279
|
/** Experiment */
|
|
1572
2280
|
Experiment: {
|
|
@@ -1703,6 +2411,30 @@ export interface components {
|
|
|
1703
2411
|
*/
|
|
1704
2412
|
experiment_id: string;
|
|
1705
2413
|
};
|
|
2414
|
+
/**
|
|
2415
|
+
* FileUIPart
|
|
2416
|
+
* @description A file part of a message.
|
|
2417
|
+
*/
|
|
2418
|
+
FileUIPart: {
|
|
2419
|
+
/**
|
|
2420
|
+
* Type
|
|
2421
|
+
* @default file
|
|
2422
|
+
* @constant
|
|
2423
|
+
*/
|
|
2424
|
+
type?: "file";
|
|
2425
|
+
/** Mediatype */
|
|
2426
|
+
mediaType: string;
|
|
2427
|
+
/** Filename */
|
|
2428
|
+
filename?: string | null;
|
|
2429
|
+
/** Url */
|
|
2430
|
+
url: string;
|
|
2431
|
+
/** Providermetadata */
|
|
2432
|
+
providerMetadata?: {
|
|
2433
|
+
[key: string]: {
|
|
2434
|
+
[key: string]: unknown;
|
|
2435
|
+
};
|
|
2436
|
+
} | null;
|
|
2437
|
+
};
|
|
1706
2438
|
/** FreeformAnnotationConfig */
|
|
1707
2439
|
FreeformAnnotationConfig: {
|
|
1708
2440
|
/** Name */
|
|
@@ -2306,6 +3038,19 @@ export interface components {
|
|
|
2306
3038
|
*/
|
|
2307
3039
|
message?: string | null;
|
|
2308
3040
|
};
|
|
3041
|
+
/**
|
|
3042
|
+
* PlaygroundContext
|
|
3043
|
+
* @description Playground prompt editor state mounted in the current browser route.
|
|
3044
|
+
*/
|
|
3045
|
+
PlaygroundContext: {
|
|
3046
|
+
/**
|
|
3047
|
+
* @description discriminator enum property added by openapi-typescript
|
|
3048
|
+
* @enum {string}
|
|
3049
|
+
*/
|
|
3050
|
+
type: "playground";
|
|
3051
|
+
/** Instanceids */
|
|
3052
|
+
instanceIds: number[];
|
|
3053
|
+
};
|
|
2309
3054
|
/** Project */
|
|
2310
3055
|
Project: {
|
|
2311
3056
|
/** Name */
|
|
@@ -2315,6 +3060,32 @@ export interface components {
|
|
|
2315
3060
|
/** Id */
|
|
2316
3061
|
id: string;
|
|
2317
3062
|
};
|
|
3063
|
+
/**
|
|
3064
|
+
* ProjectContext
|
|
3065
|
+
* @description Project the user is currently viewing.
|
|
3066
|
+
*
|
|
3067
|
+
* ``span_filter`` carries the project-scoped span filter expression when the
|
|
3068
|
+
* span filter field is mounted — empty string when the field is mounted with
|
|
3069
|
+
* no condition applied, ``None`` when the field is not present at all.
|
|
3070
|
+
*
|
|
3071
|
+
* ``root_spans_only`` carries the current state of the spans-table root vs.
|
|
3072
|
+
* all toggle when that toggle is mounted — ``True`` when the table is
|
|
3073
|
+
* restricted to root spans, ``False`` when it shows every span, ``None``
|
|
3074
|
+
* when the toggle is not present (e.g. on the traces tab).
|
|
3075
|
+
*/
|
|
3076
|
+
ProjectContext: {
|
|
3077
|
+
/**
|
|
3078
|
+
* @description discriminator enum property added by openapi-typescript
|
|
3079
|
+
* @enum {string}
|
|
3080
|
+
*/
|
|
3081
|
+
type: "project";
|
|
3082
|
+
/** Projectnodeid */
|
|
3083
|
+
projectNodeId: string;
|
|
3084
|
+
/** Spanfilter */
|
|
3085
|
+
spanFilter?: string | null;
|
|
3086
|
+
/** Rootspansonly */
|
|
3087
|
+
rootSpansOnly?: boolean | null;
|
|
3088
|
+
};
|
|
2318
3089
|
/** Prompt */
|
|
2319
3090
|
Prompt: {
|
|
2320
3091
|
name: components["schemas"]["Identifier"];
|
|
@@ -3072,6 +3843,28 @@ export interface components {
|
|
|
3072
3843
|
[key: string]: unknown;
|
|
3073
3844
|
};
|
|
3074
3845
|
};
|
|
3846
|
+
/**
|
|
3847
|
+
* ReasoningUIPart
|
|
3848
|
+
* @description A reasoning part of a message.
|
|
3849
|
+
*/
|
|
3850
|
+
ReasoningUIPart: {
|
|
3851
|
+
/**
|
|
3852
|
+
* Type
|
|
3853
|
+
* @default reasoning
|
|
3854
|
+
* @constant
|
|
3855
|
+
*/
|
|
3856
|
+
type?: "reasoning";
|
|
3857
|
+
/** Text */
|
|
3858
|
+
text: string;
|
|
3859
|
+
/** State */
|
|
3860
|
+
state?: ("streaming" | "done") | null;
|
|
3861
|
+
/** Providermetadata */
|
|
3862
|
+
providerMetadata?: {
|
|
3863
|
+
[key: string]: {
|
|
3864
|
+
[key: string]: unknown;
|
|
3865
|
+
};
|
|
3866
|
+
} | null;
|
|
3867
|
+
};
|
|
3075
3868
|
/** ResponseBody[UpsertOrDeleteSecretsResult] */
|
|
3076
3869
|
ResponseBody_UpsertOrDeleteSecretsResult_: {
|
|
3077
3870
|
data: components["schemas"]["UpsertOrDeleteSecretsResult"];
|
|
@@ -3234,6 +4027,12 @@ export interface components {
|
|
|
3234
4027
|
* @description The note text to add to the session
|
|
3235
4028
|
*/
|
|
3236
4029
|
note: string;
|
|
4030
|
+
/**
|
|
4031
|
+
* Identifier
|
|
4032
|
+
* @description Optional caller-supplied identifier. When non-empty, the note is upserted on (session_id, name='note', identifier) — repeated calls with the same identifier overwrite the existing note. When omitted or empty, the server stamps a unique 'px-session-note:<uuid>' identifier so each call appends a new note.
|
|
4033
|
+
* @default
|
|
4034
|
+
*/
|
|
4035
|
+
identifier?: string;
|
|
3237
4036
|
};
|
|
3238
4037
|
/** SessionTraceData */
|
|
3239
4038
|
SessionTraceData: {
|
|
@@ -3252,6 +4051,56 @@ export interface components {
|
|
|
3252
4051
|
*/
|
|
3253
4052
|
end_time: string;
|
|
3254
4053
|
};
|
|
4054
|
+
/**
|
|
4055
|
+
* SourceDocumentUIPart
|
|
4056
|
+
* @description A document source part of a message.
|
|
4057
|
+
*/
|
|
4058
|
+
SourceDocumentUIPart: {
|
|
4059
|
+
/**
|
|
4060
|
+
* Type
|
|
4061
|
+
* @default source-document
|
|
4062
|
+
* @constant
|
|
4063
|
+
*/
|
|
4064
|
+
type?: "source-document";
|
|
4065
|
+
/** Sourceid */
|
|
4066
|
+
sourceId: string;
|
|
4067
|
+
/** Mediatype */
|
|
4068
|
+
mediaType: string;
|
|
4069
|
+
/** Title */
|
|
4070
|
+
title: string;
|
|
4071
|
+
/** Filename */
|
|
4072
|
+
filename?: string | null;
|
|
4073
|
+
/** Providermetadata */
|
|
4074
|
+
providerMetadata?: {
|
|
4075
|
+
[key: string]: {
|
|
4076
|
+
[key: string]: unknown;
|
|
4077
|
+
};
|
|
4078
|
+
} | null;
|
|
4079
|
+
};
|
|
4080
|
+
/**
|
|
4081
|
+
* SourceUrlUIPart
|
|
4082
|
+
* @description A source part of a message.
|
|
4083
|
+
*/
|
|
4084
|
+
SourceUrlUIPart: {
|
|
4085
|
+
/**
|
|
4086
|
+
* Type
|
|
4087
|
+
* @default source-url
|
|
4088
|
+
* @constant
|
|
4089
|
+
*/
|
|
4090
|
+
type?: "source-url";
|
|
4091
|
+
/** Sourceid */
|
|
4092
|
+
sourceId: string;
|
|
4093
|
+
/** Url */
|
|
4094
|
+
url: string;
|
|
4095
|
+
/** Title */
|
|
4096
|
+
title?: string | null;
|
|
4097
|
+
/** Providermetadata */
|
|
4098
|
+
providerMetadata?: {
|
|
4099
|
+
[key: string]: {
|
|
4100
|
+
[key: string]: unknown;
|
|
4101
|
+
};
|
|
4102
|
+
} | null;
|
|
4103
|
+
};
|
|
3255
4104
|
/**
|
|
3256
4105
|
* Span
|
|
3257
4106
|
* @example {
|
|
@@ -3527,6 +4376,12 @@ export interface components {
|
|
|
3527
4376
|
* @description The note text to add to the span
|
|
3528
4377
|
*/
|
|
3529
4378
|
note: string;
|
|
4379
|
+
/**
|
|
4380
|
+
* Identifier
|
|
4381
|
+
* @description Optional caller-supplied identifier. When non-empty, the note is upserted on (span_id, name='note', identifier) — repeated calls with the same identifier overwrite the existing note. When omitted or empty, the server stamps a unique 'px-span-note:<uuid>' identifier so each call appends a new note.
|
|
4382
|
+
* @default
|
|
4383
|
+
*/
|
|
4384
|
+
identifier?: string;
|
|
3530
4385
|
};
|
|
3531
4386
|
/** SpansResponseBody */
|
|
3532
4387
|
SpansResponseBody: {
|
|
@@ -3535,6 +4390,18 @@ export interface components {
|
|
|
3535
4390
|
/** Next Cursor */
|
|
3536
4391
|
next_cursor: string | null;
|
|
3537
4392
|
};
|
|
4393
|
+
/**
|
|
4394
|
+
* StepStartUIPart
|
|
4395
|
+
* @description A step boundary part of a message.
|
|
4396
|
+
*/
|
|
4397
|
+
StepStartUIPart: {
|
|
4398
|
+
/**
|
|
4399
|
+
* Type
|
|
4400
|
+
* @default step-start
|
|
4401
|
+
* @constant
|
|
4402
|
+
*/
|
|
4403
|
+
type?: "step-start";
|
|
4404
|
+
};
|
|
3538
4405
|
/** TextContentPart */
|
|
3539
4406
|
TextContentPart: {
|
|
3540
4407
|
/**
|
|
@@ -3545,6 +4412,104 @@ export interface components {
|
|
|
3545
4412
|
/** Text */
|
|
3546
4413
|
text: string;
|
|
3547
4414
|
};
|
|
4415
|
+
/**
|
|
4416
|
+
* TextUIPart
|
|
4417
|
+
* @description A text part of a message.
|
|
4418
|
+
*/
|
|
4419
|
+
TextUIPart: {
|
|
4420
|
+
/**
|
|
4421
|
+
* Type
|
|
4422
|
+
* @default text
|
|
4423
|
+
* @constant
|
|
4424
|
+
*/
|
|
4425
|
+
type?: "text";
|
|
4426
|
+
/** Text */
|
|
4427
|
+
text: string;
|
|
4428
|
+
/** State */
|
|
4429
|
+
state?: ("streaming" | "done") | null;
|
|
4430
|
+
/** Providermetadata */
|
|
4431
|
+
providerMetadata?: {
|
|
4432
|
+
[key: string]: {
|
|
4433
|
+
[key: string]: unknown;
|
|
4434
|
+
};
|
|
4435
|
+
} | null;
|
|
4436
|
+
};
|
|
4437
|
+
/**
|
|
4438
|
+
* ToolApprovalRequested
|
|
4439
|
+
* @description Tool approval in requested state (awaiting user response).
|
|
4440
|
+
*/
|
|
4441
|
+
ToolApprovalRequested: {
|
|
4442
|
+
/** Id */
|
|
4443
|
+
id: string;
|
|
4444
|
+
};
|
|
4445
|
+
/**
|
|
4446
|
+
* ToolApprovalRequestedPart
|
|
4447
|
+
* @description Tool part in approval-requested state (awaiting user decision).
|
|
4448
|
+
*/
|
|
4449
|
+
ToolApprovalRequestedPart: {
|
|
4450
|
+
/** Type */
|
|
4451
|
+
type: string;
|
|
4452
|
+
/** Toolcallid */
|
|
4453
|
+
toolCallId: string;
|
|
4454
|
+
/**
|
|
4455
|
+
* State
|
|
4456
|
+
* @default approval-requested
|
|
4457
|
+
* @constant
|
|
4458
|
+
*/
|
|
4459
|
+
state?: "approval-requested";
|
|
4460
|
+
/** Input */
|
|
4461
|
+
input?: unknown | null;
|
|
4462
|
+
/** Providerexecuted */
|
|
4463
|
+
providerExecuted?: boolean | null;
|
|
4464
|
+
/** Callprovidermetadata */
|
|
4465
|
+
callProviderMetadata?: {
|
|
4466
|
+
[key: string]: {
|
|
4467
|
+
[key: string]: unknown;
|
|
4468
|
+
};
|
|
4469
|
+
} | null;
|
|
4470
|
+
/** Approval */
|
|
4471
|
+
approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
|
|
4472
|
+
};
|
|
4473
|
+
/**
|
|
4474
|
+
* ToolApprovalResponded
|
|
4475
|
+
* @description Tool approval in responded state (user has approved or denied).
|
|
4476
|
+
*/
|
|
4477
|
+
ToolApprovalResponded: {
|
|
4478
|
+
/** Id */
|
|
4479
|
+
id: string;
|
|
4480
|
+
/** Approved */
|
|
4481
|
+
approved: boolean;
|
|
4482
|
+
/** Reason */
|
|
4483
|
+
reason?: string | null;
|
|
4484
|
+
};
|
|
4485
|
+
/**
|
|
4486
|
+
* ToolApprovalRespondedPart
|
|
4487
|
+
* @description Tool part in approval-responded state (user approved/denied, execution pending).
|
|
4488
|
+
*/
|
|
4489
|
+
ToolApprovalRespondedPart: {
|
|
4490
|
+
/** Type */
|
|
4491
|
+
type: string;
|
|
4492
|
+
/** Toolcallid */
|
|
4493
|
+
toolCallId: string;
|
|
4494
|
+
/**
|
|
4495
|
+
* State
|
|
4496
|
+
* @default approval-responded
|
|
4497
|
+
* @constant
|
|
4498
|
+
*/
|
|
4499
|
+
state?: "approval-responded";
|
|
4500
|
+
/** Input */
|
|
4501
|
+
input?: unknown | null;
|
|
4502
|
+
/** Providerexecuted */
|
|
4503
|
+
providerExecuted?: boolean | null;
|
|
4504
|
+
/** Callprovidermetadata */
|
|
4505
|
+
callProviderMetadata?: {
|
|
4506
|
+
[key: string]: {
|
|
4507
|
+
[key: string]: unknown;
|
|
4508
|
+
};
|
|
4509
|
+
} | null;
|
|
4510
|
+
/** Approval */
|
|
4511
|
+
approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
|
|
4512
|
+
};
|
|
3548
4513
|
/** ToolCallContentPart */
|
|
3549
4514
|
ToolCallContentPart: {
|
|
3550
4515
|
/**
|
|
@@ -3569,6 +4534,154 @@ export interface components {
|
|
|
3569
4534
|
/** Arguments */
|
|
3570
4535
|
arguments: string;
|
|
3571
4536
|
};
|
|
4537
|
+
/**
|
|
4538
|
+
* ToolInputAvailablePart
|
|
4539
|
+
* @description Tool part in input-available state.
|
|
4540
|
+
*/
|
|
4541
|
+
ToolInputAvailablePart: {
|
|
4542
|
+
/** Type */
|
|
4543
|
+
type: string;
|
|
4544
|
+
/** Toolcallid */
|
|
4545
|
+
toolCallId: string;
|
|
4546
|
+
/**
|
|
4547
|
+
* State
|
|
4548
|
+
* @default input-available
|
|
4549
|
+
* @constant
|
|
4550
|
+
*/
|
|
4551
|
+
state?: "input-available";
|
|
4552
|
+
/** Input */
|
|
4553
|
+
input?: unknown | null;
|
|
4554
|
+
/** Providerexecuted */
|
|
4555
|
+
providerExecuted?: boolean | null;
|
|
4556
|
+
/** Callprovidermetadata */
|
|
4557
|
+
callProviderMetadata?: {
|
|
4558
|
+
[key: string]: {
|
|
4559
|
+
[key: string]: unknown;
|
|
4560
|
+
};
|
|
4561
|
+
} | null;
|
|
4562
|
+
/** Approval */
|
|
4563
|
+
approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
|
|
4564
|
+
};
|
|
4565
|
+
/**
|
|
4566
|
+
* ToolInputStreamingPart
|
|
4567
|
+
* @description Tool part in input-streaming state.
|
|
4568
|
+
*/
|
|
4569
|
+
ToolInputStreamingPart: {
|
|
4570
|
+
/** Type */
|
|
4571
|
+
type: string;
|
|
4572
|
+
/** Toolcallid */
|
|
4573
|
+
toolCallId: string;
|
|
4574
|
+
/**
|
|
4575
|
+
* State
|
|
4576
|
+
* @default input-streaming
|
|
4577
|
+
* @constant
|
|
4578
|
+
*/
|
|
4579
|
+
state?: "input-streaming";
|
|
4580
|
+
/** Input */
|
|
4581
|
+
input?: unknown | null;
|
|
4582
|
+
/** Providerexecuted */
|
|
4583
|
+
providerExecuted?: boolean | null;
|
|
4584
|
+
/** Callprovidermetadata */
|
|
4585
|
+
callProviderMetadata?: {
|
|
4586
|
+
[key: string]: {
|
|
4587
|
+
[key: string]: unknown;
|
|
4588
|
+
};
|
|
4589
|
+
} | null;
|
|
4590
|
+
/** Approval */
|
|
4591
|
+
approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
|
|
4592
|
+
};
|
|
4593
|
+
/**
|
|
4594
|
+
* ToolOutputAvailablePart
|
|
4595
|
+
* @description Tool part in output-available state.
|
|
4596
|
+
*/
|
|
4597
|
+
ToolOutputAvailablePart: {
|
|
4598
|
+
/** Type */
|
|
4599
|
+
type: string;
|
|
4600
|
+
/** Toolcallid */
|
|
4601
|
+
toolCallId: string;
|
|
4602
|
+
/**
|
|
4603
|
+
* State
|
|
4604
|
+
* @default output-available
|
|
4605
|
+
* @constant
|
|
4606
|
+
*/
|
|
4607
|
+
state?: "output-available";
|
|
4608
|
+
/** Input */
|
|
4609
|
+
input?: unknown | null;
|
|
4610
|
+
/** Output */
|
|
4611
|
+
output?: unknown | null;
|
|
4612
|
+
/** Providerexecuted */
|
|
4613
|
+
providerExecuted?: boolean | null;
|
|
4614
|
+
/** Callprovidermetadata */
|
|
4615
|
+
callProviderMetadata?: {
|
|
4616
|
+
[key: string]: {
|
|
4617
|
+
[key: string]: unknown;
|
|
4618
|
+
};
|
|
4619
|
+
} | null;
|
|
4620
|
+
/** Preliminary */
|
|
4621
|
+
preliminary?: boolean | null;
|
|
4622
|
+
/** Approval */
|
|
4623
|
+
approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
|
|
4624
|
+
};
|
|
4625
|
+
/**
|
|
4626
|
+
* ToolOutputDeniedPart
|
|
4627
|
+
* @description Tool part in output-denied state (tool was denied, terminal state).
|
|
4628
|
+
*/
|
|
4629
|
+
ToolOutputDeniedPart: {
|
|
4630
|
+
/** Type */
|
|
4631
|
+
type: string;
|
|
4632
|
+
/** Toolcallid */
|
|
4633
|
+
toolCallId: string;
|
|
4634
|
+
/**
|
|
4635
|
+
* State
|
|
4636
|
+
* @default output-denied
|
|
4637
|
+
* @constant
|
|
4638
|
+
*/
|
|
4639
|
+
state?: "output-denied";
|
|
4640
|
+
/** Input */
|
|
4641
|
+
input?: unknown | null;
|
|
4642
|
+
/** Providerexecuted */
|
|
4643
|
+
providerExecuted?: boolean | null;
|
|
4644
|
+
/** Callprovidermetadata */
|
|
4645
|
+
callProviderMetadata?: {
|
|
4646
|
+
[key: string]: {
|
|
4647
|
+
[key: string]: unknown;
|
|
4648
|
+
};
|
|
4649
|
+
} | null;
|
|
4650
|
+
/** Approval */
|
|
4651
|
+
approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
|
|
4652
|
+
};
|
|
4653
|
+
/**
|
|
4654
|
+
* ToolOutputErrorPart
|
|
4655
|
+
* @description Tool part in output-error state.
|
|
4656
|
+
*/
|
|
4657
|
+
ToolOutputErrorPart: {
|
|
4658
|
+
/** Type */
|
|
4659
|
+
type: string;
|
|
4660
|
+
/** Toolcallid */
|
|
4661
|
+
toolCallId: string;
|
|
4662
|
+
/**
|
|
4663
|
+
* State
|
|
4664
|
+
* @default output-error
|
|
4665
|
+
* @constant
|
|
4666
|
+
*/
|
|
4667
|
+
state?: "output-error";
|
|
4668
|
+
/** Input */
|
|
4669
|
+
input?: unknown | null;
|
|
4670
|
+
/** Rawinput */
|
|
4671
|
+
rawInput?: unknown | null;
|
|
4672
|
+
/** Errortext */
|
|
4673
|
+
errorText: string;
|
|
4674
|
+
/** Providerexecuted */
|
|
4675
|
+
providerExecuted?: boolean | null;
|
|
4676
|
+
/** Callprovidermetadata */
|
|
4677
|
+
callProviderMetadata?: {
|
|
4678
|
+
[key: string]: {
|
|
4679
|
+
[key: string]: unknown;
|
|
4680
|
+
};
|
|
4681
|
+
} | null;
|
|
4682
|
+
/** Approval */
|
|
4683
|
+
approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
|
|
4684
|
+
};
|
|
3572
4685
|
/** ToolResultContentPart */
|
|
3573
4686
|
ToolResultContentPart: {
|
|
3574
4687
|
/**
|
|
@@ -3677,6 +4790,18 @@ export interface components {
|
|
|
3677
4790
|
/** Next Cursor */
|
|
3678
4791
|
next_cursor: string | null;
|
|
3679
4792
|
};
|
|
4793
|
+
/** TraceContext */
|
|
4794
|
+
TraceContext: {
|
|
4795
|
+
/**
|
|
4796
|
+
* @description discriminator enum property added by openapi-typescript
|
|
4797
|
+
* @enum {string}
|
|
4798
|
+
*/
|
|
4799
|
+
type: "trace";
|
|
4800
|
+
/** Projectnodeid */
|
|
4801
|
+
projectNodeId: string;
|
|
4802
|
+
/** Oteltraceid */
|
|
4803
|
+
otelTraceId: string;
|
|
4804
|
+
};
|
|
3680
4805
|
/** TraceData */
|
|
3681
4806
|
TraceData: {
|
|
3682
4807
|
/** Id */
|
|
@@ -3728,6 +4853,12 @@ export interface components {
|
|
|
3728
4853
|
* @description The note text to add to the trace
|
|
3729
4854
|
*/
|
|
3730
4855
|
note: string;
|
|
4856
|
+
/**
|
|
4857
|
+
* Identifier
|
|
4858
|
+
* @description Optional caller-supplied identifier. When non-empty, the note is upserted on (trace_id, name='note', identifier) — repeated calls with the same identifier overwrite the existing note. When omitted or empty, the server stamps a unique 'px-trace-note:<uuid>' identifier so each call appends a new note.
|
|
4859
|
+
* @default
|
|
4860
|
+
*/
|
|
4861
|
+
identifier?: string;
|
|
3731
4862
|
};
|
|
3732
4863
|
/** TraceSpanData */
|
|
3733
4864
|
TraceSpanData: {
|
|
@@ -3749,10 +4880,27 @@ export interface components {
|
|
|
3749
4880
|
*/
|
|
3750
4881
|
start_time: string;
|
|
3751
4882
|
/**
|
|
3752
|
-
* End Time
|
|
3753
|
-
* Format: date-time
|
|
4883
|
+
* End Time
|
|
4884
|
+
* Format: date-time
|
|
4885
|
+
*/
|
|
4886
|
+
end_time: string;
|
|
4887
|
+
};
|
|
4888
|
+
/**
|
|
4889
|
+
* UIMessage
|
|
4890
|
+
* @description A message as displayed in the UI by Vercel AI Elements.
|
|
4891
|
+
*/
|
|
4892
|
+
UIMessage: {
|
|
4893
|
+
/** Id */
|
|
4894
|
+
id: string;
|
|
4895
|
+
/**
|
|
4896
|
+
* Role
|
|
4897
|
+
* @enum {string}
|
|
3754
4898
|
*/
|
|
3755
|
-
|
|
4899
|
+
role: "system" | "user" | "assistant";
|
|
4900
|
+
/** Metadata */
|
|
4901
|
+
metadata?: unknown | null;
|
|
4902
|
+
/** Parts */
|
|
4903
|
+
parts: (components["schemas"]["TextUIPart"] | components["schemas"]["ReasoningUIPart"] | components["schemas"]["ToolInputStreamingPart"] | components["schemas"]["ToolInputAvailablePart"] | components["schemas"]["ToolOutputAvailablePart"] | components["schemas"]["ToolOutputErrorPart"] | components["schemas"]["ToolApprovalRequestedPart"] | components["schemas"]["ToolApprovalRespondedPart"] | components["schemas"]["ToolOutputDeniedPart"] | components["schemas"]["DynamicToolInputStreamingPart"] | components["schemas"]["DynamicToolInputAvailablePart"] | components["schemas"]["DynamicToolOutputAvailablePart"] | components["schemas"]["DynamicToolOutputErrorPart"] | components["schemas"]["DynamicToolApprovalRequestedPart"] | components["schemas"]["DynamicToolApprovalRespondedPart"] | components["schemas"]["DynamicToolOutputDeniedPart"] | components["schemas"]["SourceUrlUIPart"] | components["schemas"]["SourceDocumentUIPart"] | components["schemas"]["FileUIPart"] | components["schemas"]["DataUIPart"] | components["schemas"]["StepStartUIPart"])[];
|
|
3756
4904
|
};
|
|
3757
4905
|
/** UpdateAnnotationConfigResponseBody */
|
|
3758
4906
|
UpdateAnnotationConfigResponseBody: {
|
|
@@ -3878,6 +5026,34 @@ export interface components {
|
|
|
3878
5026
|
/** Context */
|
|
3879
5027
|
ctx?: Record<string, unknown>;
|
|
3880
5028
|
};
|
|
5029
|
+
/**
|
|
5030
|
+
* _SummarizeRequest
|
|
5031
|
+
* @description Body for POST /agents/{agent_id}/sessions/{session_id}/summary.
|
|
5032
|
+
*
|
|
5033
|
+
* Carries the Vercel-style messages array; the backend owns the prompt and
|
|
5034
|
+
* the structured-output tool schema.
|
|
5035
|
+
*/
|
|
5036
|
+
_SummarizeRequest: {
|
|
5037
|
+
/**
|
|
5038
|
+
* Ingesttraces
|
|
5039
|
+
* @default false
|
|
5040
|
+
*/
|
|
5041
|
+
ingestTraces?: boolean;
|
|
5042
|
+
/**
|
|
5043
|
+
* Exportremotetraces
|
|
5044
|
+
* @default false
|
|
5045
|
+
*/
|
|
5046
|
+
exportRemoteTraces?: boolean;
|
|
5047
|
+
/** Messages */
|
|
5048
|
+
messages: components["schemas"]["UIMessage"][];
|
|
5049
|
+
/** Model */
|
|
5050
|
+
model: components["schemas"]["CustomProviderModelSelection"] | components["schemas"]["BuiltInProviderModelSelection"];
|
|
5051
|
+
};
|
|
5052
|
+
/** _SummarizeResponse */
|
|
5053
|
+
_SummarizeResponse: {
|
|
5054
|
+
/** Summary */
|
|
5055
|
+
summary: string;
|
|
5056
|
+
};
|
|
3881
5057
|
};
|
|
3882
5058
|
responses: never;
|
|
3883
5059
|
parameters: never;
|
|
@@ -4106,7 +5282,7 @@ export interface operations {
|
|
|
4106
5282
|
span_ids?: string[] | null;
|
|
4107
5283
|
/** @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. */
|
|
4108
5284
|
identifier?: string[] | null;
|
|
4109
|
-
/** @description Optional list of annotation names to include. If provided, only annotations with these names will be returned.
|
|
5285
|
+
/** @description Optional list of annotation names to include. If provided, only annotations with these names will be returned (allowlist). When omitted, the response includes every matching row regardless of name (no annotation names are excluded by default). */
|
|
4110
5286
|
include_annotation_names?: string[] | null;
|
|
4111
5287
|
/** @description Optional list of annotation names to exclude from results. */
|
|
4112
5288
|
exclude_annotation_names?: string[] | null;
|
|
@@ -4230,7 +5406,7 @@ export interface operations {
|
|
|
4230
5406
|
trace_ids?: string[] | null;
|
|
4231
5407
|
/** @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. */
|
|
4232
5408
|
identifier?: string[] | null;
|
|
4233
|
-
/** @description Optional list of annotation names to include. If provided, only annotations with these names will be returned.
|
|
5409
|
+
/** @description Optional list of annotation names to include. If provided, only annotations with these names will be returned (allowlist). When omitted, the response includes every matching row regardless of name (no annotation names are excluded by default). */
|
|
4234
5410
|
include_annotation_names?: string[] | null;
|
|
4235
5411
|
/** @description Optional list of annotation names to exclude from results. */
|
|
4236
5412
|
exclude_annotation_names?: string[] | null;
|
|
@@ -4354,7 +5530,7 @@ export interface operations {
|
|
|
4354
5530
|
session_ids?: string[] | null;
|
|
4355
5531
|
/** @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. */
|
|
4356
5532
|
identifier?: string[] | null;
|
|
4357
|
-
/** @description Optional list of annotation names to include. If provided, only annotations with these names will be returned.
|
|
5533
|
+
/** @description Optional list of annotation names to include. If provided, only annotations with these names will be returned (allowlist). When omitted, the response includes every matching row regardless of name (no annotation names are excluded by default). */
|
|
4358
5534
|
include_annotation_names?: string[] | null;
|
|
4359
5535
|
/** @description Optional list of annotation names to exclude from results. */
|
|
4360
5536
|
exclude_annotation_names?: string[] | null;
|
|
@@ -7179,17 +8355,257 @@ export interface operations {
|
|
|
7179
8355
|
};
|
|
7180
8356
|
requestBody: {
|
|
7181
8357
|
content: {
|
|
7182
|
-
"application/json": components["schemas"]["AnnotateSpanDocumentsRequestBody"];
|
|
8358
|
+
"application/json": components["schemas"]["AnnotateSpanDocumentsRequestBody"];
|
|
8359
|
+
};
|
|
8360
|
+
};
|
|
8361
|
+
responses: {
|
|
8362
|
+
/** @description Span document annotation inserted successfully */
|
|
8363
|
+
200: {
|
|
8364
|
+
headers: {
|
|
8365
|
+
[name: string]: unknown;
|
|
8366
|
+
};
|
|
8367
|
+
content: {
|
|
8368
|
+
"application/json": components["schemas"]["AnnotateSpanDocumentsResponseBody"];
|
|
8369
|
+
};
|
|
8370
|
+
};
|
|
8371
|
+
/** @description Forbidden */
|
|
8372
|
+
403: {
|
|
8373
|
+
headers: {
|
|
8374
|
+
[name: string]: unknown;
|
|
8375
|
+
};
|
|
8376
|
+
content: {
|
|
8377
|
+
"text/plain": string;
|
|
8378
|
+
};
|
|
8379
|
+
};
|
|
8380
|
+
/** @description Span not found */
|
|
8381
|
+
404: {
|
|
8382
|
+
headers: {
|
|
8383
|
+
[name: string]: unknown;
|
|
8384
|
+
};
|
|
8385
|
+
content: {
|
|
8386
|
+
"text/plain": string;
|
|
8387
|
+
};
|
|
8388
|
+
};
|
|
8389
|
+
/** @description Invalid request - non-empty identifier not supported */
|
|
8390
|
+
422: {
|
|
8391
|
+
headers: {
|
|
8392
|
+
[name: string]: unknown;
|
|
8393
|
+
};
|
|
8394
|
+
content: {
|
|
8395
|
+
"text/plain": string;
|
|
8396
|
+
};
|
|
8397
|
+
};
|
|
8398
|
+
};
|
|
8399
|
+
};
|
|
8400
|
+
getViewer: {
|
|
8401
|
+
parameters: {
|
|
8402
|
+
query?: never;
|
|
8403
|
+
header?: never;
|
|
8404
|
+
path?: never;
|
|
8405
|
+
cookie?: never;
|
|
8406
|
+
};
|
|
8407
|
+
requestBody?: never;
|
|
8408
|
+
responses: {
|
|
8409
|
+
/** @description The authenticated user's profile. */
|
|
8410
|
+
200: {
|
|
8411
|
+
headers: {
|
|
8412
|
+
[name: string]: unknown;
|
|
8413
|
+
};
|
|
8414
|
+
content: {
|
|
8415
|
+
"application/json": components["schemas"]["GetViewerResponseBody"];
|
|
8416
|
+
};
|
|
8417
|
+
};
|
|
8418
|
+
/** @description User not found. */
|
|
8419
|
+
401: {
|
|
8420
|
+
headers: {
|
|
8421
|
+
[name: string]: unknown;
|
|
8422
|
+
};
|
|
8423
|
+
content: {
|
|
8424
|
+
"text/plain": string;
|
|
8425
|
+
};
|
|
8426
|
+
};
|
|
8427
|
+
/** @description Forbidden */
|
|
8428
|
+
403: {
|
|
8429
|
+
headers: {
|
|
8430
|
+
[name: string]: unknown;
|
|
8431
|
+
};
|
|
8432
|
+
content: {
|
|
8433
|
+
"text/plain": string;
|
|
8434
|
+
};
|
|
8435
|
+
};
|
|
8436
|
+
};
|
|
8437
|
+
};
|
|
8438
|
+
getUsers: {
|
|
8439
|
+
parameters: {
|
|
8440
|
+
query?: {
|
|
8441
|
+
/** @description Cursor for pagination (base64-encoded user ID) */
|
|
8442
|
+
cursor?: string;
|
|
8443
|
+
/** @description The max number of users to return at a time. */
|
|
8444
|
+
limit?: number;
|
|
8445
|
+
};
|
|
8446
|
+
header?: never;
|
|
8447
|
+
path?: never;
|
|
8448
|
+
cookie?: never;
|
|
8449
|
+
};
|
|
8450
|
+
requestBody?: never;
|
|
8451
|
+
responses: {
|
|
8452
|
+
/** @description A list of users. */
|
|
8453
|
+
200: {
|
|
8454
|
+
headers: {
|
|
8455
|
+
[name: string]: unknown;
|
|
8456
|
+
};
|
|
8457
|
+
content: {
|
|
8458
|
+
"application/json": components["schemas"]["GetUsersResponseBody"];
|
|
8459
|
+
};
|
|
8460
|
+
};
|
|
8461
|
+
/** @description Forbidden */
|
|
8462
|
+
403: {
|
|
8463
|
+
headers: {
|
|
8464
|
+
[name: string]: unknown;
|
|
8465
|
+
};
|
|
8466
|
+
content: {
|
|
8467
|
+
"text/plain": string;
|
|
8468
|
+
};
|
|
8469
|
+
};
|
|
8470
|
+
/** @description Unprocessable Entity */
|
|
8471
|
+
422: {
|
|
8472
|
+
headers: {
|
|
8473
|
+
[name: string]: unknown;
|
|
8474
|
+
};
|
|
8475
|
+
content: {
|
|
8476
|
+
"text/plain": string;
|
|
8477
|
+
};
|
|
8478
|
+
};
|
|
8479
|
+
};
|
|
8480
|
+
};
|
|
8481
|
+
createUser: {
|
|
8482
|
+
parameters: {
|
|
8483
|
+
query?: never;
|
|
8484
|
+
header?: never;
|
|
8485
|
+
path?: never;
|
|
8486
|
+
cookie?: never;
|
|
8487
|
+
};
|
|
8488
|
+
requestBody: {
|
|
8489
|
+
content: {
|
|
8490
|
+
"application/json": components["schemas"]["CreateUserRequestBody"];
|
|
8491
|
+
};
|
|
8492
|
+
};
|
|
8493
|
+
responses: {
|
|
8494
|
+
/** @description The newly created user. */
|
|
8495
|
+
201: {
|
|
8496
|
+
headers: {
|
|
8497
|
+
[name: string]: unknown;
|
|
8498
|
+
};
|
|
8499
|
+
content: {
|
|
8500
|
+
"application/json": components["schemas"]["CreateUserResponseBody"];
|
|
8501
|
+
};
|
|
8502
|
+
};
|
|
8503
|
+
/** @description Role not found. */
|
|
8504
|
+
400: {
|
|
8505
|
+
headers: {
|
|
8506
|
+
[name: string]: unknown;
|
|
8507
|
+
};
|
|
8508
|
+
content: {
|
|
8509
|
+
"text/plain": string;
|
|
8510
|
+
};
|
|
8511
|
+
};
|
|
8512
|
+
/** @description Forbidden */
|
|
8513
|
+
403: {
|
|
8514
|
+
headers: {
|
|
8515
|
+
[name: string]: unknown;
|
|
8516
|
+
};
|
|
8517
|
+
content: {
|
|
8518
|
+
"text/plain": string;
|
|
8519
|
+
};
|
|
8520
|
+
};
|
|
8521
|
+
/** @description Username or email already exists. */
|
|
8522
|
+
409: {
|
|
8523
|
+
headers: {
|
|
8524
|
+
[name: string]: unknown;
|
|
8525
|
+
};
|
|
8526
|
+
content: {
|
|
8527
|
+
"text/plain": string;
|
|
8528
|
+
};
|
|
8529
|
+
};
|
|
8530
|
+
/** @description Unprocessable Entity */
|
|
8531
|
+
422: {
|
|
8532
|
+
headers: {
|
|
8533
|
+
[name: string]: unknown;
|
|
8534
|
+
};
|
|
8535
|
+
content: {
|
|
8536
|
+
"text/plain": string;
|
|
8537
|
+
};
|
|
8538
|
+
};
|
|
8539
|
+
};
|
|
8540
|
+
};
|
|
8541
|
+
deleteUser: {
|
|
8542
|
+
parameters: {
|
|
8543
|
+
query?: never;
|
|
8544
|
+
header?: never;
|
|
8545
|
+
path: {
|
|
8546
|
+
/** @description The GlobalID of the user (e.g. 'VXNlcjox'). */
|
|
8547
|
+
user_id: string;
|
|
8548
|
+
};
|
|
8549
|
+
cookie?: never;
|
|
8550
|
+
};
|
|
8551
|
+
requestBody?: never;
|
|
8552
|
+
responses: {
|
|
8553
|
+
/** @description No content returned on successful deletion. */
|
|
8554
|
+
204: {
|
|
8555
|
+
headers: {
|
|
8556
|
+
[name: string]: unknown;
|
|
8557
|
+
};
|
|
8558
|
+
content?: never;
|
|
8559
|
+
};
|
|
8560
|
+
/** @description Cannot delete the default admin or system user */
|
|
8561
|
+
403: {
|
|
8562
|
+
headers: {
|
|
8563
|
+
[name: string]: unknown;
|
|
8564
|
+
};
|
|
8565
|
+
content: {
|
|
8566
|
+
"text/plain": string;
|
|
8567
|
+
};
|
|
8568
|
+
};
|
|
8569
|
+
/** @description User not found. */
|
|
8570
|
+
404: {
|
|
8571
|
+
headers: {
|
|
8572
|
+
[name: string]: unknown;
|
|
8573
|
+
};
|
|
8574
|
+
content: {
|
|
8575
|
+
"text/plain": string;
|
|
8576
|
+
};
|
|
8577
|
+
};
|
|
8578
|
+
/** @description Unprocessable Entity */
|
|
8579
|
+
422: {
|
|
8580
|
+
headers: {
|
|
8581
|
+
[name: string]: unknown;
|
|
8582
|
+
};
|
|
8583
|
+
content: {
|
|
8584
|
+
"text/plain": string;
|
|
8585
|
+
};
|
|
8586
|
+
};
|
|
8587
|
+
};
|
|
8588
|
+
};
|
|
8589
|
+
upsertOrDeleteSecrets: {
|
|
8590
|
+
parameters: {
|
|
8591
|
+
query?: never;
|
|
8592
|
+
header?: never;
|
|
8593
|
+
path?: never;
|
|
8594
|
+
cookie?: never;
|
|
8595
|
+
};
|
|
8596
|
+
requestBody: {
|
|
8597
|
+
content: {
|
|
8598
|
+
"application/json": components["schemas"]["UpsertOrDeleteSecretsRequest"];
|
|
7183
8599
|
};
|
|
7184
8600
|
};
|
|
7185
8601
|
responses: {
|
|
7186
|
-
/** @description
|
|
8602
|
+
/** @description Successful Response */
|
|
7187
8603
|
200: {
|
|
7188
8604
|
headers: {
|
|
7189
8605
|
[name: string]: unknown;
|
|
7190
8606
|
};
|
|
7191
8607
|
content: {
|
|
7192
|
-
"application/json": components["schemas"]["
|
|
8608
|
+
"application/json": components["schemas"]["ResponseBody_UpsertOrDeleteSecretsResult_"];
|
|
7193
8609
|
};
|
|
7194
8610
|
};
|
|
7195
8611
|
/** @description Forbidden */
|
|
@@ -7201,8 +8617,8 @@ export interface operations {
|
|
|
7201
8617
|
"text/plain": string;
|
|
7202
8618
|
};
|
|
7203
8619
|
};
|
|
7204
|
-
/** @description
|
|
7205
|
-
|
|
8620
|
+
/** @description Unprocessable Entity */
|
|
8621
|
+
422: {
|
|
7206
8622
|
headers: {
|
|
7207
8623
|
[name: string]: unknown;
|
|
7208
8624
|
};
|
|
@@ -7210,8 +8626,8 @@ export interface operations {
|
|
|
7210
8626
|
"text/plain": string;
|
|
7211
8627
|
};
|
|
7212
8628
|
};
|
|
7213
|
-
/** @description
|
|
7214
|
-
|
|
8629
|
+
/** @description Insufficient Storage */
|
|
8630
|
+
507: {
|
|
7215
8631
|
headers: {
|
|
7216
8632
|
[name: string]: unknown;
|
|
7217
8633
|
};
|
|
@@ -7221,7 +8637,7 @@ export interface operations {
|
|
|
7221
8637
|
};
|
|
7222
8638
|
};
|
|
7223
8639
|
};
|
|
7224
|
-
|
|
8640
|
+
_login_auth_login_post: {
|
|
7225
8641
|
parameters: {
|
|
7226
8642
|
query?: never;
|
|
7227
8643
|
header?: never;
|
|
@@ -7230,196 +8646,272 @@ export interface operations {
|
|
|
7230
8646
|
};
|
|
7231
8647
|
requestBody?: never;
|
|
7232
8648
|
responses: {
|
|
7233
|
-
/** @description
|
|
8649
|
+
/** @description Successful Response */
|
|
7234
8650
|
200: {
|
|
7235
8651
|
headers: {
|
|
7236
8652
|
[name: string]: unknown;
|
|
7237
8653
|
};
|
|
7238
8654
|
content: {
|
|
7239
|
-
"application/json":
|
|
7240
|
-
};
|
|
7241
|
-
};
|
|
7242
|
-
/** @description User not found. */
|
|
7243
|
-
401: {
|
|
7244
|
-
headers: {
|
|
7245
|
-
[name: string]: unknown;
|
|
7246
|
-
};
|
|
7247
|
-
content: {
|
|
7248
|
-
"text/plain": string;
|
|
8655
|
+
"application/json": unknown;
|
|
7249
8656
|
};
|
|
7250
8657
|
};
|
|
7251
|
-
|
|
7252
|
-
|
|
8658
|
+
};
|
|
8659
|
+
};
|
|
8660
|
+
_logout_auth_logout_get: {
|
|
8661
|
+
parameters: {
|
|
8662
|
+
query?: never;
|
|
8663
|
+
header?: never;
|
|
8664
|
+
path?: never;
|
|
8665
|
+
cookie?: never;
|
|
8666
|
+
};
|
|
8667
|
+
requestBody?: never;
|
|
8668
|
+
responses: {
|
|
8669
|
+
/** @description Successful Response */
|
|
8670
|
+
200: {
|
|
7253
8671
|
headers: {
|
|
7254
8672
|
[name: string]: unknown;
|
|
7255
8673
|
};
|
|
7256
8674
|
content: {
|
|
7257
|
-
"
|
|
8675
|
+
"application/json": unknown;
|
|
7258
8676
|
};
|
|
7259
8677
|
};
|
|
7260
8678
|
};
|
|
7261
8679
|
};
|
|
7262
|
-
|
|
8680
|
+
_refresh_tokens_auth_refresh_post: {
|
|
7263
8681
|
parameters: {
|
|
7264
|
-
query?:
|
|
7265
|
-
/** @description Cursor for pagination (base64-encoded user ID) */
|
|
7266
|
-
cursor?: string;
|
|
7267
|
-
/** @description The max number of users to return at a time. */
|
|
7268
|
-
limit?: number;
|
|
7269
|
-
};
|
|
8682
|
+
query?: never;
|
|
7270
8683
|
header?: never;
|
|
7271
8684
|
path?: never;
|
|
7272
8685
|
cookie?: never;
|
|
7273
8686
|
};
|
|
7274
8687
|
requestBody?: never;
|
|
7275
8688
|
responses: {
|
|
7276
|
-
/** @description
|
|
8689
|
+
/** @description Successful Response */
|
|
7277
8690
|
200: {
|
|
7278
8691
|
headers: {
|
|
7279
8692
|
[name: string]: unknown;
|
|
7280
8693
|
};
|
|
7281
8694
|
content: {
|
|
7282
|
-
"application/json":
|
|
8695
|
+
"application/json": unknown;
|
|
7283
8696
|
};
|
|
7284
8697
|
};
|
|
7285
|
-
|
|
7286
|
-
|
|
8698
|
+
};
|
|
8699
|
+
};
|
|
8700
|
+
_initiate_password_reset_auth_password_reset_email_post: {
|
|
8701
|
+
parameters: {
|
|
8702
|
+
query?: never;
|
|
8703
|
+
header?: never;
|
|
8704
|
+
path?: never;
|
|
8705
|
+
cookie?: never;
|
|
8706
|
+
};
|
|
8707
|
+
requestBody?: never;
|
|
8708
|
+
responses: {
|
|
8709
|
+
/** @description Successful Response */
|
|
8710
|
+
200: {
|
|
7287
8711
|
headers: {
|
|
7288
8712
|
[name: string]: unknown;
|
|
7289
8713
|
};
|
|
7290
8714
|
content: {
|
|
7291
|
-
"
|
|
8715
|
+
"application/json": unknown;
|
|
7292
8716
|
};
|
|
7293
8717
|
};
|
|
7294
|
-
|
|
7295
|
-
|
|
8718
|
+
};
|
|
8719
|
+
};
|
|
8720
|
+
_reset_password_auth_password_reset_post: {
|
|
8721
|
+
parameters: {
|
|
8722
|
+
query?: never;
|
|
8723
|
+
header?: never;
|
|
8724
|
+
path?: never;
|
|
8725
|
+
cookie?: never;
|
|
8726
|
+
};
|
|
8727
|
+
requestBody?: never;
|
|
8728
|
+
responses: {
|
|
8729
|
+
/** @description Successful Response */
|
|
8730
|
+
200: {
|
|
7296
8731
|
headers: {
|
|
7297
8732
|
[name: string]: unknown;
|
|
7298
8733
|
};
|
|
7299
8734
|
content: {
|
|
7300
|
-
"
|
|
8735
|
+
"application/json": unknown;
|
|
7301
8736
|
};
|
|
7302
8737
|
};
|
|
7303
8738
|
};
|
|
7304
8739
|
};
|
|
7305
|
-
|
|
8740
|
+
_ldap_login_auth_ldap_login_post: {
|
|
7306
8741
|
parameters: {
|
|
7307
8742
|
query?: never;
|
|
7308
8743
|
header?: never;
|
|
7309
8744
|
path?: never;
|
|
7310
8745
|
cookie?: never;
|
|
7311
8746
|
};
|
|
7312
|
-
requestBody
|
|
7313
|
-
content: {
|
|
7314
|
-
"application/json": components["schemas"]["CreateUserRequestBody"];
|
|
7315
|
-
};
|
|
7316
|
-
};
|
|
8747
|
+
requestBody?: never;
|
|
7317
8748
|
responses: {
|
|
7318
|
-
/** @description
|
|
7319
|
-
|
|
8749
|
+
/** @description Successful Response */
|
|
8750
|
+
200: {
|
|
7320
8751
|
headers: {
|
|
7321
8752
|
[name: string]: unknown;
|
|
7322
8753
|
};
|
|
7323
8754
|
content: {
|
|
7324
|
-
"application/json":
|
|
8755
|
+
"application/json": unknown;
|
|
7325
8756
|
};
|
|
7326
8757
|
};
|
|
7327
|
-
|
|
7328
|
-
|
|
8758
|
+
};
|
|
8759
|
+
};
|
|
8760
|
+
login_oauth2__idp_name__login_get: {
|
|
8761
|
+
parameters: {
|
|
8762
|
+
query?: {
|
|
8763
|
+
returnUrl?: string | null;
|
|
8764
|
+
};
|
|
8765
|
+
header?: never;
|
|
8766
|
+
path: {
|
|
8767
|
+
idp_name: string;
|
|
8768
|
+
};
|
|
8769
|
+
cookie?: never;
|
|
8770
|
+
};
|
|
8771
|
+
requestBody?: never;
|
|
8772
|
+
responses: {
|
|
8773
|
+
/** @description Successful Response */
|
|
8774
|
+
200: {
|
|
7329
8775
|
headers: {
|
|
7330
8776
|
[name: string]: unknown;
|
|
7331
8777
|
};
|
|
7332
8778
|
content: {
|
|
7333
|
-
"
|
|
8779
|
+
"application/json": unknown;
|
|
7334
8780
|
};
|
|
7335
8781
|
};
|
|
7336
|
-
/** @description
|
|
7337
|
-
|
|
8782
|
+
/** @description Validation Error */
|
|
8783
|
+
422: {
|
|
7338
8784
|
headers: {
|
|
7339
8785
|
[name: string]: unknown;
|
|
7340
8786
|
};
|
|
7341
8787
|
content: {
|
|
7342
|
-
"
|
|
8788
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
7343
8789
|
};
|
|
7344
8790
|
};
|
|
7345
|
-
|
|
7346
|
-
|
|
8791
|
+
};
|
|
8792
|
+
};
|
|
8793
|
+
login_oauth2__idp_name__login_post: {
|
|
8794
|
+
parameters: {
|
|
8795
|
+
query?: {
|
|
8796
|
+
returnUrl?: string | null;
|
|
8797
|
+
};
|
|
8798
|
+
header?: never;
|
|
8799
|
+
path: {
|
|
8800
|
+
idp_name: string;
|
|
8801
|
+
};
|
|
8802
|
+
cookie?: never;
|
|
8803
|
+
};
|
|
8804
|
+
requestBody?: never;
|
|
8805
|
+
responses: {
|
|
8806
|
+
/** @description Successful Response */
|
|
8807
|
+
200: {
|
|
7347
8808
|
headers: {
|
|
7348
8809
|
[name: string]: unknown;
|
|
7349
8810
|
};
|
|
7350
8811
|
content: {
|
|
7351
|
-
"
|
|
8812
|
+
"application/json": unknown;
|
|
7352
8813
|
};
|
|
7353
8814
|
};
|
|
7354
|
-
/** @description
|
|
8815
|
+
/** @description Validation Error */
|
|
7355
8816
|
422: {
|
|
7356
8817
|
headers: {
|
|
7357
8818
|
[name: string]: unknown;
|
|
7358
8819
|
};
|
|
7359
8820
|
content: {
|
|
7360
|
-
"
|
|
8821
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
7361
8822
|
};
|
|
7362
8823
|
};
|
|
7363
8824
|
};
|
|
7364
8825
|
};
|
|
7365
|
-
|
|
8826
|
+
create_tokens_oauth2__idp_name__tokens_get: {
|
|
7366
8827
|
parameters: {
|
|
7367
|
-
query
|
|
8828
|
+
query: {
|
|
8829
|
+
state: string;
|
|
8830
|
+
code?: string | null;
|
|
8831
|
+
error?: string | null;
|
|
8832
|
+
error_description?: string | null;
|
|
8833
|
+
};
|
|
7368
8834
|
header?: never;
|
|
7369
8835
|
path: {
|
|
7370
|
-
|
|
7371
|
-
|
|
8836
|
+
idp_name: string;
|
|
8837
|
+
};
|
|
8838
|
+
cookie: {
|
|
8839
|
+
"phoenix-oauth2-state": string;
|
|
8840
|
+
"phoenix-oauth2-nonce": string;
|
|
8841
|
+
"phoenix-oauth2-code-verifier"?: string | null;
|
|
7372
8842
|
};
|
|
7373
|
-
cookie?: never;
|
|
7374
8843
|
};
|
|
7375
8844
|
requestBody?: never;
|
|
7376
8845
|
responses: {
|
|
7377
|
-
/** @description
|
|
7378
|
-
|
|
8846
|
+
/** @description Successful Response */
|
|
8847
|
+
200: {
|
|
7379
8848
|
headers: {
|
|
7380
8849
|
[name: string]: unknown;
|
|
7381
8850
|
};
|
|
7382
|
-
content
|
|
8851
|
+
content: {
|
|
8852
|
+
"application/json": unknown;
|
|
8853
|
+
};
|
|
7383
8854
|
};
|
|
7384
|
-
/** @description
|
|
7385
|
-
|
|
8855
|
+
/** @description Validation Error */
|
|
8856
|
+
422: {
|
|
7386
8857
|
headers: {
|
|
7387
8858
|
[name: string]: unknown;
|
|
7388
8859
|
};
|
|
7389
8860
|
content: {
|
|
7390
|
-
"
|
|
8861
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
7391
8862
|
};
|
|
7392
8863
|
};
|
|
7393
|
-
|
|
7394
|
-
|
|
8864
|
+
};
|
|
8865
|
+
};
|
|
8866
|
+
chat_agents__agent_id__sessions__session_id__chat_post: {
|
|
8867
|
+
parameters: {
|
|
8868
|
+
query?: never;
|
|
8869
|
+
header?: never;
|
|
8870
|
+
path: {
|
|
8871
|
+
agent_id: string;
|
|
8872
|
+
session_id: string;
|
|
8873
|
+
};
|
|
8874
|
+
cookie?: never;
|
|
8875
|
+
};
|
|
8876
|
+
requestBody: {
|
|
8877
|
+
content: {
|
|
8878
|
+
"application/json": components["schemas"]["ChatRequest"];
|
|
8879
|
+
};
|
|
8880
|
+
};
|
|
8881
|
+
responses: {
|
|
8882
|
+
/** @description Vercel-AI-style SSE stream. The turn ends with a `message-metadata` chunk whose `messageMetadata` payload matches `AssistantMessageMetadata`. Declared here so the model is included in the generated OpenAPI components. */
|
|
8883
|
+
200: {
|
|
7395
8884
|
headers: {
|
|
7396
8885
|
[name: string]: unknown;
|
|
7397
8886
|
};
|
|
7398
8887
|
content: {
|
|
7399
|
-
"
|
|
8888
|
+
"application/json": components["schemas"]["AssistantMessageMetadata"];
|
|
7400
8889
|
};
|
|
7401
8890
|
};
|
|
7402
|
-
/** @description
|
|
8891
|
+
/** @description Validation Error */
|
|
7403
8892
|
422: {
|
|
7404
8893
|
headers: {
|
|
7405
8894
|
[name: string]: unknown;
|
|
7406
8895
|
};
|
|
7407
8896
|
content: {
|
|
7408
|
-
"
|
|
8897
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
7409
8898
|
};
|
|
7410
8899
|
};
|
|
7411
8900
|
};
|
|
7412
8901
|
};
|
|
7413
|
-
|
|
8902
|
+
summarize_endpoint_agents__agent_id__sessions__session_id__summary_post: {
|
|
7414
8903
|
parameters: {
|
|
7415
8904
|
query?: never;
|
|
7416
8905
|
header?: never;
|
|
7417
|
-
path
|
|
8906
|
+
path: {
|
|
8907
|
+
agent_id: string;
|
|
8908
|
+
session_id: string;
|
|
8909
|
+
};
|
|
7418
8910
|
cookie?: never;
|
|
7419
8911
|
};
|
|
7420
8912
|
requestBody: {
|
|
7421
8913
|
content: {
|
|
7422
|
-
"application/json": components["schemas"]["
|
|
8914
|
+
"application/json": components["schemas"]["_SummarizeRequest"];
|
|
7423
8915
|
};
|
|
7424
8916
|
};
|
|
7425
8917
|
responses: {
|
|
@@ -7429,34 +8921,76 @@ export interface operations {
|
|
|
7429
8921
|
[name: string]: unknown;
|
|
7430
8922
|
};
|
|
7431
8923
|
content: {
|
|
7432
|
-
"application/json": components["schemas"]["
|
|
8924
|
+
"application/json": components["schemas"]["_SummarizeResponse"];
|
|
7433
8925
|
};
|
|
7434
8926
|
};
|
|
7435
|
-
/** @description
|
|
7436
|
-
|
|
8927
|
+
/** @description Validation Error */
|
|
8928
|
+
422: {
|
|
7437
8929
|
headers: {
|
|
7438
8930
|
[name: string]: unknown;
|
|
7439
8931
|
};
|
|
7440
8932
|
content: {
|
|
7441
|
-
"
|
|
8933
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
7442
8934
|
};
|
|
7443
8935
|
};
|
|
7444
|
-
|
|
7445
|
-
|
|
8936
|
+
};
|
|
8937
|
+
};
|
|
8938
|
+
version_arize_phoenix_version_get: {
|
|
8939
|
+
parameters: {
|
|
8940
|
+
query?: never;
|
|
8941
|
+
header?: never;
|
|
8942
|
+
path?: never;
|
|
8943
|
+
cookie?: never;
|
|
8944
|
+
};
|
|
8945
|
+
requestBody?: never;
|
|
8946
|
+
responses: {
|
|
8947
|
+
/** @description Successful Response */
|
|
8948
|
+
200: {
|
|
7446
8949
|
headers: {
|
|
7447
8950
|
[name: string]: unknown;
|
|
7448
8951
|
};
|
|
7449
8952
|
content: {
|
|
7450
|
-
"
|
|
8953
|
+
"application/json": unknown;
|
|
7451
8954
|
};
|
|
7452
8955
|
};
|
|
7453
|
-
|
|
7454
|
-
|
|
8956
|
+
};
|
|
8957
|
+
};
|
|
8958
|
+
check_healthz_healthz_get: {
|
|
8959
|
+
parameters: {
|
|
8960
|
+
query?: never;
|
|
8961
|
+
header?: never;
|
|
8962
|
+
path?: never;
|
|
8963
|
+
cookie?: never;
|
|
8964
|
+
};
|
|
8965
|
+
requestBody?: never;
|
|
8966
|
+
responses: {
|
|
8967
|
+
/** @description Successful Response */
|
|
8968
|
+
200: {
|
|
7455
8969
|
headers: {
|
|
7456
8970
|
[name: string]: unknown;
|
|
7457
8971
|
};
|
|
7458
8972
|
content: {
|
|
7459
|
-
"
|
|
8973
|
+
"application/json": unknown;
|
|
8974
|
+
};
|
|
8975
|
+
};
|
|
8976
|
+
};
|
|
8977
|
+
};
|
|
8978
|
+
check_readyz_readyz_get: {
|
|
8979
|
+
parameters: {
|
|
8980
|
+
query?: never;
|
|
8981
|
+
header?: never;
|
|
8982
|
+
path?: never;
|
|
8983
|
+
cookie?: never;
|
|
8984
|
+
};
|
|
8985
|
+
requestBody?: never;
|
|
8986
|
+
responses: {
|
|
8987
|
+
/** @description Successful Response */
|
|
8988
|
+
200: {
|
|
8989
|
+
headers: {
|
|
8990
|
+
[name: string]: unknown;
|
|
8991
|
+
};
|
|
8992
|
+
content: {
|
|
8993
|
+
"application/json": unknown;
|
|
7460
8994
|
};
|
|
7461
8995
|
};
|
|
7462
8996
|
};
|