Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
List and retrieve session recordings
curl -H "X-API-Key: sk_live_your_key_here" \ "https://api.prod.turen.io/api/v1/sessions?limit=20"
limit
offset
agent_id
client_id
project
git_branch
date
tz
include_subagents
{ "sessions": [ { "id": 123, "session_id": "sess_abc123", "client_id": "a1b2c3d4e5f67890", "agent_hostname": "johns-macbook-pro", "project_path": "/Users/john/project", "first_prompt": "Help me refactor the auth module", "git_branch": "feature/auth-refactor", "message_count": 23, "created_at": "2026-02-17T09:00:00Z", "modified_at": "2026-02-17T09:45:00Z", "uploaded_at": "2026-02-17T09:46:00Z", "size_bytes": 45200, "is_subagent": false, "subagent_count": 2 } ], "pagination": { "limit": 20, "offset": 0, "total": 847, "has_more": true } }
id
session_id
agent_hostname
project_path
first_prompt
message_count
created_at
modified_at
uploaded_at
size_bytes
is_subagent
subagent_count
curl -H "X-API-Key: sk_live_your_key_here" \ https://api.prod.turen.io/api/v1/sessions/{id}
curl -H "X-API-Key: sk_live_your_key_here" \ https://api.prod.turen.io/api/v1/sessions/{id}/content
{ "session_id": "sess_abc123", "message_count": 23, "messages": [ {"type": "user", "content": "Help me refactor the auth module", "timestamp": "2026-02-17T09:00:01Z"}, {"type": "assistant", "content": "I'll start by reading the current auth implementation...", "timestamp": "2026-02-17T09:00:03Z"}, {"type": "tool_use", "tool": "file_read", "path": "src/auth/index.ts", "timestamp": "2026-02-17T09:00:04Z"} ] }
curl -H "X-API-Key: sk_live_your_key_here" \ "https://api.prod.turen.io/api/v1/sessions/calendar?since=2026-02-01&until=2026-02-28"
{ "days": [ {"date": "2026-02-01", "count": 12}, {"date": "2026-02-02", "count": 0}, {"date": "2026-02-03", "count": 28} ], "total_count": 40 }
curl -H "X-API-Key: sk_live_your_key_here" \ https://api.prod.turen.io/api/v1/sessions/clients