@arizeai/phoenix-client 6.9.1 → 6.9.3
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 +1809 -18
- package/dist/esm/__generated__/api/v1.d.ts.map +1 -1
- package/dist/esm/client.d.ts +1 -0
- package/dist/esm/client.d.ts.map +1 -1
- package/dist/esm/prompts/sdks/toAI.d.ts.map +1 -1
- package/dist/esm/prompts/sdks/toAI.js +31 -11
- package/dist/esm/prompts/sdks/toAI.js.map +1 -1
- package/dist/esm/prompts/sdks/toAnthropic.d.ts.map +1 -1
- package/dist/esm/prompts/sdks/toAnthropic.js +23 -13
- package/dist/esm/prompts/sdks/toAnthropic.js.map +1 -1
- package/dist/esm/prompts/sdks/toOpenAI.d.ts.map +1 -1
- package/dist/esm/prompts/sdks/toOpenAI.js +62 -20
- 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/converters.js +2 -2
- package/dist/esm/schemas/llm/phoenixPrompt/converters.js.map +1 -1
- package/dist/esm/schemas/llm/phoenixPrompt/messageSchemas.d.ts +3 -3
- package/dist/esm/schemas/llm/phoenixPrompt/toolSchemas.d.ts +2 -2
- package/dist/esm/schemas/llm/phoenixPrompt/toolSchemas.d.ts.map +1 -1
- package/dist/esm/schemas/llm/phoenixPrompt/toolSchemas.js +1 -1
- package/dist/esm/schemas/llm/phoenixPrompt/toolSchemas.js.map +1 -1
- package/dist/esm/schemas/llm/schemas.d.ts +1 -1
- package/dist/esm/schemas/llm/schemas.js +2 -2
- package/dist/esm/schemas/llm/schemas.js.map +1 -1
- package/dist/esm/schemas/llm/utils.js +2 -2
- package/dist/esm/schemas/llm/utils.js.map +1 -1
- package/dist/esm/schemas/llm/vercel/messageSchemas.d.ts +1 -1
- package/dist/esm/tsconfig.esm.tsbuildinfo +1 -1
- package/dist/esm/types/prompts.d.ts +4 -0
- package/dist/esm/types/prompts.d.ts.map +1 -1
- package/dist/esm/types/prompts.js +6 -1
- package/dist/esm/types/prompts.js.map +1 -1
- package/dist/esm/utils/formatPromptMessages.d.ts.map +1 -1
- package/dist/esm/utils/getPromptBySelector.d.ts +294 -5
- package/dist/esm/utils/getPromptBySelector.d.ts.map +1 -1
- package/dist/src/__generated__/api/v1.d.ts +1809 -18
- package/dist/src/__generated__/api/v1.d.ts.map +1 -1
- package/dist/src/client.d.ts +11 -10
- package/dist/src/client.d.ts.map +1 -1
- package/dist/src/prompts/sdks/toAI.d.ts.map +1 -1
- package/dist/src/prompts/sdks/toAI.js +35 -15
- package/dist/src/prompts/sdks/toAI.js.map +1 -1
- package/dist/src/prompts/sdks/toAnthropic.d.ts.map +1 -1
- package/dist/src/prompts/sdks/toAnthropic.js +24 -14
- package/dist/src/prompts/sdks/toAnthropic.js.map +1 -1
- package/dist/src/prompts/sdks/toOpenAI.d.ts.map +1 -1
- package/dist/src/prompts/sdks/toOpenAI.js +63 -21
- 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/converters.js +1 -1
- package/dist/src/schemas/llm/phoenixPrompt/converters.js.map +1 -1
- package/dist/src/schemas/llm/phoenixPrompt/messageSchemas.d.ts +3 -3
- package/dist/src/schemas/llm/phoenixPrompt/toolSchemas.d.ts +2 -2
- package/dist/src/schemas/llm/phoenixPrompt/toolSchemas.d.ts.map +1 -1
- package/dist/src/schemas/llm/phoenixPrompt/toolSchemas.js +2 -2
- package/dist/src/schemas/llm/phoenixPrompt/toolSchemas.js.map +1 -1
- package/dist/src/schemas/llm/schemas.d.ts +1 -1
- package/dist/src/schemas/llm/schemas.js +1 -1
- package/dist/src/schemas/llm/schemas.js.map +1 -1
- package/dist/src/schemas/llm/utils.js +1 -1
- package/dist/src/schemas/llm/utils.js.map +1 -1
- package/dist/src/schemas/llm/vercel/messageSchemas.d.ts +1 -1
- package/dist/src/types/prompts.d.ts +4 -0
- package/dist/src/types/prompts.d.ts.map +1 -1
- package/dist/src/types/prompts.js +8 -0
- package/dist/src/types/prompts.js.map +1 -1
- package/dist/src/utils/formatPromptMessages.d.ts.map +1 -1
- package/dist/src/utils/getPromptBySelector.d.ts +294 -5
- 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 +3 -3
- package/src/__generated__/api/v1.ts +1809 -18
- package/src/prompts/sdks/toAI.ts +33 -11
- package/src/prompts/sdks/toAnthropic.ts +26 -15
- package/src/prompts/sdks/toOpenAI.ts +66 -23
- package/src/schemas/llm/phoenixPrompt/converters.ts +2 -2
- package/src/schemas/llm/phoenixPrompt/toolSchemas.ts +16 -13
- package/src/schemas/llm/schemas.ts +2 -2
- package/src/schemas/llm/utils.ts +2 -2
- package/src/types/prompts.ts +13 -0
|
@@ -74,7 +74,33 @@ export interface paths {
|
|
|
74
74
|
get: operations["listSpanAnnotationsBySpanIds"];
|
|
75
75
|
put?: never;
|
|
76
76
|
post?: never;
|
|
77
|
-
|
|
77
|
+
/**
|
|
78
|
+
* Delete span annotations in a project that match the supplied filter.
|
|
79
|
+
* @description Hard-delete span annotations within the named project that match the
|
|
80
|
+
* supplied filter.
|
|
81
|
+
*
|
|
82
|
+
* - The request must either supply both `start_time` AND `end_time`
|
|
83
|
+
* to bound the delete to a `[start_time, end_time)` time window,
|
|
84
|
+
* OR set `delete_all=true` to acknowledge an unbounded sweep. A request
|
|
85
|
+
* that satisfies neither is rejected with 422.
|
|
86
|
+
* - `name`, `identifier`, and `annotator_kind` are optional narrowing
|
|
87
|
+
* filters; on their own they do NOT authorize the request — they only
|
|
88
|
+
* narrow within an already-authorized request (bounded time range or
|
|
89
|
+
* `delete_all=true`).
|
|
90
|
+
* - All supplied filters are combined with AND. `name` and `identifier`,
|
|
91
|
+
* when present, must be non-empty.
|
|
92
|
+
* - `start_time` is inclusive (`>=`); `end_time` is exclusive
|
|
93
|
+
* (`<`). When both are supplied, `start_time` must be strictly earlier
|
|
94
|
+
* than `end_time` (else 422). A half-bounded range (only one of
|
|
95
|
+
* the two) does NOT satisfy the gate and is rejected unless
|
|
96
|
+
* `delete_all=true` is also set. Naive datetimes are interpreted as UTC.
|
|
97
|
+
* - The endpoint is idempotent: a request that matches no rows still
|
|
98
|
+
* returns 204.
|
|
99
|
+
* - When authentication is enabled, non-admin callers can only delete rows
|
|
100
|
+
* they own (`user_id == current_user.id`); admins delete all matching
|
|
101
|
+
* rows.
|
|
102
|
+
*/
|
|
103
|
+
delete: operations["deleteSpanAnnotations"];
|
|
78
104
|
options?: never;
|
|
79
105
|
head?: never;
|
|
80
106
|
patch?: never;
|
|
@@ -94,7 +120,33 @@ export interface paths {
|
|
|
94
120
|
get: operations["listTraceAnnotationsByTraceIds"];
|
|
95
121
|
put?: never;
|
|
96
122
|
post?: never;
|
|
97
|
-
|
|
123
|
+
/**
|
|
124
|
+
* Delete trace annotations in a project that match the supplied filter.
|
|
125
|
+
* @description Hard-delete trace annotations within the named project that match the
|
|
126
|
+
* supplied filter.
|
|
127
|
+
*
|
|
128
|
+
* - The request must either supply both `start_time` AND `end_time`
|
|
129
|
+
* to bound the delete to a `[start_time, end_time)` time window,
|
|
130
|
+
* OR set `delete_all=true` to acknowledge an unbounded sweep. A request
|
|
131
|
+
* that satisfies neither is rejected with 422.
|
|
132
|
+
* - `name`, `identifier`, and `annotator_kind` are optional narrowing
|
|
133
|
+
* filters; on their own they do NOT authorize the request — they only
|
|
134
|
+
* narrow within an already-authorized request (bounded time range or
|
|
135
|
+
* `delete_all=true`).
|
|
136
|
+
* - All supplied filters are combined with AND. `name` and `identifier`,
|
|
137
|
+
* when present, must be non-empty.
|
|
138
|
+
* - `start_time` is inclusive (`>=`); `end_time` is exclusive
|
|
139
|
+
* (`<`). When both are supplied, `start_time` must be strictly earlier
|
|
140
|
+
* than `end_time` (else 422). A half-bounded range (only one of
|
|
141
|
+
* the two) does NOT satisfy the gate and is rejected unless
|
|
142
|
+
* `delete_all=true` is also set. Naive datetimes are interpreted as UTC.
|
|
143
|
+
* - The endpoint is idempotent: a request that matches no rows still
|
|
144
|
+
* returns 204.
|
|
145
|
+
* - When authentication is enabled, non-admin callers can only delete rows
|
|
146
|
+
* they own (`user_id == current_user.id`); admins delete all matching
|
|
147
|
+
* rows.
|
|
148
|
+
*/
|
|
149
|
+
delete: operations["deleteTraceAnnotations"];
|
|
98
150
|
options?: never;
|
|
99
151
|
head?: never;
|
|
100
152
|
patch?: never;
|
|
@@ -114,7 +166,33 @@ export interface paths {
|
|
|
114
166
|
get: operations["listSessionAnnotationsBySessionIds"];
|
|
115
167
|
put?: never;
|
|
116
168
|
post?: never;
|
|
117
|
-
|
|
169
|
+
/**
|
|
170
|
+
* Delete session annotations in a project that match the supplied filter.
|
|
171
|
+
* @description Hard-delete session annotations within the named project that match the
|
|
172
|
+
* supplied filter.
|
|
173
|
+
*
|
|
174
|
+
* - The request must either supply both `start_time` AND `end_time`
|
|
175
|
+
* to bound the delete to a `[start_time, end_time)` time window,
|
|
176
|
+
* OR set `delete_all=true` to acknowledge an unbounded sweep. A request
|
|
177
|
+
* that satisfies neither is rejected with 422.
|
|
178
|
+
* - `name`, `identifier`, and `annotator_kind` are optional narrowing
|
|
179
|
+
* filters; on their own they do NOT authorize the request — they only
|
|
180
|
+
* narrow within an already-authorized request (bounded time range or
|
|
181
|
+
* `delete_all=true`).
|
|
182
|
+
* - All supplied filters are combined with AND. `name` and `identifier`,
|
|
183
|
+
* when present, must be non-empty.
|
|
184
|
+
* - `start_time` is inclusive (`>=`); `end_time` is exclusive
|
|
185
|
+
* (`<`). When both are supplied, `start_time` must be strictly earlier
|
|
186
|
+
* than `end_time` (else 422). A half-bounded range (only one of
|
|
187
|
+
* the two) does NOT satisfy the gate and is rejected unless
|
|
188
|
+
* `delete_all=true` is also set. Naive datetimes are interpreted as UTC.
|
|
189
|
+
* - The endpoint is idempotent: a request that matches no rows still
|
|
190
|
+
* returns 204.
|
|
191
|
+
* - When authentication is enabled, non-admin callers can only delete rows
|
|
192
|
+
* they own (`user_id == current_user.id`); admins delete all matching
|
|
193
|
+
* rows.
|
|
194
|
+
*/
|
|
195
|
+
delete: operations["deleteSessionAnnotations"];
|
|
118
196
|
options?: never;
|
|
119
197
|
head?: never;
|
|
120
198
|
patch?: never;
|
|
@@ -1061,10 +1139,287 @@ export interface paths {
|
|
|
1061
1139
|
patch?: never;
|
|
1062
1140
|
trace?: never;
|
|
1063
1141
|
};
|
|
1142
|
+
"/auth/login": {
|
|
1143
|
+
parameters: {
|
|
1144
|
+
query?: never;
|
|
1145
|
+
header?: never;
|
|
1146
|
+
path?: never;
|
|
1147
|
+
cookie?: never;
|
|
1148
|
+
};
|
|
1149
|
+
get?: never;
|
|
1150
|
+
put?: never;
|
|
1151
|
+
/**
|
|
1152
|
+
* Login
|
|
1153
|
+
* @description Authenticate user via email/password and return access/refresh tokens.
|
|
1154
|
+
*/
|
|
1155
|
+
post: operations["_login_auth_login_post"];
|
|
1156
|
+
delete?: never;
|
|
1157
|
+
options?: never;
|
|
1158
|
+
head?: never;
|
|
1159
|
+
patch?: never;
|
|
1160
|
+
trace?: never;
|
|
1161
|
+
};
|
|
1162
|
+
"/auth/logout": {
|
|
1163
|
+
parameters: {
|
|
1164
|
+
query?: never;
|
|
1165
|
+
header?: never;
|
|
1166
|
+
path?: never;
|
|
1167
|
+
cookie?: never;
|
|
1168
|
+
};
|
|
1169
|
+
/**
|
|
1170
|
+
* Logout
|
|
1171
|
+
* @description Log out user by revoking tokens and clearing cookies.
|
|
1172
|
+
*/
|
|
1173
|
+
get: operations["_logout_auth_logout_get"];
|
|
1174
|
+
put?: never;
|
|
1175
|
+
post?: never;
|
|
1176
|
+
delete?: never;
|
|
1177
|
+
options?: never;
|
|
1178
|
+
head?: never;
|
|
1179
|
+
patch?: never;
|
|
1180
|
+
trace?: never;
|
|
1181
|
+
};
|
|
1182
|
+
"/auth/refresh": {
|
|
1183
|
+
parameters: {
|
|
1184
|
+
query?: never;
|
|
1185
|
+
header?: never;
|
|
1186
|
+
path?: never;
|
|
1187
|
+
cookie?: never;
|
|
1188
|
+
};
|
|
1189
|
+
get?: never;
|
|
1190
|
+
put?: never;
|
|
1191
|
+
/**
|
|
1192
|
+
* Refresh Tokens
|
|
1193
|
+
* @description Refresh access and refresh tokens.
|
|
1194
|
+
*/
|
|
1195
|
+
post: operations["_refresh_tokens_auth_refresh_post"];
|
|
1196
|
+
delete?: never;
|
|
1197
|
+
options?: never;
|
|
1198
|
+
head?: never;
|
|
1199
|
+
patch?: never;
|
|
1200
|
+
trace?: never;
|
|
1201
|
+
};
|
|
1202
|
+
"/auth/password-reset-email": {
|
|
1203
|
+
parameters: {
|
|
1204
|
+
query?: never;
|
|
1205
|
+
header?: never;
|
|
1206
|
+
path?: never;
|
|
1207
|
+
cookie?: never;
|
|
1208
|
+
};
|
|
1209
|
+
get?: never;
|
|
1210
|
+
put?: never;
|
|
1211
|
+
/**
|
|
1212
|
+
* Initiate Password Reset
|
|
1213
|
+
* @description Send password reset email to user.
|
|
1214
|
+
*/
|
|
1215
|
+
post: operations["_initiate_password_reset_auth_password_reset_email_post"];
|
|
1216
|
+
delete?: never;
|
|
1217
|
+
options?: never;
|
|
1218
|
+
head?: never;
|
|
1219
|
+
patch?: never;
|
|
1220
|
+
trace?: never;
|
|
1221
|
+
};
|
|
1222
|
+
"/auth/password-reset": {
|
|
1223
|
+
parameters: {
|
|
1224
|
+
query?: never;
|
|
1225
|
+
header?: never;
|
|
1226
|
+
path?: never;
|
|
1227
|
+
cookie?: never;
|
|
1228
|
+
};
|
|
1229
|
+
get?: never;
|
|
1230
|
+
put?: never;
|
|
1231
|
+
/**
|
|
1232
|
+
* Reset Password
|
|
1233
|
+
* @description Reset user password using a valid reset token.
|
|
1234
|
+
*/
|
|
1235
|
+
post: operations["_reset_password_auth_password_reset_post"];
|
|
1236
|
+
delete?: never;
|
|
1237
|
+
options?: never;
|
|
1238
|
+
head?: never;
|
|
1239
|
+
patch?: never;
|
|
1240
|
+
trace?: never;
|
|
1241
|
+
};
|
|
1242
|
+
"/auth/ldap/login": {
|
|
1243
|
+
parameters: {
|
|
1244
|
+
query?: never;
|
|
1245
|
+
header?: never;
|
|
1246
|
+
path?: never;
|
|
1247
|
+
cookie?: never;
|
|
1248
|
+
};
|
|
1249
|
+
get?: never;
|
|
1250
|
+
put?: never;
|
|
1251
|
+
/**
|
|
1252
|
+
* Ldap Login
|
|
1253
|
+
* @description Authenticate user via LDAP and return access/refresh tokens.
|
|
1254
|
+
*/
|
|
1255
|
+
post: operations["_ldap_login_auth_ldap_login_post"];
|
|
1256
|
+
delete?: never;
|
|
1257
|
+
options?: never;
|
|
1258
|
+
head?: never;
|
|
1259
|
+
patch?: never;
|
|
1260
|
+
trace?: never;
|
|
1261
|
+
};
|
|
1262
|
+
"/oauth2/{idp_name}/login": {
|
|
1263
|
+
parameters: {
|
|
1264
|
+
query?: never;
|
|
1265
|
+
header?: never;
|
|
1266
|
+
path?: never;
|
|
1267
|
+
cookie?: never;
|
|
1268
|
+
};
|
|
1269
|
+
/** Login */
|
|
1270
|
+
get: operations["login_oauth2__idp_name__login_get"];
|
|
1271
|
+
put?: never;
|
|
1272
|
+
/** Login */
|
|
1273
|
+
post: operations["login_oauth2__idp_name__login_post"];
|
|
1274
|
+
delete?: never;
|
|
1275
|
+
options?: never;
|
|
1276
|
+
head?: never;
|
|
1277
|
+
patch?: never;
|
|
1278
|
+
trace?: never;
|
|
1279
|
+
};
|
|
1280
|
+
"/oauth2/{idp_name}/tokens": {
|
|
1281
|
+
parameters: {
|
|
1282
|
+
query?: never;
|
|
1283
|
+
header?: never;
|
|
1284
|
+
path?: never;
|
|
1285
|
+
cookie?: never;
|
|
1286
|
+
};
|
|
1287
|
+
/** Create Tokens */
|
|
1288
|
+
get: operations["create_tokens_oauth2__idp_name__tokens_get"];
|
|
1289
|
+
put?: never;
|
|
1290
|
+
post?: never;
|
|
1291
|
+
delete?: never;
|
|
1292
|
+
options?: never;
|
|
1293
|
+
head?: never;
|
|
1294
|
+
patch?: never;
|
|
1295
|
+
trace?: never;
|
|
1296
|
+
};
|
|
1297
|
+
"/agents/{agent_id}/sessions/{session_id}/chat": {
|
|
1298
|
+
parameters: {
|
|
1299
|
+
query?: never;
|
|
1300
|
+
header?: never;
|
|
1301
|
+
path?: never;
|
|
1302
|
+
cookie?: never;
|
|
1303
|
+
};
|
|
1304
|
+
get?: never;
|
|
1305
|
+
put?: never;
|
|
1306
|
+
/** Chat */
|
|
1307
|
+
post: operations["chat_agents__agent_id__sessions__session_id__chat_post"];
|
|
1308
|
+
delete?: never;
|
|
1309
|
+
options?: never;
|
|
1310
|
+
head?: never;
|
|
1311
|
+
patch?: never;
|
|
1312
|
+
trace?: never;
|
|
1313
|
+
};
|
|
1314
|
+
"/agents/{agent_id}/sessions/{session_id}/summary": {
|
|
1315
|
+
parameters: {
|
|
1316
|
+
query?: never;
|
|
1317
|
+
header?: never;
|
|
1318
|
+
path?: never;
|
|
1319
|
+
cookie?: never;
|
|
1320
|
+
};
|
|
1321
|
+
get?: never;
|
|
1322
|
+
put?: never;
|
|
1323
|
+
/** Summarize Endpoint */
|
|
1324
|
+
post: operations["summarize_endpoint_agents__agent_id__sessions__session_id__summary_post"];
|
|
1325
|
+
delete?: never;
|
|
1326
|
+
options?: never;
|
|
1327
|
+
head?: never;
|
|
1328
|
+
patch?: never;
|
|
1329
|
+
trace?: never;
|
|
1330
|
+
};
|
|
1331
|
+
"/arize_phoenix_version": {
|
|
1332
|
+
parameters: {
|
|
1333
|
+
query?: never;
|
|
1334
|
+
header?: never;
|
|
1335
|
+
path?: never;
|
|
1336
|
+
cookie?: never;
|
|
1337
|
+
};
|
|
1338
|
+
/** Version */
|
|
1339
|
+
get: operations["version_arize_phoenix_version_get"];
|
|
1340
|
+
put?: never;
|
|
1341
|
+
post?: never;
|
|
1342
|
+
delete?: never;
|
|
1343
|
+
options?: never;
|
|
1344
|
+
head?: never;
|
|
1345
|
+
patch?: never;
|
|
1346
|
+
trace?: never;
|
|
1347
|
+
};
|
|
1348
|
+
"/healthz": {
|
|
1349
|
+
parameters: {
|
|
1350
|
+
query?: never;
|
|
1351
|
+
header?: never;
|
|
1352
|
+
path?: never;
|
|
1353
|
+
cookie?: never;
|
|
1354
|
+
};
|
|
1355
|
+
/** Check Healthz */
|
|
1356
|
+
get: operations["check_healthz_healthz_get"];
|
|
1357
|
+
put?: never;
|
|
1358
|
+
post?: never;
|
|
1359
|
+
delete?: never;
|
|
1360
|
+
options?: never;
|
|
1361
|
+
head?: never;
|
|
1362
|
+
patch?: never;
|
|
1363
|
+
trace?: never;
|
|
1364
|
+
};
|
|
1365
|
+
"/readyz": {
|
|
1366
|
+
parameters: {
|
|
1367
|
+
query?: never;
|
|
1368
|
+
header?: never;
|
|
1369
|
+
path?: never;
|
|
1370
|
+
cookie?: never;
|
|
1371
|
+
};
|
|
1372
|
+
/** Check Readyz */
|
|
1373
|
+
get: operations["check_readyz_readyz_get"];
|
|
1374
|
+
put?: never;
|
|
1375
|
+
post?: never;
|
|
1376
|
+
delete?: never;
|
|
1377
|
+
options?: never;
|
|
1378
|
+
head?: never;
|
|
1379
|
+
patch?: never;
|
|
1380
|
+
trace?: never;
|
|
1381
|
+
};
|
|
1064
1382
|
}
|
|
1065
1383
|
export type webhooks = Record<string, never>;
|
|
1066
1384
|
export interface components {
|
|
1067
1385
|
schemas: {
|
|
1386
|
+
/**
|
|
1387
|
+
* AgentCapabilities
|
|
1388
|
+
* @description Runtime capability state sent by the browser for a chat turn.
|
|
1389
|
+
*/
|
|
1390
|
+
AgentCapabilities: {
|
|
1391
|
+
/**
|
|
1392
|
+
* Bash.Retaininactivesessions
|
|
1393
|
+
* @default false
|
|
1394
|
+
*/
|
|
1395
|
+
"bash.retainInactiveSessions"?: boolean;
|
|
1396
|
+
/**
|
|
1397
|
+
* Graphql.Mutations
|
|
1398
|
+
* @default false
|
|
1399
|
+
*/
|
|
1400
|
+
"graphql.mutations"?: boolean;
|
|
1401
|
+
};
|
|
1402
|
+
/**
|
|
1403
|
+
* AgentSpanContext
|
|
1404
|
+
* @description Span the user has selected.
|
|
1405
|
+
*
|
|
1406
|
+
* Exactly one of ``span_node_id`` (relay) or ``otel_span_id`` (OpenTelemetry
|
|
1407
|
+
* hex) must be set. ``project_node_id`` is optional because a span can be
|
|
1408
|
+
* selected from views outside a project route.
|
|
1409
|
+
*/
|
|
1410
|
+
AgentSpanContext: {
|
|
1411
|
+
/**
|
|
1412
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1413
|
+
* @enum {string}
|
|
1414
|
+
*/
|
|
1415
|
+
type: "span";
|
|
1416
|
+
/** Projectnodeid */
|
|
1417
|
+
projectNodeId?: string | null;
|
|
1418
|
+
/** Spannodeid */
|
|
1419
|
+
spanNodeId?: string | null;
|
|
1420
|
+
/** Otelspanid */
|
|
1421
|
+
otelSpanId?: string | null;
|
|
1422
|
+
};
|
|
1068
1423
|
/** AnnotateSessionsRequestBody */
|
|
1069
1424
|
AnnotateSessionsRequestBody: {
|
|
1070
1425
|
/** Data */
|
|
@@ -1134,6 +1489,75 @@ export interface components {
|
|
|
1134
1489
|
*/
|
|
1135
1490
|
auth_method: "ANONYMOUS";
|
|
1136
1491
|
};
|
|
1492
|
+
/**
|
|
1493
|
+
* AppContext
|
|
1494
|
+
* @description Per-turn browser clock context for resolving relative time requests.
|
|
1495
|
+
*/
|
|
1496
|
+
AppContext: {
|
|
1497
|
+
/**
|
|
1498
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1499
|
+
* @enum {string}
|
|
1500
|
+
*/
|
|
1501
|
+
type: "app";
|
|
1502
|
+
/** Currentdatetime */
|
|
1503
|
+
currentDateTime: string;
|
|
1504
|
+
/** Timezone */
|
|
1505
|
+
timeZone: string;
|
|
1506
|
+
};
|
|
1507
|
+
/**
|
|
1508
|
+
* AssistantMessageMetadata
|
|
1509
|
+
* @description Wire schema for the chat stream's `message_metadata` payload.
|
|
1510
|
+
*/
|
|
1511
|
+
AssistantMessageMetadata: {
|
|
1512
|
+
/** Sessionid */
|
|
1513
|
+
sessionId: string;
|
|
1514
|
+
trace?: components["schemas"]["AssistantMessageMetadataTraceIds"] | null;
|
|
1515
|
+
usage?: components["schemas"]["AssistantMessageMetadataUsage"] | null;
|
|
1516
|
+
};
|
|
1517
|
+
/** AssistantMessageMetadataTraceIds */
|
|
1518
|
+
AssistantMessageMetadataTraceIds: {
|
|
1519
|
+
/** Traceid */
|
|
1520
|
+
traceId: string;
|
|
1521
|
+
/** Rootspanid */
|
|
1522
|
+
rootSpanId: string;
|
|
1523
|
+
};
|
|
1524
|
+
/** AssistantMessageMetadataUsage */
|
|
1525
|
+
AssistantMessageMetadataUsage: {
|
|
1526
|
+
tokens: components["schemas"]["AssistantMessageMetadataUsageTokens"];
|
|
1527
|
+
promptDetails?: components["schemas"]["AssistantMessageMetadataUsageTokenDetails"] | null;
|
|
1528
|
+
};
|
|
1529
|
+
/** AssistantMessageMetadataUsageTokenDetails */
|
|
1530
|
+
AssistantMessageMetadataUsageTokenDetails: {
|
|
1531
|
+
/** Cacheread */
|
|
1532
|
+
cacheRead: number;
|
|
1533
|
+
/** Cachewrite */
|
|
1534
|
+
cacheWrite: number;
|
|
1535
|
+
};
|
|
1536
|
+
/** AssistantMessageMetadataUsageTokens */
|
|
1537
|
+
AssistantMessageMetadataUsageTokens: {
|
|
1538
|
+
/** Prompt */
|
|
1539
|
+
prompt: number;
|
|
1540
|
+
/** Completion */
|
|
1541
|
+
completion: number;
|
|
1542
|
+
/** Total */
|
|
1543
|
+
total: number;
|
|
1544
|
+
};
|
|
1545
|
+
/**
|
|
1546
|
+
* AssistantMetadataUIMessage
|
|
1547
|
+
* @description `UIMessage` with `metadata` narrowed to `AssistantMessageMetadata`.
|
|
1548
|
+
*/
|
|
1549
|
+
AssistantMetadataUIMessage: {
|
|
1550
|
+
/** Id */
|
|
1551
|
+
id: string;
|
|
1552
|
+
/**
|
|
1553
|
+
* Role
|
|
1554
|
+
* @enum {string}
|
|
1555
|
+
*/
|
|
1556
|
+
role: "system" | "user" | "assistant";
|
|
1557
|
+
metadata?: components["schemas"]["AssistantMessageMetadata"] | null;
|
|
1558
|
+
/** Parts */
|
|
1559
|
+
parts: (components["schemas"]["TextUIPart"] | components["schemas"]["ReasoningUIPart"] | components["schemas"]["ToolInputStreamingPart"] | components["schemas"]["ToolInputAvailablePart"] | components["schemas"]["ToolOutputAvailablePart"] | components["schemas"]["ToolOutputErrorPart"] | components["schemas"]["ToolApprovalRequestedPart"] | components["schemas"]["ToolApprovalRespondedPart"] | components["schemas"]["ToolOutputDeniedPart"] | components["schemas"]["DynamicToolInputStreamingPart"] | components["schemas"]["DynamicToolInputAvailablePart"] | components["schemas"]["DynamicToolOutputAvailablePart"] | components["schemas"]["DynamicToolOutputErrorPart"] | components["schemas"]["DynamicToolApprovalRequestedPart"] | components["schemas"]["DynamicToolApprovalRespondedPart"] | components["schemas"]["DynamicToolOutputDeniedPart"] | components["schemas"]["SourceUrlUIPart"] | components["schemas"]["SourceDocumentUIPart"] | components["schemas"]["FileUIPart"] | components["schemas"]["DataUIPart"] | components["schemas"]["StepStartUIPart"])[];
|
|
1560
|
+
};
|
|
1137
1561
|
/** CategoricalAnnotationConfig */
|
|
1138
1562
|
CategoricalAnnotationConfig: {
|
|
1139
1563
|
/** Name */
|
|
@@ -1173,22 +1597,98 @@ export interface components {
|
|
|
1173
1597
|
/** Score */
|
|
1174
1598
|
score?: number | null;
|
|
1175
1599
|
};
|
|
1176
|
-
/**
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1600
|
+
/**
|
|
1601
|
+
* ChatContext
|
|
1602
|
+
* @description Discriminated union of every UI-state context the agent understands.
|
|
1603
|
+
*
|
|
1604
|
+
* Wrapped in ``RootModel`` so the generated OpenAPI schema exposes a single
|
|
1605
|
+
* named ``ChatContext`` component instead of inlining the ``oneOf`` at every
|
|
1606
|
+
* reference site. The actual member is accessible via ``.root``.
|
|
1607
|
+
*/
|
|
1608
|
+
ChatContext: components["schemas"]["AppContext"] | components["schemas"]["ProjectContext"] | components["schemas"]["TraceContext"] | components["schemas"]["AgentSpanContext"] | components["schemas"]["PlaygroundContext"];
|
|
1609
|
+
/**
|
|
1610
|
+
* ChatRegenerateMessage
|
|
1611
|
+
* @description Regenerate message extended with Phoenix-specific fields.
|
|
1612
|
+
*/
|
|
1613
|
+
ChatRegenerateMessage: {
|
|
1180
1614
|
/**
|
|
1181
1615
|
* @description discriminator enum property added by openapi-typescript
|
|
1182
1616
|
* @enum {string}
|
|
1183
1617
|
*/
|
|
1184
|
-
|
|
1185
|
-
/**
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1618
|
+
trigger: "regenerate-message";
|
|
1619
|
+
/** Id */
|
|
1620
|
+
id: string;
|
|
1621
|
+
/** Messages */
|
|
1622
|
+
messages: components["schemas"]["AssistantMetadataUIMessage"][];
|
|
1623
|
+
/** Messageid */
|
|
1624
|
+
messageId?: string | null;
|
|
1625
|
+
/**
|
|
1626
|
+
* Ingesttraces
|
|
1627
|
+
* @default false
|
|
1628
|
+
*/
|
|
1629
|
+
ingestTraces?: boolean;
|
|
1630
|
+
/**
|
|
1631
|
+
* Exportremotetraces
|
|
1632
|
+
* @default false
|
|
1633
|
+
*/
|
|
1634
|
+
exportRemoteTraces?: boolean;
|
|
1635
|
+
/** Contexts */
|
|
1636
|
+
contexts?: components["schemas"]["ChatContext"][];
|
|
1637
|
+
capabilities?: components["schemas"]["AgentCapabilities"];
|
|
1638
|
+
} & {
|
|
1639
|
+
[key: string]: unknown;
|
|
1640
|
+
};
|
|
1641
|
+
/**
|
|
1642
|
+
* ChatRequest
|
|
1643
|
+
* @description Discriminated union of chat request payloads.
|
|
1644
|
+
*/
|
|
1645
|
+
ChatRequest: components["schemas"]["ChatSubmitMessage"] | components["schemas"]["ChatRegenerateMessage"];
|
|
1646
|
+
/**
|
|
1647
|
+
* ChatSubmitMessage
|
|
1648
|
+
* @description Submit message extended with Phoenix-specific fields.
|
|
1649
|
+
*/
|
|
1650
|
+
ChatSubmitMessage: {
|
|
1651
|
+
/**
|
|
1652
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1653
|
+
* @enum {string}
|
|
1654
|
+
*/
|
|
1655
|
+
trigger: "submit-message";
|
|
1656
|
+
/** Id */
|
|
1657
|
+
id: string;
|
|
1658
|
+
/** Messages */
|
|
1659
|
+
messages: components["schemas"]["AssistantMetadataUIMessage"][];
|
|
1660
|
+
/**
|
|
1661
|
+
* Ingesttraces
|
|
1662
|
+
* @default false
|
|
1663
|
+
*/
|
|
1664
|
+
ingestTraces?: boolean;
|
|
1665
|
+
/**
|
|
1666
|
+
* Exportremotetraces
|
|
1667
|
+
* @default false
|
|
1668
|
+
*/
|
|
1669
|
+
exportRemoteTraces?: boolean;
|
|
1670
|
+
/** Contexts */
|
|
1671
|
+
contexts?: components["schemas"]["ChatContext"][];
|
|
1672
|
+
capabilities?: components["schemas"]["AgentCapabilities"];
|
|
1673
|
+
} & {
|
|
1674
|
+
[key: string]: unknown;
|
|
1675
|
+
};
|
|
1676
|
+
/** ContinuousAnnotationConfig */
|
|
1677
|
+
ContinuousAnnotationConfig: {
|
|
1678
|
+
/** Name */
|
|
1679
|
+
name: string;
|
|
1680
|
+
/**
|
|
1681
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1682
|
+
* @enum {string}
|
|
1683
|
+
*/
|
|
1684
|
+
type: "CONTINUOUS";
|
|
1685
|
+
/** Description */
|
|
1686
|
+
description?: string | null;
|
|
1687
|
+
optimization_direction: components["schemas"]["OptimizationDirection"];
|
|
1688
|
+
/** Lower Bound */
|
|
1689
|
+
lower_bound?: number | null;
|
|
1690
|
+
/** Upper Bound */
|
|
1691
|
+
upper_bound?: number | null;
|
|
1192
1692
|
/** Id */
|
|
1193
1693
|
id: string;
|
|
1194
1694
|
};
|
|
@@ -1388,6 +1888,18 @@ export interface components {
|
|
|
1388
1888
|
/** Data */
|
|
1389
1889
|
data: components["schemas"]["LocalUser"] | components["schemas"]["OAuth2User"] | components["schemas"]["LDAPUser"];
|
|
1390
1890
|
};
|
|
1891
|
+
/**
|
|
1892
|
+
* DataUIPart
|
|
1893
|
+
* @description Data part with dynamic type based on data name.
|
|
1894
|
+
*/
|
|
1895
|
+
DataUIPart: {
|
|
1896
|
+
/** Type */
|
|
1897
|
+
type: string;
|
|
1898
|
+
/** Id */
|
|
1899
|
+
id?: string | null;
|
|
1900
|
+
/** Data */
|
|
1901
|
+
data: unknown;
|
|
1902
|
+
};
|
|
1391
1903
|
/** Dataset */
|
|
1392
1904
|
Dataset: {
|
|
1393
1905
|
/** Id */
|
|
@@ -1491,6 +2003,236 @@ export interface components {
|
|
|
1491
2003
|
*/
|
|
1492
2004
|
session_identifiers: string[];
|
|
1493
2005
|
};
|
|
2006
|
+
/**
|
|
2007
|
+
* DynamicToolApprovalRequestedPart
|
|
2008
|
+
* @description Dynamic tool part in approval-requested state (awaiting user decision).
|
|
2009
|
+
*/
|
|
2010
|
+
DynamicToolApprovalRequestedPart: {
|
|
2011
|
+
/**
|
|
2012
|
+
* Type
|
|
2013
|
+
* @default dynamic-tool
|
|
2014
|
+
* @constant
|
|
2015
|
+
*/
|
|
2016
|
+
type?: "dynamic-tool";
|
|
2017
|
+
/** Toolname */
|
|
2018
|
+
toolName: string;
|
|
2019
|
+
/** Toolcallid */
|
|
2020
|
+
toolCallId: string;
|
|
2021
|
+
/**
|
|
2022
|
+
* State
|
|
2023
|
+
* @default approval-requested
|
|
2024
|
+
* @constant
|
|
2025
|
+
*/
|
|
2026
|
+
state?: "approval-requested";
|
|
2027
|
+
/** Input */
|
|
2028
|
+
input: unknown;
|
|
2029
|
+
/** Callprovidermetadata */
|
|
2030
|
+
callProviderMetadata?: {
|
|
2031
|
+
[key: string]: {
|
|
2032
|
+
[key: string]: unknown;
|
|
2033
|
+
};
|
|
2034
|
+
} | null;
|
|
2035
|
+
/** Approval */
|
|
2036
|
+
approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
|
|
2037
|
+
};
|
|
2038
|
+
/**
|
|
2039
|
+
* DynamicToolApprovalRespondedPart
|
|
2040
|
+
* @description Dynamic tool part in approval-responded state (user approved/denied, execution pending).
|
|
2041
|
+
*/
|
|
2042
|
+
DynamicToolApprovalRespondedPart: {
|
|
2043
|
+
/**
|
|
2044
|
+
* Type
|
|
2045
|
+
* @default dynamic-tool
|
|
2046
|
+
* @constant
|
|
2047
|
+
*/
|
|
2048
|
+
type?: "dynamic-tool";
|
|
2049
|
+
/** Toolname */
|
|
2050
|
+
toolName: string;
|
|
2051
|
+
/** Toolcallid */
|
|
2052
|
+
toolCallId: string;
|
|
2053
|
+
/**
|
|
2054
|
+
* State
|
|
2055
|
+
* @default approval-responded
|
|
2056
|
+
* @constant
|
|
2057
|
+
*/
|
|
2058
|
+
state?: "approval-responded";
|
|
2059
|
+
/** Input */
|
|
2060
|
+
input: unknown;
|
|
2061
|
+
/** Callprovidermetadata */
|
|
2062
|
+
callProviderMetadata?: {
|
|
2063
|
+
[key: string]: {
|
|
2064
|
+
[key: string]: unknown;
|
|
2065
|
+
};
|
|
2066
|
+
} | null;
|
|
2067
|
+
/** Approval */
|
|
2068
|
+
approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
|
|
2069
|
+
};
|
|
2070
|
+
/**
|
|
2071
|
+
* DynamicToolInputAvailablePart
|
|
2072
|
+
* @description Dynamic tool part in input-available state.
|
|
2073
|
+
*/
|
|
2074
|
+
DynamicToolInputAvailablePart: {
|
|
2075
|
+
/**
|
|
2076
|
+
* Type
|
|
2077
|
+
* @default dynamic-tool
|
|
2078
|
+
* @constant
|
|
2079
|
+
*/
|
|
2080
|
+
type?: "dynamic-tool";
|
|
2081
|
+
/** Toolname */
|
|
2082
|
+
toolName: string;
|
|
2083
|
+
/** Toolcallid */
|
|
2084
|
+
toolCallId: string;
|
|
2085
|
+
/**
|
|
2086
|
+
* State
|
|
2087
|
+
* @default input-available
|
|
2088
|
+
* @constant
|
|
2089
|
+
*/
|
|
2090
|
+
state?: "input-available";
|
|
2091
|
+
/** Input */
|
|
2092
|
+
input: unknown;
|
|
2093
|
+
/** Callprovidermetadata */
|
|
2094
|
+
callProviderMetadata?: {
|
|
2095
|
+
[key: string]: {
|
|
2096
|
+
[key: string]: unknown;
|
|
2097
|
+
};
|
|
2098
|
+
} | null;
|
|
2099
|
+
/** Approval */
|
|
2100
|
+
approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
|
|
2101
|
+
};
|
|
2102
|
+
/**
|
|
2103
|
+
* DynamicToolInputStreamingPart
|
|
2104
|
+
* @description Dynamic tool part in input-streaming state.
|
|
2105
|
+
*/
|
|
2106
|
+
DynamicToolInputStreamingPart: {
|
|
2107
|
+
/**
|
|
2108
|
+
* Type
|
|
2109
|
+
* @default dynamic-tool
|
|
2110
|
+
* @constant
|
|
2111
|
+
*/
|
|
2112
|
+
type?: "dynamic-tool";
|
|
2113
|
+
/** Toolname */
|
|
2114
|
+
toolName: string;
|
|
2115
|
+
/** Toolcallid */
|
|
2116
|
+
toolCallId: string;
|
|
2117
|
+
/**
|
|
2118
|
+
* State
|
|
2119
|
+
* @default input-streaming
|
|
2120
|
+
* @constant
|
|
2121
|
+
*/
|
|
2122
|
+
state?: "input-streaming";
|
|
2123
|
+
/** Input */
|
|
2124
|
+
input?: unknown | null;
|
|
2125
|
+
/** Callprovidermetadata */
|
|
2126
|
+
callProviderMetadata?: {
|
|
2127
|
+
[key: string]: {
|
|
2128
|
+
[key: string]: unknown;
|
|
2129
|
+
};
|
|
2130
|
+
} | null;
|
|
2131
|
+
/** Approval */
|
|
2132
|
+
approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
|
|
2133
|
+
};
|
|
2134
|
+
/**
|
|
2135
|
+
* DynamicToolOutputAvailablePart
|
|
2136
|
+
* @description Dynamic tool part in output-available state.
|
|
2137
|
+
*/
|
|
2138
|
+
DynamicToolOutputAvailablePart: {
|
|
2139
|
+
/**
|
|
2140
|
+
* Type
|
|
2141
|
+
* @default dynamic-tool
|
|
2142
|
+
* @constant
|
|
2143
|
+
*/
|
|
2144
|
+
type?: "dynamic-tool";
|
|
2145
|
+
/** Toolname */
|
|
2146
|
+
toolName: string;
|
|
2147
|
+
/** Toolcallid */
|
|
2148
|
+
toolCallId: string;
|
|
2149
|
+
/**
|
|
2150
|
+
* State
|
|
2151
|
+
* @default output-available
|
|
2152
|
+
* @constant
|
|
2153
|
+
*/
|
|
2154
|
+
state?: "output-available";
|
|
2155
|
+
/** Input */
|
|
2156
|
+
input: unknown;
|
|
2157
|
+
/** Output */
|
|
2158
|
+
output: unknown;
|
|
2159
|
+
/** Callprovidermetadata */
|
|
2160
|
+
callProviderMetadata?: {
|
|
2161
|
+
[key: string]: {
|
|
2162
|
+
[key: string]: unknown;
|
|
2163
|
+
};
|
|
2164
|
+
} | null;
|
|
2165
|
+
/** Preliminary */
|
|
2166
|
+
preliminary?: boolean | null;
|
|
2167
|
+
/** Approval */
|
|
2168
|
+
approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
|
|
2169
|
+
};
|
|
2170
|
+
/**
|
|
2171
|
+
* DynamicToolOutputDeniedPart
|
|
2172
|
+
* @description Dynamic tool part in output-denied state (tool was denied, terminal state).
|
|
2173
|
+
*/
|
|
2174
|
+
DynamicToolOutputDeniedPart: {
|
|
2175
|
+
/**
|
|
2176
|
+
* Type
|
|
2177
|
+
* @default dynamic-tool
|
|
2178
|
+
* @constant
|
|
2179
|
+
*/
|
|
2180
|
+
type?: "dynamic-tool";
|
|
2181
|
+
/** Toolname */
|
|
2182
|
+
toolName: string;
|
|
2183
|
+
/** Toolcallid */
|
|
2184
|
+
toolCallId: string;
|
|
2185
|
+
/**
|
|
2186
|
+
* State
|
|
2187
|
+
* @default output-denied
|
|
2188
|
+
* @constant
|
|
2189
|
+
*/
|
|
2190
|
+
state?: "output-denied";
|
|
2191
|
+
/** Input */
|
|
2192
|
+
input: unknown;
|
|
2193
|
+
/** Callprovidermetadata */
|
|
2194
|
+
callProviderMetadata?: {
|
|
2195
|
+
[key: string]: {
|
|
2196
|
+
[key: string]: unknown;
|
|
2197
|
+
};
|
|
2198
|
+
} | null;
|
|
2199
|
+
/** Approval */
|
|
2200
|
+
approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
|
|
2201
|
+
};
|
|
2202
|
+
/**
|
|
2203
|
+
* DynamicToolOutputErrorPart
|
|
2204
|
+
* @description Dynamic tool part in output-error state.
|
|
2205
|
+
*/
|
|
2206
|
+
DynamicToolOutputErrorPart: {
|
|
2207
|
+
/**
|
|
2208
|
+
* Type
|
|
2209
|
+
* @default dynamic-tool
|
|
2210
|
+
* @constant
|
|
2211
|
+
*/
|
|
2212
|
+
type?: "dynamic-tool";
|
|
2213
|
+
/** Toolname */
|
|
2214
|
+
toolName: string;
|
|
2215
|
+
/** Toolcallid */
|
|
2216
|
+
toolCallId: string;
|
|
2217
|
+
/**
|
|
2218
|
+
* State
|
|
2219
|
+
* @default output-error
|
|
2220
|
+
* @constant
|
|
2221
|
+
*/
|
|
2222
|
+
state?: "output-error";
|
|
2223
|
+
/** Input */
|
|
2224
|
+
input: unknown;
|
|
2225
|
+
/** Errortext */
|
|
2226
|
+
errorText: string;
|
|
2227
|
+
/** Callprovidermetadata */
|
|
2228
|
+
callProviderMetadata?: {
|
|
2229
|
+
[key: string]: {
|
|
2230
|
+
[key: string]: unknown;
|
|
2231
|
+
};
|
|
2232
|
+
} | null;
|
|
2233
|
+
/** Approval */
|
|
2234
|
+
approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
|
|
2235
|
+
};
|
|
1494
2236
|
/** Experiment */
|
|
1495
2237
|
Experiment: {
|
|
1496
2238
|
/**
|
|
@@ -1626,6 +2368,30 @@ export interface components {
|
|
|
1626
2368
|
*/
|
|
1627
2369
|
experiment_id: string;
|
|
1628
2370
|
};
|
|
2371
|
+
/**
|
|
2372
|
+
* FileUIPart
|
|
2373
|
+
* @description A file part of a message.
|
|
2374
|
+
*/
|
|
2375
|
+
FileUIPart: {
|
|
2376
|
+
/**
|
|
2377
|
+
* Type
|
|
2378
|
+
* @default file
|
|
2379
|
+
* @constant
|
|
2380
|
+
*/
|
|
2381
|
+
type?: "file";
|
|
2382
|
+
/** Mediatype */
|
|
2383
|
+
mediaType: string;
|
|
2384
|
+
/** Filename */
|
|
2385
|
+
filename?: string | null;
|
|
2386
|
+
/** Url */
|
|
2387
|
+
url: string;
|
|
2388
|
+
/** Providermetadata */
|
|
2389
|
+
providerMetadata?: {
|
|
2390
|
+
[key: string]: {
|
|
2391
|
+
[key: string]: unknown;
|
|
2392
|
+
};
|
|
2393
|
+
} | null;
|
|
2394
|
+
};
|
|
1629
2395
|
/** FreeformAnnotationConfig */
|
|
1630
2396
|
FreeformAnnotationConfig: {
|
|
1631
2397
|
/** Name */
|
|
@@ -2229,6 +2995,19 @@ export interface components {
|
|
|
2229
2995
|
*/
|
|
2230
2996
|
message?: string | null;
|
|
2231
2997
|
};
|
|
2998
|
+
/**
|
|
2999
|
+
* PlaygroundContext
|
|
3000
|
+
* @description Playground prompt editor state mounted in the current browser route.
|
|
3001
|
+
*/
|
|
3002
|
+
PlaygroundContext: {
|
|
3003
|
+
/**
|
|
3004
|
+
* @description discriminator enum property added by openapi-typescript
|
|
3005
|
+
* @enum {string}
|
|
3006
|
+
*/
|
|
3007
|
+
type: "playground";
|
|
3008
|
+
/** Instanceids */
|
|
3009
|
+
instanceIds: number[];
|
|
3010
|
+
};
|
|
2232
3011
|
/** Project */
|
|
2233
3012
|
Project: {
|
|
2234
3013
|
/** Name */
|
|
@@ -2238,6 +3017,32 @@ export interface components {
|
|
|
2238
3017
|
/** Id */
|
|
2239
3018
|
id: string;
|
|
2240
3019
|
};
|
|
3020
|
+
/**
|
|
3021
|
+
* ProjectContext
|
|
3022
|
+
* @description Project the user is currently viewing.
|
|
3023
|
+
*
|
|
3024
|
+
* ``span_filter`` carries the project-scoped span filter expression when the
|
|
3025
|
+
* span filter field is mounted — empty string when the field is mounted with
|
|
3026
|
+
* no condition applied, ``None`` when the field is not present at all.
|
|
3027
|
+
*
|
|
3028
|
+
* ``root_spans_only`` carries the current state of the spans-table root vs.
|
|
3029
|
+
* all toggle when that toggle is mounted — ``True`` when the table is
|
|
3030
|
+
* restricted to root spans, ``False`` when it shows every span, ``None``
|
|
3031
|
+
* when the toggle is not present (e.g. on the traces tab).
|
|
3032
|
+
*/
|
|
3033
|
+
ProjectContext: {
|
|
3034
|
+
/**
|
|
3035
|
+
* @description discriminator enum property added by openapi-typescript
|
|
3036
|
+
* @enum {string}
|
|
3037
|
+
*/
|
|
3038
|
+
type: "project";
|
|
3039
|
+
/** Projectnodeid */
|
|
3040
|
+
projectNodeId: string;
|
|
3041
|
+
/** Spanfilter */
|
|
3042
|
+
spanFilter?: string | null;
|
|
3043
|
+
/** Rootspansonly */
|
|
3044
|
+
rootSpansOnly?: boolean | null;
|
|
3045
|
+
};
|
|
2241
3046
|
/** Prompt */
|
|
2242
3047
|
Prompt: {
|
|
2243
3048
|
name: components["schemas"]["Identifier"];
|
|
@@ -2882,6 +3687,18 @@ export interface components {
|
|
|
2882
3687
|
/** Strict */
|
|
2883
3688
|
strict?: boolean;
|
|
2884
3689
|
};
|
|
3690
|
+
/** PromptToolRaw */
|
|
3691
|
+
PromptToolRaw: {
|
|
3692
|
+
/**
|
|
3693
|
+
* @description discriminator enum property added by openapi-typescript
|
|
3694
|
+
* @enum {string}
|
|
3695
|
+
*/
|
|
3696
|
+
type: "raw";
|
|
3697
|
+
/** Raw */
|
|
3698
|
+
raw: {
|
|
3699
|
+
[key: string]: unknown;
|
|
3700
|
+
};
|
|
3701
|
+
};
|
|
2885
3702
|
/** PromptTools */
|
|
2886
3703
|
PromptTools: {
|
|
2887
3704
|
/**
|
|
@@ -2890,7 +3707,7 @@ export interface components {
|
|
|
2890
3707
|
*/
|
|
2891
3708
|
type: "tools";
|
|
2892
3709
|
/** Tools */
|
|
2893
|
-
tools: components["schemas"]["PromptToolFunction"][];
|
|
3710
|
+
tools: (components["schemas"]["PromptToolFunction"] | components["schemas"]["PromptToolRaw"])[];
|
|
2894
3711
|
/** Tool Choice */
|
|
2895
3712
|
tool_choice?: components["schemas"]["PromptToolChoiceNone"] | components["schemas"]["PromptToolChoiceZeroOrMore"] | components["schemas"]["PromptToolChoiceOneOrMore"] | components["schemas"]["PromptToolChoiceSpecificFunctionTool"];
|
|
2896
3713
|
/** Disable Parallel Tool Calls */
|
|
@@ -2983,6 +3800,28 @@ export interface components {
|
|
|
2983
3800
|
[key: string]: unknown;
|
|
2984
3801
|
};
|
|
2985
3802
|
};
|
|
3803
|
+
/**
|
|
3804
|
+
* ReasoningUIPart
|
|
3805
|
+
* @description A reasoning part of a message.
|
|
3806
|
+
*/
|
|
3807
|
+
ReasoningUIPart: {
|
|
3808
|
+
/**
|
|
3809
|
+
* Type
|
|
3810
|
+
* @default reasoning
|
|
3811
|
+
* @constant
|
|
3812
|
+
*/
|
|
3813
|
+
type?: "reasoning";
|
|
3814
|
+
/** Text */
|
|
3815
|
+
text: string;
|
|
3816
|
+
/** State */
|
|
3817
|
+
state?: ("streaming" | "done") | null;
|
|
3818
|
+
/** Providermetadata */
|
|
3819
|
+
providerMetadata?: {
|
|
3820
|
+
[key: string]: {
|
|
3821
|
+
[key: string]: unknown;
|
|
3822
|
+
};
|
|
3823
|
+
} | null;
|
|
3824
|
+
};
|
|
2986
3825
|
/** ResponseBody[UpsertOrDeleteSecretsResult] */
|
|
2987
3826
|
ResponseBody_UpsertOrDeleteSecretsResult_: {
|
|
2988
3827
|
data: components["schemas"]["UpsertOrDeleteSecretsResult"];
|
|
@@ -3114,6 +3953,24 @@ export interface components {
|
|
|
3114
3953
|
end_time: string;
|
|
3115
3954
|
/** Traces */
|
|
3116
3955
|
traces: components["schemas"]["SessionTraceData"][];
|
|
3956
|
+
/**
|
|
3957
|
+
* Token Count Prompt
|
|
3958
|
+
* @description Cumulative prompt token count across all spans in the session.
|
|
3959
|
+
* @default 0
|
|
3960
|
+
*/
|
|
3961
|
+
token_count_prompt?: number;
|
|
3962
|
+
/**
|
|
3963
|
+
* Token Count Completion
|
|
3964
|
+
* @description Cumulative completion token count across all spans in the session.
|
|
3965
|
+
* @default 0
|
|
3966
|
+
*/
|
|
3967
|
+
token_count_completion?: number;
|
|
3968
|
+
/**
|
|
3969
|
+
* Token Count Total
|
|
3970
|
+
* @description Cumulative total token count across all spans in the session (prompt + completion).
|
|
3971
|
+
* @default 0
|
|
3972
|
+
*/
|
|
3973
|
+
token_count_total?: number;
|
|
3117
3974
|
};
|
|
3118
3975
|
/** SessionNoteData */
|
|
3119
3976
|
SessionNoteData: {
|
|
@@ -3145,6 +4002,56 @@ export interface components {
|
|
|
3145
4002
|
*/
|
|
3146
4003
|
end_time: string;
|
|
3147
4004
|
};
|
|
4005
|
+
/**
|
|
4006
|
+
* SourceDocumentUIPart
|
|
4007
|
+
* @description A document source part of a message.
|
|
4008
|
+
*/
|
|
4009
|
+
SourceDocumentUIPart: {
|
|
4010
|
+
/**
|
|
4011
|
+
* Type
|
|
4012
|
+
* @default source-document
|
|
4013
|
+
* @constant
|
|
4014
|
+
*/
|
|
4015
|
+
type?: "source-document";
|
|
4016
|
+
/** Sourceid */
|
|
4017
|
+
sourceId: string;
|
|
4018
|
+
/** Mediatype */
|
|
4019
|
+
mediaType: string;
|
|
4020
|
+
/** Title */
|
|
4021
|
+
title: string;
|
|
4022
|
+
/** Filename */
|
|
4023
|
+
filename?: string | null;
|
|
4024
|
+
/** Providermetadata */
|
|
4025
|
+
providerMetadata?: {
|
|
4026
|
+
[key: string]: {
|
|
4027
|
+
[key: string]: unknown;
|
|
4028
|
+
};
|
|
4029
|
+
} | null;
|
|
4030
|
+
};
|
|
4031
|
+
/**
|
|
4032
|
+
* SourceUrlUIPart
|
|
4033
|
+
* @description A source part of a message.
|
|
4034
|
+
*/
|
|
4035
|
+
SourceUrlUIPart: {
|
|
4036
|
+
/**
|
|
4037
|
+
* Type
|
|
4038
|
+
* @default source-url
|
|
4039
|
+
* @constant
|
|
4040
|
+
*/
|
|
4041
|
+
type?: "source-url";
|
|
4042
|
+
/** Sourceid */
|
|
4043
|
+
sourceId: string;
|
|
4044
|
+
/** Url */
|
|
4045
|
+
url: string;
|
|
4046
|
+
/** Title */
|
|
4047
|
+
title?: string | null;
|
|
4048
|
+
/** Providermetadata */
|
|
4049
|
+
providerMetadata?: {
|
|
4050
|
+
[key: string]: {
|
|
4051
|
+
[key: string]: unknown;
|
|
4052
|
+
};
|
|
4053
|
+
} | null;
|
|
4054
|
+
};
|
|
3148
4055
|
/**
|
|
3149
4056
|
* Span
|
|
3150
4057
|
* @example {
|
|
@@ -3428,6 +4335,18 @@ export interface components {
|
|
|
3428
4335
|
/** Next Cursor */
|
|
3429
4336
|
next_cursor: string | null;
|
|
3430
4337
|
};
|
|
4338
|
+
/**
|
|
4339
|
+
* StepStartUIPart
|
|
4340
|
+
* @description A step boundary part of a message.
|
|
4341
|
+
*/
|
|
4342
|
+
StepStartUIPart: {
|
|
4343
|
+
/**
|
|
4344
|
+
* Type
|
|
4345
|
+
* @default step-start
|
|
4346
|
+
* @constant
|
|
4347
|
+
*/
|
|
4348
|
+
type?: "step-start";
|
|
4349
|
+
};
|
|
3431
4350
|
/** TextContentPart */
|
|
3432
4351
|
TextContentPart: {
|
|
3433
4352
|
/**
|
|
@@ -3438,6 +4357,104 @@ export interface components {
|
|
|
3438
4357
|
/** Text */
|
|
3439
4358
|
text: string;
|
|
3440
4359
|
};
|
|
4360
|
+
/**
|
|
4361
|
+
* TextUIPart
|
|
4362
|
+
* @description A text part of a message.
|
|
4363
|
+
*/
|
|
4364
|
+
TextUIPart: {
|
|
4365
|
+
/**
|
|
4366
|
+
* Type
|
|
4367
|
+
* @default text
|
|
4368
|
+
* @constant
|
|
4369
|
+
*/
|
|
4370
|
+
type?: "text";
|
|
4371
|
+
/** Text */
|
|
4372
|
+
text: string;
|
|
4373
|
+
/** State */
|
|
4374
|
+
state?: ("streaming" | "done") | null;
|
|
4375
|
+
/** Providermetadata */
|
|
4376
|
+
providerMetadata?: {
|
|
4377
|
+
[key: string]: {
|
|
4378
|
+
[key: string]: unknown;
|
|
4379
|
+
};
|
|
4380
|
+
} | null;
|
|
4381
|
+
};
|
|
4382
|
+
/**
|
|
4383
|
+
* ToolApprovalRequested
|
|
4384
|
+
* @description Tool approval in requested state (awaiting user response).
|
|
4385
|
+
*/
|
|
4386
|
+
ToolApprovalRequested: {
|
|
4387
|
+
/** Id */
|
|
4388
|
+
id: string;
|
|
4389
|
+
};
|
|
4390
|
+
/**
|
|
4391
|
+
* ToolApprovalRequestedPart
|
|
4392
|
+
* @description Tool part in approval-requested state (awaiting user decision).
|
|
4393
|
+
*/
|
|
4394
|
+
ToolApprovalRequestedPart: {
|
|
4395
|
+
/** Type */
|
|
4396
|
+
type: string;
|
|
4397
|
+
/** Toolcallid */
|
|
4398
|
+
toolCallId: string;
|
|
4399
|
+
/**
|
|
4400
|
+
* State
|
|
4401
|
+
* @default approval-requested
|
|
4402
|
+
* @constant
|
|
4403
|
+
*/
|
|
4404
|
+
state?: "approval-requested";
|
|
4405
|
+
/** Input */
|
|
4406
|
+
input?: unknown | null;
|
|
4407
|
+
/** Providerexecuted */
|
|
4408
|
+
providerExecuted?: boolean | null;
|
|
4409
|
+
/** Callprovidermetadata */
|
|
4410
|
+
callProviderMetadata?: {
|
|
4411
|
+
[key: string]: {
|
|
4412
|
+
[key: string]: unknown;
|
|
4413
|
+
};
|
|
4414
|
+
} | null;
|
|
4415
|
+
/** Approval */
|
|
4416
|
+
approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
|
|
4417
|
+
};
|
|
4418
|
+
/**
|
|
4419
|
+
* ToolApprovalResponded
|
|
4420
|
+
* @description Tool approval in responded state (user has approved or denied).
|
|
4421
|
+
*/
|
|
4422
|
+
ToolApprovalResponded: {
|
|
4423
|
+
/** Id */
|
|
4424
|
+
id: string;
|
|
4425
|
+
/** Approved */
|
|
4426
|
+
approved: boolean;
|
|
4427
|
+
/** Reason */
|
|
4428
|
+
reason?: string | null;
|
|
4429
|
+
};
|
|
4430
|
+
/**
|
|
4431
|
+
* ToolApprovalRespondedPart
|
|
4432
|
+
* @description Tool part in approval-responded state (user approved/denied, execution pending).
|
|
4433
|
+
*/
|
|
4434
|
+
ToolApprovalRespondedPart: {
|
|
4435
|
+
/** Type */
|
|
4436
|
+
type: string;
|
|
4437
|
+
/** Toolcallid */
|
|
4438
|
+
toolCallId: string;
|
|
4439
|
+
/**
|
|
4440
|
+
* State
|
|
4441
|
+
* @default approval-responded
|
|
4442
|
+
* @constant
|
|
4443
|
+
*/
|
|
4444
|
+
state?: "approval-responded";
|
|
4445
|
+
/** Input */
|
|
4446
|
+
input?: unknown | null;
|
|
4447
|
+
/** Providerexecuted */
|
|
4448
|
+
providerExecuted?: boolean | null;
|
|
4449
|
+
/** Callprovidermetadata */
|
|
4450
|
+
callProviderMetadata?: {
|
|
4451
|
+
[key: string]: {
|
|
4452
|
+
[key: string]: unknown;
|
|
4453
|
+
};
|
|
4454
|
+
} | null;
|
|
4455
|
+
/** Approval */
|
|
4456
|
+
approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
|
|
4457
|
+
};
|
|
3441
4458
|
/** ToolCallContentPart */
|
|
3442
4459
|
ToolCallContentPart: {
|
|
3443
4460
|
/**
|
|
@@ -3462,8 +4479,156 @@ export interface components {
|
|
|
3462
4479
|
/** Arguments */
|
|
3463
4480
|
arguments: string;
|
|
3464
4481
|
};
|
|
3465
|
-
/**
|
|
3466
|
-
|
|
4482
|
+
/**
|
|
4483
|
+
* ToolInputAvailablePart
|
|
4484
|
+
* @description Tool part in input-available state.
|
|
4485
|
+
*/
|
|
4486
|
+
ToolInputAvailablePart: {
|
|
4487
|
+
/** Type */
|
|
4488
|
+
type: string;
|
|
4489
|
+
/** Toolcallid */
|
|
4490
|
+
toolCallId: string;
|
|
4491
|
+
/**
|
|
4492
|
+
* State
|
|
4493
|
+
* @default input-available
|
|
4494
|
+
* @constant
|
|
4495
|
+
*/
|
|
4496
|
+
state?: "input-available";
|
|
4497
|
+
/** Input */
|
|
4498
|
+
input?: unknown | null;
|
|
4499
|
+
/** Providerexecuted */
|
|
4500
|
+
providerExecuted?: boolean | null;
|
|
4501
|
+
/** Callprovidermetadata */
|
|
4502
|
+
callProviderMetadata?: {
|
|
4503
|
+
[key: string]: {
|
|
4504
|
+
[key: string]: unknown;
|
|
4505
|
+
};
|
|
4506
|
+
} | null;
|
|
4507
|
+
/** Approval */
|
|
4508
|
+
approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
|
|
4509
|
+
};
|
|
4510
|
+
/**
|
|
4511
|
+
* ToolInputStreamingPart
|
|
4512
|
+
* @description Tool part in input-streaming state.
|
|
4513
|
+
*/
|
|
4514
|
+
ToolInputStreamingPart: {
|
|
4515
|
+
/** Type */
|
|
4516
|
+
type: string;
|
|
4517
|
+
/** Toolcallid */
|
|
4518
|
+
toolCallId: string;
|
|
4519
|
+
/**
|
|
4520
|
+
* State
|
|
4521
|
+
* @default input-streaming
|
|
4522
|
+
* @constant
|
|
4523
|
+
*/
|
|
4524
|
+
state?: "input-streaming";
|
|
4525
|
+
/** Input */
|
|
4526
|
+
input?: unknown | null;
|
|
4527
|
+
/** Providerexecuted */
|
|
4528
|
+
providerExecuted?: boolean | null;
|
|
4529
|
+
/** Callprovidermetadata */
|
|
4530
|
+
callProviderMetadata?: {
|
|
4531
|
+
[key: string]: {
|
|
4532
|
+
[key: string]: unknown;
|
|
4533
|
+
};
|
|
4534
|
+
} | null;
|
|
4535
|
+
/** Approval */
|
|
4536
|
+
approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
|
|
4537
|
+
};
|
|
4538
|
+
/**
|
|
4539
|
+
* ToolOutputAvailablePart
|
|
4540
|
+
* @description Tool part in output-available state.
|
|
4541
|
+
*/
|
|
4542
|
+
ToolOutputAvailablePart: {
|
|
4543
|
+
/** Type */
|
|
4544
|
+
type: string;
|
|
4545
|
+
/** Toolcallid */
|
|
4546
|
+
toolCallId: string;
|
|
4547
|
+
/**
|
|
4548
|
+
* State
|
|
4549
|
+
* @default output-available
|
|
4550
|
+
* @constant
|
|
4551
|
+
*/
|
|
4552
|
+
state?: "output-available";
|
|
4553
|
+
/** Input */
|
|
4554
|
+
input?: unknown | null;
|
|
4555
|
+
/** Output */
|
|
4556
|
+
output?: unknown | null;
|
|
4557
|
+
/** Providerexecuted */
|
|
4558
|
+
providerExecuted?: boolean | null;
|
|
4559
|
+
/** Callprovidermetadata */
|
|
4560
|
+
callProviderMetadata?: {
|
|
4561
|
+
[key: string]: {
|
|
4562
|
+
[key: string]: unknown;
|
|
4563
|
+
};
|
|
4564
|
+
} | null;
|
|
4565
|
+
/** Preliminary */
|
|
4566
|
+
preliminary?: boolean | null;
|
|
4567
|
+
/** Approval */
|
|
4568
|
+
approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
|
|
4569
|
+
};
|
|
4570
|
+
/**
|
|
4571
|
+
* ToolOutputDeniedPart
|
|
4572
|
+
* @description Tool part in output-denied state (tool was denied, terminal state).
|
|
4573
|
+
*/
|
|
4574
|
+
ToolOutputDeniedPart: {
|
|
4575
|
+
/** Type */
|
|
4576
|
+
type: string;
|
|
4577
|
+
/** Toolcallid */
|
|
4578
|
+
toolCallId: string;
|
|
4579
|
+
/**
|
|
4580
|
+
* State
|
|
4581
|
+
* @default output-denied
|
|
4582
|
+
* @constant
|
|
4583
|
+
*/
|
|
4584
|
+
state?: "output-denied";
|
|
4585
|
+
/** Input */
|
|
4586
|
+
input?: unknown | null;
|
|
4587
|
+
/** Providerexecuted */
|
|
4588
|
+
providerExecuted?: boolean | null;
|
|
4589
|
+
/** Callprovidermetadata */
|
|
4590
|
+
callProviderMetadata?: {
|
|
4591
|
+
[key: string]: {
|
|
4592
|
+
[key: string]: unknown;
|
|
4593
|
+
};
|
|
4594
|
+
} | null;
|
|
4595
|
+
/** Approval */
|
|
4596
|
+
approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
|
|
4597
|
+
};
|
|
4598
|
+
/**
|
|
4599
|
+
* ToolOutputErrorPart
|
|
4600
|
+
* @description Tool part in output-error state.
|
|
4601
|
+
*/
|
|
4602
|
+
ToolOutputErrorPart: {
|
|
4603
|
+
/** Type */
|
|
4604
|
+
type: string;
|
|
4605
|
+
/** Toolcallid */
|
|
4606
|
+
toolCallId: string;
|
|
4607
|
+
/**
|
|
4608
|
+
* State
|
|
4609
|
+
* @default output-error
|
|
4610
|
+
* @constant
|
|
4611
|
+
*/
|
|
4612
|
+
state?: "output-error";
|
|
4613
|
+
/** Input */
|
|
4614
|
+
input?: unknown | null;
|
|
4615
|
+
/** Rawinput */
|
|
4616
|
+
rawInput?: unknown | null;
|
|
4617
|
+
/** Errortext */
|
|
4618
|
+
errorText: string;
|
|
4619
|
+
/** Providerexecuted */
|
|
4620
|
+
providerExecuted?: boolean | null;
|
|
4621
|
+
/** Callprovidermetadata */
|
|
4622
|
+
callProviderMetadata?: {
|
|
4623
|
+
[key: string]: {
|
|
4624
|
+
[key: string]: unknown;
|
|
4625
|
+
};
|
|
4626
|
+
} | null;
|
|
4627
|
+
/** Approval */
|
|
4628
|
+
approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
|
|
4629
|
+
};
|
|
4630
|
+
/** ToolResultContentPart */
|
|
4631
|
+
ToolResultContentPart: {
|
|
3467
4632
|
/**
|
|
3468
4633
|
* @description discriminator enum property added by openapi-typescript
|
|
3469
4634
|
* @enum {string}
|
|
@@ -3570,6 +4735,18 @@ export interface components {
|
|
|
3570
4735
|
/** Next Cursor */
|
|
3571
4736
|
next_cursor: string | null;
|
|
3572
4737
|
};
|
|
4738
|
+
/** TraceContext */
|
|
4739
|
+
TraceContext: {
|
|
4740
|
+
/**
|
|
4741
|
+
* @description discriminator enum property added by openapi-typescript
|
|
4742
|
+
* @enum {string}
|
|
4743
|
+
*/
|
|
4744
|
+
type: "trace";
|
|
4745
|
+
/** Projectnodeid */
|
|
4746
|
+
projectNodeId: string;
|
|
4747
|
+
/** Oteltraceid */
|
|
4748
|
+
otelTraceId: string;
|
|
4749
|
+
};
|
|
3573
4750
|
/** TraceData */
|
|
3574
4751
|
TraceData: {
|
|
3575
4752
|
/** Id */
|
|
@@ -3588,6 +4765,24 @@ export interface components {
|
|
|
3588
4765
|
* Format: date-time
|
|
3589
4766
|
*/
|
|
3590
4767
|
end_time: string;
|
|
4768
|
+
/**
|
|
4769
|
+
* Token Count Prompt
|
|
4770
|
+
* @description Cumulative prompt token count across all spans in the trace.
|
|
4771
|
+
* @default 0
|
|
4772
|
+
*/
|
|
4773
|
+
token_count_prompt?: number;
|
|
4774
|
+
/**
|
|
4775
|
+
* Token Count Completion
|
|
4776
|
+
* @description Cumulative completion token count across all spans in the trace.
|
|
4777
|
+
* @default 0
|
|
4778
|
+
*/
|
|
4779
|
+
token_count_completion?: number;
|
|
4780
|
+
/**
|
|
4781
|
+
* Token Count Total
|
|
4782
|
+
* @description Cumulative total token count across all spans in the trace (prompt + completion).
|
|
4783
|
+
* @default 0
|
|
4784
|
+
*/
|
|
4785
|
+
token_count_total?: number;
|
|
3591
4786
|
/** Spans */
|
|
3592
4787
|
spans?: components["schemas"]["TraceSpanData"][] | null;
|
|
3593
4788
|
};
|
|
@@ -3629,6 +4824,23 @@ export interface components {
|
|
|
3629
4824
|
*/
|
|
3630
4825
|
end_time: string;
|
|
3631
4826
|
};
|
|
4827
|
+
/**
|
|
4828
|
+
* UIMessage
|
|
4829
|
+
* @description A message as displayed in the UI by Vercel AI Elements.
|
|
4830
|
+
*/
|
|
4831
|
+
UIMessage: {
|
|
4832
|
+
/** Id */
|
|
4833
|
+
id: string;
|
|
4834
|
+
/**
|
|
4835
|
+
* Role
|
|
4836
|
+
* @enum {string}
|
|
4837
|
+
*/
|
|
4838
|
+
role: "system" | "user" | "assistant";
|
|
4839
|
+
/** Metadata */
|
|
4840
|
+
metadata?: unknown | null;
|
|
4841
|
+
/** Parts */
|
|
4842
|
+
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"])[];
|
|
4843
|
+
};
|
|
3632
4844
|
/** UpdateAnnotationConfigResponseBody */
|
|
3633
4845
|
UpdateAnnotationConfigResponseBody: {
|
|
3634
4846
|
/** Data */
|
|
@@ -3753,6 +4965,32 @@ export interface components {
|
|
|
3753
4965
|
/** Context */
|
|
3754
4966
|
ctx?: Record<string, unknown>;
|
|
3755
4967
|
};
|
|
4968
|
+
/**
|
|
4969
|
+
* _SummarizeRequest
|
|
4970
|
+
* @description Body for POST /agents/{agent_id}/sessions/{session_id}/summary.
|
|
4971
|
+
*
|
|
4972
|
+
* Carries the Vercel-style messages array; the backend owns the prompt and
|
|
4973
|
+
* the structured-output tool schema.
|
|
4974
|
+
*/
|
|
4975
|
+
_SummarizeRequest: {
|
|
4976
|
+
/**
|
|
4977
|
+
* Ingesttraces
|
|
4978
|
+
* @default false
|
|
4979
|
+
*/
|
|
4980
|
+
ingestTraces?: boolean;
|
|
4981
|
+
/**
|
|
4982
|
+
* Exportremotetraces
|
|
4983
|
+
* @default false
|
|
4984
|
+
*/
|
|
4985
|
+
exportRemoteTraces?: boolean;
|
|
4986
|
+
/** Messages */
|
|
4987
|
+
messages: components["schemas"]["UIMessage"][];
|
|
4988
|
+
};
|
|
4989
|
+
/** _SummarizeResponse */
|
|
4990
|
+
_SummarizeResponse: {
|
|
4991
|
+
/** Summary */
|
|
4992
|
+
summary: string;
|
|
4993
|
+
};
|
|
3756
4994
|
};
|
|
3757
4995
|
responses: never;
|
|
3758
4996
|
parameters: never;
|
|
@@ -4037,6 +5275,67 @@ export interface operations {
|
|
|
4037
5275
|
};
|
|
4038
5276
|
};
|
|
4039
5277
|
};
|
|
5278
|
+
deleteSpanAnnotations: {
|
|
5279
|
+
parameters: {
|
|
5280
|
+
query?: {
|
|
5281
|
+
/** @description Optional annotation name. When provided, must be non-empty and narrows the delete to annotations of that name. */
|
|
5282
|
+
name?: string | null;
|
|
5283
|
+
/** @description Optional annotation identifier. When provided, must be non-empty and narrows the delete to annotations with that identifier. */
|
|
5284
|
+
identifier?: string | null;
|
|
5285
|
+
/** @description Optional annotator kind. When provided, narrows the delete to annotations produced by this annotator kind. */
|
|
5286
|
+
annotator_kind?: ("LLM" | "CODE" | "HUMAN") | null;
|
|
5287
|
+
/** @description Optional inclusive lower bound on `created_at` (>=). Naive datetimes are interpreted as UTC. */
|
|
5288
|
+
start_time?: string | null;
|
|
5289
|
+
/** @description Optional exclusive upper bound on `created_at` (<). Naive datetimes are interpreted as UTC. */
|
|
5290
|
+
end_time?: string | null;
|
|
5291
|
+
/** @description Opt-in flag that authorizes the request without a bounded `[start_time, end_time)` time window. When `false` (default) or absent, the request must supply both `start_time` AND `end_time` to bound the delete. When `true`, the time-range bound is waived and any other filters (`name`, `identifier`, `annotator_kind`) still narrow the delete within the project — e.g. `delete_all=true&name=X` deletes all annotations named X regardless of time. */
|
|
5292
|
+
delete_all?: boolean;
|
|
5293
|
+
};
|
|
5294
|
+
header?: never;
|
|
5295
|
+
path: {
|
|
5296
|
+
/** @description The project identifier: either project ID or project name. If using a project name as the identifier, it cannot contain slash (/), question mark (?), or pound sign (#) characters. */
|
|
5297
|
+
project_identifier: string;
|
|
5298
|
+
};
|
|
5299
|
+
cookie?: never;
|
|
5300
|
+
};
|
|
5301
|
+
requestBody?: never;
|
|
5302
|
+
responses: {
|
|
5303
|
+
/** @description Successful Response */
|
|
5304
|
+
204: {
|
|
5305
|
+
headers: {
|
|
5306
|
+
[name: string]: unknown;
|
|
5307
|
+
};
|
|
5308
|
+
content?: never;
|
|
5309
|
+
};
|
|
5310
|
+
/** @description Forbidden */
|
|
5311
|
+
403: {
|
|
5312
|
+
headers: {
|
|
5313
|
+
[name: string]: unknown;
|
|
5314
|
+
};
|
|
5315
|
+
content: {
|
|
5316
|
+
"text/plain": string;
|
|
5317
|
+
};
|
|
5318
|
+
};
|
|
5319
|
+
/** @description Project not found */
|
|
5320
|
+
404: {
|
|
5321
|
+
headers: {
|
|
5322
|
+
[name: string]: unknown;
|
|
5323
|
+
};
|
|
5324
|
+
content: {
|
|
5325
|
+
"text/plain": string;
|
|
5326
|
+
};
|
|
5327
|
+
};
|
|
5328
|
+
/** @description Invalid parameters */
|
|
5329
|
+
422: {
|
|
5330
|
+
headers: {
|
|
5331
|
+
[name: string]: unknown;
|
|
5332
|
+
};
|
|
5333
|
+
content: {
|
|
5334
|
+
"text/plain": string;
|
|
5335
|
+
};
|
|
5336
|
+
};
|
|
5337
|
+
};
|
|
5338
|
+
};
|
|
4040
5339
|
listTraceAnnotationsByTraceIds: {
|
|
4041
5340
|
parameters: {
|
|
4042
5341
|
query?: {
|
|
@@ -4100,6 +5399,67 @@ export interface operations {
|
|
|
4100
5399
|
};
|
|
4101
5400
|
};
|
|
4102
5401
|
};
|
|
5402
|
+
deleteTraceAnnotations: {
|
|
5403
|
+
parameters: {
|
|
5404
|
+
query?: {
|
|
5405
|
+
/** @description Optional annotation name. When provided, must be non-empty and narrows the delete to annotations of that name. */
|
|
5406
|
+
name?: string | null;
|
|
5407
|
+
/** @description Optional annotation identifier. When provided, must be non-empty and narrows the delete to annotations with that identifier. */
|
|
5408
|
+
identifier?: string | null;
|
|
5409
|
+
/** @description Optional annotator kind. When provided, narrows the delete to annotations produced by this annotator kind. */
|
|
5410
|
+
annotator_kind?: ("LLM" | "CODE" | "HUMAN") | null;
|
|
5411
|
+
/** @description Optional inclusive lower bound on `created_at` (>=). Naive datetimes are interpreted as UTC. */
|
|
5412
|
+
start_time?: string | null;
|
|
5413
|
+
/** @description Optional exclusive upper bound on `created_at` (<). Naive datetimes are interpreted as UTC. */
|
|
5414
|
+
end_time?: string | null;
|
|
5415
|
+
/** @description Opt-in flag that authorizes the request without a bounded `[start_time, end_time)` time window. When `false` (default) or absent, the request must supply both `start_time` AND `end_time` to bound the delete. When `true`, the time-range bound is waived and any other filters (`name`, `identifier`, `annotator_kind`) still narrow the delete within the project — e.g. `delete_all=true&name=X` deletes all annotations named X regardless of time. */
|
|
5416
|
+
delete_all?: boolean;
|
|
5417
|
+
};
|
|
5418
|
+
header?: never;
|
|
5419
|
+
path: {
|
|
5420
|
+
/** @description The project identifier: either project ID or project name. If using a project name as the identifier, it cannot contain slash (/), question mark (?), or pound sign (#) characters. */
|
|
5421
|
+
project_identifier: string;
|
|
5422
|
+
};
|
|
5423
|
+
cookie?: never;
|
|
5424
|
+
};
|
|
5425
|
+
requestBody?: never;
|
|
5426
|
+
responses: {
|
|
5427
|
+
/** @description Successful Response */
|
|
5428
|
+
204: {
|
|
5429
|
+
headers: {
|
|
5430
|
+
[name: string]: unknown;
|
|
5431
|
+
};
|
|
5432
|
+
content?: never;
|
|
5433
|
+
};
|
|
5434
|
+
/** @description Forbidden */
|
|
5435
|
+
403: {
|
|
5436
|
+
headers: {
|
|
5437
|
+
[name: string]: unknown;
|
|
5438
|
+
};
|
|
5439
|
+
content: {
|
|
5440
|
+
"text/plain": string;
|
|
5441
|
+
};
|
|
5442
|
+
};
|
|
5443
|
+
/** @description Project not found */
|
|
5444
|
+
404: {
|
|
5445
|
+
headers: {
|
|
5446
|
+
[name: string]: unknown;
|
|
5447
|
+
};
|
|
5448
|
+
content: {
|
|
5449
|
+
"text/plain": string;
|
|
5450
|
+
};
|
|
5451
|
+
};
|
|
5452
|
+
/** @description Invalid parameters */
|
|
5453
|
+
422: {
|
|
5454
|
+
headers: {
|
|
5455
|
+
[name: string]: unknown;
|
|
5456
|
+
};
|
|
5457
|
+
content: {
|
|
5458
|
+
"text/plain": string;
|
|
5459
|
+
};
|
|
5460
|
+
};
|
|
5461
|
+
};
|
|
5462
|
+
};
|
|
4103
5463
|
listSessionAnnotationsBySessionIds: {
|
|
4104
5464
|
parameters: {
|
|
4105
5465
|
query?: {
|
|
@@ -4163,6 +5523,67 @@ export interface operations {
|
|
|
4163
5523
|
};
|
|
4164
5524
|
};
|
|
4165
5525
|
};
|
|
5526
|
+
deleteSessionAnnotations: {
|
|
5527
|
+
parameters: {
|
|
5528
|
+
query?: {
|
|
5529
|
+
/** @description Optional annotation name. When provided, must be non-empty and narrows the delete to annotations of that name. */
|
|
5530
|
+
name?: string | null;
|
|
5531
|
+
/** @description Optional annotation identifier. When provided, must be non-empty and narrows the delete to annotations with that identifier. */
|
|
5532
|
+
identifier?: string | null;
|
|
5533
|
+
/** @description Optional annotator kind. When provided, narrows the delete to annotations produced by this annotator kind. */
|
|
5534
|
+
annotator_kind?: ("LLM" | "CODE" | "HUMAN") | null;
|
|
5535
|
+
/** @description Optional inclusive lower bound on `created_at` (>=). Naive datetimes are interpreted as UTC. */
|
|
5536
|
+
start_time?: string | null;
|
|
5537
|
+
/** @description Optional exclusive upper bound on `created_at` (<). Naive datetimes are interpreted as UTC. */
|
|
5538
|
+
end_time?: string | null;
|
|
5539
|
+
/** @description Opt-in flag that authorizes the request without a bounded `[start_time, end_time)` time window. When `false` (default) or absent, the request must supply both `start_time` AND `end_time` to bound the delete. When `true`, the time-range bound is waived and any other filters (`name`, `identifier`, `annotator_kind`) still narrow the delete within the project — e.g. `delete_all=true&name=X` deletes all annotations named X regardless of time. */
|
|
5540
|
+
delete_all?: boolean;
|
|
5541
|
+
};
|
|
5542
|
+
header?: never;
|
|
5543
|
+
path: {
|
|
5544
|
+
/** @description The project identifier: either project ID or project name. If using a project name as the identifier, it cannot contain slash (/), question mark (?), or pound sign (#) characters. */
|
|
5545
|
+
project_identifier: string;
|
|
5546
|
+
};
|
|
5547
|
+
cookie?: never;
|
|
5548
|
+
};
|
|
5549
|
+
requestBody?: never;
|
|
5550
|
+
responses: {
|
|
5551
|
+
/** @description Successful Response */
|
|
5552
|
+
204: {
|
|
5553
|
+
headers: {
|
|
5554
|
+
[name: string]: unknown;
|
|
5555
|
+
};
|
|
5556
|
+
content?: never;
|
|
5557
|
+
};
|
|
5558
|
+
/** @description Forbidden */
|
|
5559
|
+
403: {
|
|
5560
|
+
headers: {
|
|
5561
|
+
[name: string]: unknown;
|
|
5562
|
+
};
|
|
5563
|
+
content: {
|
|
5564
|
+
"text/plain": string;
|
|
5565
|
+
};
|
|
5566
|
+
};
|
|
5567
|
+
/** @description Project not found */
|
|
5568
|
+
404: {
|
|
5569
|
+
headers: {
|
|
5570
|
+
[name: string]: unknown;
|
|
5571
|
+
};
|
|
5572
|
+
content: {
|
|
5573
|
+
"text/plain": string;
|
|
5574
|
+
};
|
|
5575
|
+
};
|
|
5576
|
+
/** @description Invalid parameters */
|
|
5577
|
+
422: {
|
|
5578
|
+
headers: {
|
|
5579
|
+
[name: string]: unknown;
|
|
5580
|
+
};
|
|
5581
|
+
content: {
|
|
5582
|
+
"text/plain": string;
|
|
5583
|
+
};
|
|
5584
|
+
};
|
|
5585
|
+
};
|
|
5586
|
+
};
|
|
4166
5587
|
listDatasets: {
|
|
4167
5588
|
parameters: {
|
|
4168
5589
|
query?: {
|
|
@@ -7153,4 +8574,374 @@ export interface operations {
|
|
|
7153
8574
|
};
|
|
7154
8575
|
};
|
|
7155
8576
|
};
|
|
8577
|
+
_login_auth_login_post: {
|
|
8578
|
+
parameters: {
|
|
8579
|
+
query?: never;
|
|
8580
|
+
header?: never;
|
|
8581
|
+
path?: never;
|
|
8582
|
+
cookie?: never;
|
|
8583
|
+
};
|
|
8584
|
+
requestBody?: never;
|
|
8585
|
+
responses: {
|
|
8586
|
+
/** @description Successful Response */
|
|
8587
|
+
200: {
|
|
8588
|
+
headers: {
|
|
8589
|
+
[name: string]: unknown;
|
|
8590
|
+
};
|
|
8591
|
+
content: {
|
|
8592
|
+
"application/json": unknown;
|
|
8593
|
+
};
|
|
8594
|
+
};
|
|
8595
|
+
};
|
|
8596
|
+
};
|
|
8597
|
+
_logout_auth_logout_get: {
|
|
8598
|
+
parameters: {
|
|
8599
|
+
query?: never;
|
|
8600
|
+
header?: never;
|
|
8601
|
+
path?: never;
|
|
8602
|
+
cookie?: never;
|
|
8603
|
+
};
|
|
8604
|
+
requestBody?: never;
|
|
8605
|
+
responses: {
|
|
8606
|
+
/** @description Successful Response */
|
|
8607
|
+
200: {
|
|
8608
|
+
headers: {
|
|
8609
|
+
[name: string]: unknown;
|
|
8610
|
+
};
|
|
8611
|
+
content: {
|
|
8612
|
+
"application/json": unknown;
|
|
8613
|
+
};
|
|
8614
|
+
};
|
|
8615
|
+
};
|
|
8616
|
+
};
|
|
8617
|
+
_refresh_tokens_auth_refresh_post: {
|
|
8618
|
+
parameters: {
|
|
8619
|
+
query?: never;
|
|
8620
|
+
header?: never;
|
|
8621
|
+
path?: never;
|
|
8622
|
+
cookie?: never;
|
|
8623
|
+
};
|
|
8624
|
+
requestBody?: never;
|
|
8625
|
+
responses: {
|
|
8626
|
+
/** @description Successful Response */
|
|
8627
|
+
200: {
|
|
8628
|
+
headers: {
|
|
8629
|
+
[name: string]: unknown;
|
|
8630
|
+
};
|
|
8631
|
+
content: {
|
|
8632
|
+
"application/json": unknown;
|
|
8633
|
+
};
|
|
8634
|
+
};
|
|
8635
|
+
};
|
|
8636
|
+
};
|
|
8637
|
+
_initiate_password_reset_auth_password_reset_email_post: {
|
|
8638
|
+
parameters: {
|
|
8639
|
+
query?: never;
|
|
8640
|
+
header?: never;
|
|
8641
|
+
path?: never;
|
|
8642
|
+
cookie?: never;
|
|
8643
|
+
};
|
|
8644
|
+
requestBody?: never;
|
|
8645
|
+
responses: {
|
|
8646
|
+
/** @description Successful Response */
|
|
8647
|
+
200: {
|
|
8648
|
+
headers: {
|
|
8649
|
+
[name: string]: unknown;
|
|
8650
|
+
};
|
|
8651
|
+
content: {
|
|
8652
|
+
"application/json": unknown;
|
|
8653
|
+
};
|
|
8654
|
+
};
|
|
8655
|
+
};
|
|
8656
|
+
};
|
|
8657
|
+
_reset_password_auth_password_reset_post: {
|
|
8658
|
+
parameters: {
|
|
8659
|
+
query?: never;
|
|
8660
|
+
header?: never;
|
|
8661
|
+
path?: never;
|
|
8662
|
+
cookie?: never;
|
|
8663
|
+
};
|
|
8664
|
+
requestBody?: never;
|
|
8665
|
+
responses: {
|
|
8666
|
+
/** @description Successful Response */
|
|
8667
|
+
200: {
|
|
8668
|
+
headers: {
|
|
8669
|
+
[name: string]: unknown;
|
|
8670
|
+
};
|
|
8671
|
+
content: {
|
|
8672
|
+
"application/json": unknown;
|
|
8673
|
+
};
|
|
8674
|
+
};
|
|
8675
|
+
};
|
|
8676
|
+
};
|
|
8677
|
+
_ldap_login_auth_ldap_login_post: {
|
|
8678
|
+
parameters: {
|
|
8679
|
+
query?: never;
|
|
8680
|
+
header?: never;
|
|
8681
|
+
path?: never;
|
|
8682
|
+
cookie?: never;
|
|
8683
|
+
};
|
|
8684
|
+
requestBody?: never;
|
|
8685
|
+
responses: {
|
|
8686
|
+
/** @description Successful Response */
|
|
8687
|
+
200: {
|
|
8688
|
+
headers: {
|
|
8689
|
+
[name: string]: unknown;
|
|
8690
|
+
};
|
|
8691
|
+
content: {
|
|
8692
|
+
"application/json": unknown;
|
|
8693
|
+
};
|
|
8694
|
+
};
|
|
8695
|
+
};
|
|
8696
|
+
};
|
|
8697
|
+
login_oauth2__idp_name__login_get: {
|
|
8698
|
+
parameters: {
|
|
8699
|
+
query?: {
|
|
8700
|
+
returnUrl?: string | null;
|
|
8701
|
+
};
|
|
8702
|
+
header?: never;
|
|
8703
|
+
path: {
|
|
8704
|
+
idp_name: string;
|
|
8705
|
+
};
|
|
8706
|
+
cookie?: never;
|
|
8707
|
+
};
|
|
8708
|
+
requestBody?: never;
|
|
8709
|
+
responses: {
|
|
8710
|
+
/** @description Successful Response */
|
|
8711
|
+
200: {
|
|
8712
|
+
headers: {
|
|
8713
|
+
[name: string]: unknown;
|
|
8714
|
+
};
|
|
8715
|
+
content: {
|
|
8716
|
+
"application/json": unknown;
|
|
8717
|
+
};
|
|
8718
|
+
};
|
|
8719
|
+
/** @description Validation Error */
|
|
8720
|
+
422: {
|
|
8721
|
+
headers: {
|
|
8722
|
+
[name: string]: unknown;
|
|
8723
|
+
};
|
|
8724
|
+
content: {
|
|
8725
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
8726
|
+
};
|
|
8727
|
+
};
|
|
8728
|
+
};
|
|
8729
|
+
};
|
|
8730
|
+
login_oauth2__idp_name__login_post: {
|
|
8731
|
+
parameters: {
|
|
8732
|
+
query?: {
|
|
8733
|
+
returnUrl?: string | null;
|
|
8734
|
+
};
|
|
8735
|
+
header?: never;
|
|
8736
|
+
path: {
|
|
8737
|
+
idp_name: string;
|
|
8738
|
+
};
|
|
8739
|
+
cookie?: never;
|
|
8740
|
+
};
|
|
8741
|
+
requestBody?: never;
|
|
8742
|
+
responses: {
|
|
8743
|
+
/** @description Successful Response */
|
|
8744
|
+
200: {
|
|
8745
|
+
headers: {
|
|
8746
|
+
[name: string]: unknown;
|
|
8747
|
+
};
|
|
8748
|
+
content: {
|
|
8749
|
+
"application/json": unknown;
|
|
8750
|
+
};
|
|
8751
|
+
};
|
|
8752
|
+
/** @description Validation Error */
|
|
8753
|
+
422: {
|
|
8754
|
+
headers: {
|
|
8755
|
+
[name: string]: unknown;
|
|
8756
|
+
};
|
|
8757
|
+
content: {
|
|
8758
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
8759
|
+
};
|
|
8760
|
+
};
|
|
8761
|
+
};
|
|
8762
|
+
};
|
|
8763
|
+
create_tokens_oauth2__idp_name__tokens_get: {
|
|
8764
|
+
parameters: {
|
|
8765
|
+
query: {
|
|
8766
|
+
state: string;
|
|
8767
|
+
code?: string | null;
|
|
8768
|
+
error?: string | null;
|
|
8769
|
+
error_description?: string | null;
|
|
8770
|
+
};
|
|
8771
|
+
header?: never;
|
|
8772
|
+
path: {
|
|
8773
|
+
idp_name: string;
|
|
8774
|
+
};
|
|
8775
|
+
cookie: {
|
|
8776
|
+
"phoenix-oauth2-state": string;
|
|
8777
|
+
"phoenix-oauth2-nonce": string;
|
|
8778
|
+
"phoenix-oauth2-code-verifier"?: string | null;
|
|
8779
|
+
};
|
|
8780
|
+
};
|
|
8781
|
+
requestBody?: never;
|
|
8782
|
+
responses: {
|
|
8783
|
+
/** @description Successful Response */
|
|
8784
|
+
200: {
|
|
8785
|
+
headers: {
|
|
8786
|
+
[name: string]: unknown;
|
|
8787
|
+
};
|
|
8788
|
+
content: {
|
|
8789
|
+
"application/json": unknown;
|
|
8790
|
+
};
|
|
8791
|
+
};
|
|
8792
|
+
/** @description Validation Error */
|
|
8793
|
+
422: {
|
|
8794
|
+
headers: {
|
|
8795
|
+
[name: string]: unknown;
|
|
8796
|
+
};
|
|
8797
|
+
content: {
|
|
8798
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
8799
|
+
};
|
|
8800
|
+
};
|
|
8801
|
+
};
|
|
8802
|
+
};
|
|
8803
|
+
chat_agents__agent_id__sessions__session_id__chat_post: {
|
|
8804
|
+
parameters: {
|
|
8805
|
+
query: {
|
|
8806
|
+
provider_type: "custom" | "builtin";
|
|
8807
|
+
model_name: string;
|
|
8808
|
+
provider_id?: string | null;
|
|
8809
|
+
provider?: components["schemas"]["ModelProvider"] | null;
|
|
8810
|
+
openai_api_type?: "chat_completions" | "responses";
|
|
8811
|
+
};
|
|
8812
|
+
header?: never;
|
|
8813
|
+
path: {
|
|
8814
|
+
agent_id: string;
|
|
8815
|
+
session_id: string;
|
|
8816
|
+
};
|
|
8817
|
+
cookie?: never;
|
|
8818
|
+
};
|
|
8819
|
+
requestBody: {
|
|
8820
|
+
content: {
|
|
8821
|
+
"application/json": components["schemas"]["ChatRequest"];
|
|
8822
|
+
};
|
|
8823
|
+
};
|
|
8824
|
+
responses: {
|
|
8825
|
+
/** @description Vercel-AI-style SSE stream. The turn ends with a `message-metadata` chunk whose `messageMetadata` payload matches `AssistantMessageMetadata`. Declared here so the model is included in the generated OpenAPI components. */
|
|
8826
|
+
200: {
|
|
8827
|
+
headers: {
|
|
8828
|
+
[name: string]: unknown;
|
|
8829
|
+
};
|
|
8830
|
+
content: {
|
|
8831
|
+
"application/json": components["schemas"]["AssistantMessageMetadata"];
|
|
8832
|
+
};
|
|
8833
|
+
};
|
|
8834
|
+
/** @description Validation Error */
|
|
8835
|
+
422: {
|
|
8836
|
+
headers: {
|
|
8837
|
+
[name: string]: unknown;
|
|
8838
|
+
};
|
|
8839
|
+
content: {
|
|
8840
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
8841
|
+
};
|
|
8842
|
+
};
|
|
8843
|
+
};
|
|
8844
|
+
};
|
|
8845
|
+
summarize_endpoint_agents__agent_id__sessions__session_id__summary_post: {
|
|
8846
|
+
parameters: {
|
|
8847
|
+
query: {
|
|
8848
|
+
provider_type: "custom" | "builtin";
|
|
8849
|
+
model_name: string;
|
|
8850
|
+
provider_id?: string | null;
|
|
8851
|
+
provider?: components["schemas"]["ModelProvider"] | null;
|
|
8852
|
+
openai_api_type?: "chat_completions" | "responses";
|
|
8853
|
+
};
|
|
8854
|
+
header?: never;
|
|
8855
|
+
path: {
|
|
8856
|
+
agent_id: string;
|
|
8857
|
+
session_id: string;
|
|
8858
|
+
};
|
|
8859
|
+
cookie?: never;
|
|
8860
|
+
};
|
|
8861
|
+
requestBody: {
|
|
8862
|
+
content: {
|
|
8863
|
+
"application/json": components["schemas"]["_SummarizeRequest"];
|
|
8864
|
+
};
|
|
8865
|
+
};
|
|
8866
|
+
responses: {
|
|
8867
|
+
/** @description Successful Response */
|
|
8868
|
+
200: {
|
|
8869
|
+
headers: {
|
|
8870
|
+
[name: string]: unknown;
|
|
8871
|
+
};
|
|
8872
|
+
content: {
|
|
8873
|
+
"application/json": components["schemas"]["_SummarizeResponse"];
|
|
8874
|
+
};
|
|
8875
|
+
};
|
|
8876
|
+
/** @description Validation Error */
|
|
8877
|
+
422: {
|
|
8878
|
+
headers: {
|
|
8879
|
+
[name: string]: unknown;
|
|
8880
|
+
};
|
|
8881
|
+
content: {
|
|
8882
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
8883
|
+
};
|
|
8884
|
+
};
|
|
8885
|
+
};
|
|
8886
|
+
};
|
|
8887
|
+
version_arize_phoenix_version_get: {
|
|
8888
|
+
parameters: {
|
|
8889
|
+
query?: never;
|
|
8890
|
+
header?: never;
|
|
8891
|
+
path?: never;
|
|
8892
|
+
cookie?: never;
|
|
8893
|
+
};
|
|
8894
|
+
requestBody?: never;
|
|
8895
|
+
responses: {
|
|
8896
|
+
/** @description Successful Response */
|
|
8897
|
+
200: {
|
|
8898
|
+
headers: {
|
|
8899
|
+
[name: string]: unknown;
|
|
8900
|
+
};
|
|
8901
|
+
content: {
|
|
8902
|
+
"application/json": unknown;
|
|
8903
|
+
};
|
|
8904
|
+
};
|
|
8905
|
+
};
|
|
8906
|
+
};
|
|
8907
|
+
check_healthz_healthz_get: {
|
|
8908
|
+
parameters: {
|
|
8909
|
+
query?: never;
|
|
8910
|
+
header?: never;
|
|
8911
|
+
path?: never;
|
|
8912
|
+
cookie?: never;
|
|
8913
|
+
};
|
|
8914
|
+
requestBody?: never;
|
|
8915
|
+
responses: {
|
|
8916
|
+
/** @description Successful Response */
|
|
8917
|
+
200: {
|
|
8918
|
+
headers: {
|
|
8919
|
+
[name: string]: unknown;
|
|
8920
|
+
};
|
|
8921
|
+
content: {
|
|
8922
|
+
"application/json": unknown;
|
|
8923
|
+
};
|
|
8924
|
+
};
|
|
8925
|
+
};
|
|
8926
|
+
};
|
|
8927
|
+
check_readyz_readyz_get: {
|
|
8928
|
+
parameters: {
|
|
8929
|
+
query?: never;
|
|
8930
|
+
header?: never;
|
|
8931
|
+
path?: never;
|
|
8932
|
+
cookie?: never;
|
|
8933
|
+
};
|
|
8934
|
+
requestBody?: never;
|
|
8935
|
+
responses: {
|
|
8936
|
+
/** @description Successful Response */
|
|
8937
|
+
200: {
|
|
8938
|
+
headers: {
|
|
8939
|
+
[name: string]: unknown;
|
|
8940
|
+
};
|
|
8941
|
+
content: {
|
|
8942
|
+
"application/json": unknown;
|
|
8943
|
+
};
|
|
8944
|
+
};
|
|
8945
|
+
};
|
|
8946
|
+
};
|
|
7156
8947
|
}
|