{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/algenta-ai/json-schema/algenta-ai-agent-run-checkpoint-list-response-schema.json",
  "title": "AgentRunCheckpointListResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/algenta-ai-agent-runtime-api-openapi.yml#/components/schemas/AgentRunCheckpointListResponse",
  "properties": {
    "object": {
      "type": "string",
      "title": "Object",
      "default": "list"
    },
    "data": {
      "items": {
        "$ref": "#/$defs/AgentRunCheckpointListResource"
      },
      "type": "array",
      "title": "Data"
    },
    "total": {
      "type": "integer",
      "minimum": 0.0,
      "title": "Total"
    },
    "page": {
      "type": "integer",
      "minimum": 1.0,
      "title": "Page"
    },
    "limit": {
      "type": "integer",
      "minimum": 1.0,
      "title": "Limit"
    },
    "pages": {
      "type": "integer",
      "minimum": 1.0,
      "title": "Pages"
    }
  },
  "type": "object",
  "required": [
    "data",
    "total",
    "page",
    "limit",
    "pages"
  ],
  "$defs": {
    "AgentRunCheckpointListResource": {
      "properties": {
        "checkpoint_id": {
          "type": "string",
          "title": "Checkpoint Id"
        },
        "checkpoint_index": {
          "type": "integer",
          "minimum": 1.0,
          "title": "Checkpoint Index"
        },
        "run_id": {
          "type": "string",
          "title": "Run Id"
        },
        "parent_checkpoint_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Parent Checkpoint Id"
        },
        "status": {
          "type": "string",
          "enum": [
            "running",
            "paused",
            "requires_approval",
            "completed",
            "cancelled"
          ],
          "title": "Status"
        },
        "event_start_index": {
          "type": "integer",
          "minimum": 0.0,
          "title": "Event Start Index"
        },
        "event_end_index": {
          "type": "integer",
          "minimum": 0.0,
          "title": "Event End Index"
        },
        "request_hash": {
          "type": "string",
          "title": "Request Hash"
        },
        "decision_hash": {
          "type": "string",
          "title": "Decision Hash"
        },
        "content_hash": {
          "type": "string",
          "title": "Content Hash"
        },
        "policy_snapshot_id": {
          "type": "string",
          "title": "Policy Snapshot Id"
        },
        "schema_snapshot_id": {
          "type": "string",
          "title": "Schema Snapshot Id"
        },
        "manifest_version": {
          "type": "string",
          "title": "Manifest Version"
        },
        "artifact_refs": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Artifact Refs"
        },
        "created_at": {
          "type": "string",
          "format": "date-time",
          "title": "Created At"
        },
        "run_status": {
          "type": "string",
          "enum": [
            "running",
            "paused",
            "requires_approval",
            "completed",
            "cancelled"
          ],
          "title": "Run Status"
        }
      },
      "type": "object",
      "required": [
        "checkpoint_id",
        "checkpoint_index",
        "run_id",
        "status",
        "event_start_index",
        "event_end_index",
        "request_hash",
        "decision_hash",
        "content_hash",
        "policy_snapshot_id",
        "schema_snapshot_id",
        "manifest_version",
        "created_at",
        "run_status"
      ],
      "title": "AgentRunCheckpointListResource"
    }
  }
}