Upload Session
agent_traces
Upload Session
Overwrite the stored JSONL for this session.
Body is raw NDJSON; the CLI sends the entire local session file each call. Content-Length is checked before the body is read so oversized requests are rejected without buffering bytes.
PUT
Upload Session
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Root session id in the recursion tree.
Parent session id if this is a sub-agent session.
Working directory the agent was launched from.
prime-agent version string.