{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/beatra-ai/json-schema/beatra-ai-app-api-v1-schemas-tasks-task-list-response-schema.json",
  "title": "TaskListResponse",
  "description": "List response wrapper. Uses TaskSummary by default.\n\nClients can opt-in to richer detail via `?expand=output,usage,billing,callback,input`\nor `?expand=all`. When expand is in effect, items become full TaskEnvelope.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/beatra-ai-tasks-api-openapi.yml#/components/schemas/app__api__v1__schemas__tasks__TaskListResponse",
  "properties": {
    "object": {
      "type": "string",
      "const": "list",
      "title": "Object",
      "default": "list"
    },
    "data": {
      "items": {
        "additionalProperties": true,
        "type": "object"
      },
      "type": "array",
      "title": "Data",
      "description": "TaskSummary[] by default; TaskEnvelope[] with expand"
    },
    "next_cursor": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Next Cursor"
    },
    "has_more": {
      "type": "boolean",
      "title": "Has More",
      "default": false
    }
  },
  "type": "object",
  "required": [
    "data"
  ]
}