Get a conversation with full message history. Returns 404 if not found or not owned.
cURL
curl --request GET \ --url https://api.zo.computer/conversations/{conversation_id} \ --header 'Authorization: Bearer <token>'
{ "conversation": { "id": "<string>", "user_id": "<string>", "host_id": "<string>", "title": "<string>", "type": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "deleted_at": "2023-11-07T05:31:56Z", "metadata": {} }, "messages": [ { "kind": "request", "parts": [ { "part_kind": "<string>", "content": "<string>", "tool_name": "<string>", "tool_call_id": "<string>", "args": "<string>", "timestamp": "2023-11-07T05:31:56Z" } ], "timestamp": "2023-11-07T05:31:56Z", "model_name": "<string>", "persona_id": "<string>", "persona_name": "<string>", "persona_image": "<string>", "input_tokens": 123, "output_tokens": 123, "cache_read_tokens": 123, "cache_write_tokens": 123, "metadata": {} } ], "state": "idle" }
Zo API key (zo_sk_...)
Successful Response
Response for GET /conversations/{conversation_id}.
Conversation metadata
Show child attributes
Full message history
Current conversation state. 'running' means agent is actively streaming.
idle
running
stopping