Ingest Runs (Multipart)
Changed onIngests multiple runs, feedback objects, and binary attachments in a single multipart/form-data request. Part‑name pattern: <event>.<run_id>[.<field>] where event ∈ {post, patch, feedback, attachment}.
- post|patch.<run_id> – JSON run payload.
- post|patch.<run_id>.<field> – out‑of‑band run data (inputs, outputs, events, error, extra, serialized).
- feedback.<run_id> – JSON feedback payload (must include trace_id and session_id).
- attachment.<run_id>.<filename> – arbitrary binary attachment stored in S3. Headers: every part must set Content-Type and either a Content-Length header or length parameter. Per‑part Content-Encoding is not allowed; the top‑level request may be Content-Encoding: gzip or Content-Encoding: zstd. Best performance for high‑volume ingestion.
Request
- Base URLhttps://api.smith.langchain.com
- URLhttps://api.smith.langchain.com/api/v1/runs/multipart
- Auth
- API key in header X-API-Key
- or API key in header X-Tenant-Id
- or HTTP bearer
Request body multipart/form-data
Response
Accepted
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_multipart_proxy_api_v1_runs_multipart_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
- info
added the non-success response with the status
- breaking
- info
endpoint added
- info