Call Start Batch
POST/call/upsert_batch
Call Start Batch
Request
- application/json
Body
required
Array [
- CallBatchStartMode
- CallBatchEndMode
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
]
batch
object[]
required
anyOf
Default value: start
req
object
required
start
object
required
id
object
anyOf
string
display_name
object
anyOf
string
trace_id
object
anyOf
string
parent_id
object
anyOf
string
wb_user_id
object
Do not set directly. Server will automatically populate this field.
anyOf
string
wb_run_id
object
anyOf
string
Default value: end
req
object
required
end
object
required
exception
object
anyOf
string
summary
object
required
usage
object
property name*
LLMUsageSchema
prompt_tokens
object
anyOf
integer
input_tokens
object
anyOf
integer
completion_tokens
object
anyOf
integer
output_tokens
object
anyOf
integer
requests
object
anyOf
integer
total_tokens
object
anyOf
integer
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
Array [
- CallStartRes
- CallEndRes
]
res
object[]
required
anyOf
{
"res": [
{},
{}
]
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}