Ingest Runs (Batch JSON)
Changed onIngests a batch of runs in a single JSON payload. The payload must have post and/or patch arrays containing run objects. Prefer this endpoint over single‑run ingestion when submitting hundreds of runs, but /runs/multipart offers better handling for very large fields and attachments.
Request
- Base URLhttps://api.smith.langchain.com
- URLhttps://api.smith.langchain.com/api/v1/runs/batch
- Auth
- API key in header X-API-Key
- or API key in header X-Tenant-Id
- or HTTP bearer
Request body
Example request
{
"patch": [
{
"address": "lrn:agents/support-agent/environments/production"
}
],
"post": [
{
"address": "lrn:agents/support-agent/environments/production"
}
]
}Changes
- breaking
added required request body
- breaking
the response's body type changed from no type to
objectfor status - info
api operation id
create_runs_batch_proxy_api_v1_runs_batch_postremoved and replaced with - info
api tag
runsadded - info
api tag
runremoved - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- breaking
- info
endpoint added
- info