{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "AgentSessionIndex", "description": "Representation of an agent session returned in a list or after creation", "type": "object", "properties": { "id": { "type": "integer", "format": "int64" }, "slug": { "type": "string" }, "title": { "type": "string" }, "tool_name": { "type": "string", "description": "Tool that produced the session (e.g. claude_code, codex)" }, "total_messages": { "type": "integer", "format": "int32" }, "published": { "type": "boolean" }, "created_at": { "type": "string", "format": "date-time" }, "updated_at": { "type": "string", "format": "date-time" }, "url": { "type": "string", "format": "url" } }, "required": [ "id", "slug", "title", "tool_name", "total_messages", "published", "created_at", "url" ] }