{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/call2me-app/json-schema/call2me-app-src-routers-v1-copilot-session-list-schema.json",
  "title": "SessionList",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/call2me-app-copilot-api-openapi.yml#/components/schemas/src__routers__v1__copilot__SessionList",
  "properties": {
    "sessions": {
      "items": {
        "$ref": "#/$defs/CopilotSession"
      },
      "type": "array",
      "title": "Sessions"
    },
    "total": {
      "type": "integer",
      "title": "Total"
    }
  },
  "type": "object",
  "required": [
    "sessions",
    "total"
  ],
  "$defs": {
    "CopilotSession": {
      "properties": {
        "session_id": {
          "type": "string",
          "title": "Session Id"
        },
        "title": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Title"
        },
        "status": {
          "type": "string",
          "title": "Status"
        },
        "message_count": {
          "type": "integer",
          "title": "Message Count"
        },
        "total_cost_usd": {
          "type": "number",
          "title": "Total Cost Usd"
        },
        "created_at": {
          "type": "string",
          "title": "Created At"
        },
        "updated_at": {
          "type": "string",
          "title": "Updated At"
        }
      },
      "type": "object",
      "required": [
        "session_id",
        "title",
        "status",
        "message_count",
        "total_cost_usd",
        "created_at",
        "updated_at"
      ],
      "title": "CopilotSession"
    }
  }
}