{"format":"AgentTrajectory","upload_accepts":["a single trajectory JSON object","a JSON array of trajectory objects","JSON Lines: one trajectory object per line (.jsonl)","known agent-log formats auto-converted server-side: messages, conversations, event lists, OpenAI Agents spans, CrewAI events, LangGraph callbacks, WebShop logs, AgentErrorBench rows","anything else JSON-shaped: an LLM converter maps it onto AgentTrajectory on a best-effort basis"],"required_fields":{"trajectory":["trace_id","events"],"event":["trace_id (must equal the trajectory trace_id)"]},"event_types":["run.start","run.end","agent.step","llm.call","llm.response","tool.call","tool.result","memory.read","memory.write","reflection","plan","handoff","guardrail","observation","error","human.feedback"],"example":{"trace_id":"my_run_001","goal":"Book a refundable flight to Paris","framework":"my-agent","metadata":{"any":"extra info"},"events":[{"trace_id":"my_run_001","event_id":"evt_1","agent_name":"planner","event_type":"plan","step_index":0,"input":"user request...","output":"Search flights, then compare fares."},{"trace_id":"my_run_001","event_id":"evt_2","agent_name":"browser","event_type":"tool.result","step_index":1,"input":{"tool":"open_url","url":"https://..."},"output":null,"error":"Timeout while loading checkout"}]},"json_schema":{"$defs":{"AgentEvent":{"description":"A normalized event emitted by an agentic system.","properties":{"event_id":{"title":"Event Id","type":"string"},"trace_id":{"title":"Trace Id","type":"string"},"parent_event_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Parent Event Id"},"agent_name":{"default":"agent","title":"Agent Name","type":"string"},"event_type":{"$ref":"#/$defs/EventType","default":"agent.step"},"module":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Module"},"step_index":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Step Index"},"timestamp":{"format":"date-time","title":"Timestamp","type":"string"},"input":{"default":null,"title":"Input"},"output":{"default":null,"title":"Output"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Error"},"duration_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Duration Ms"},"metadata":{"additionalProperties":true,"title":"Metadata","type":"object"},"artifacts":{"items":{"$ref":"#/$defs/Artifact"},"title":"Artifacts","type":"array"}},"required":["trace_id"],"title":"AgentEvent","type":"object"},"Artifact":{"description":"A payload linked to an event, including multimodal evidence.","properties":{"uri":{"title":"Uri","type":"string"},"modality":{"$ref":"#/$defs/Modality","default":"other"},"media_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Media Type"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Description"},"metadata":{"additionalProperties":true,"title":"Metadata","type":"object"}},"required":["uri"],"title":"Artifact","type":"object"},"EventType":{"enum":["run.start","run.end","agent.step","llm.call","llm.response","tool.call","tool.result","memory.read","memory.write","reflection","plan","handoff","guardrail","observation","error","human.feedback"],"title":"EventType","type":"string"},"Modality":{"enum":["text","image","audio","video","ui","file","tool","state","other"],"title":"Modality","type":"string"}},"description":"Portable trajectory IR for single-agent and multi-agent runs.","properties":{"trace_id":{"title":"Trace Id","type":"string"},"task_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Task Id"},"goal":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Goal"},"framework":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Framework"},"started_at":{"format":"date-time","title":"Started At","type":"string"},"ended_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"default":null,"title":"Ended At"},"metadata":{"additionalProperties":true,"title":"Metadata","type":"object"},"events":{"items":{"$ref":"#/$defs/AgentEvent"},"title":"Events","type":"array"}},"title":"AgentTrajectory","type":"object"},"limits":{"max_upload_bytes":26214400,"encoding":"utf-8"}}