Request
Fields
The project the traces belong to. Mirrors are built per project, so keep one project per agent.
A batch of traces. Each trace has an
id (string, unique per trace), an optional model, and messages — an OpenAI-style chat array (system / user / assistant / tool roles, with tool_calls on assistant messages and tool_call_id on tool results).Behavior
- Batching is up to you; the official collectors default to 50 traces per POST, flushed every 2 seconds.
- Requests are authenticated by workspace key; traces land in that workspace under
project. - The collectors retry failed batches (non-2xx / network errors) a couple of times, then drop them — ingest is designed to never break the instrumented app.
