{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/scale-ai/json-schema/scale-ai-list-checkpoints-request-schema.json",
  "title": "ListCheckpointsRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/scale-ai-checkpoints-api-openapi.yml#/components/schemas/ListCheckpointsRequest",
  "properties": {
    "thread_id": {
      "type": "string",
      "title": "Thread ID"
    },
    "checkpoint_ns": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Checkpoint namespace"
    },
    "before_checkpoint_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Before checkpoint ID"
    },
    "filter_metadata": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Metadata filter (JSONB @>)"
    },
    "limit": {
      "type": "integer",
      "maximum": 1000.0,
      "minimum": 1.0,
      "title": "Max results",
      "default": 100
    }
  },
  "type": "object",
  "required": [
    "thread_id"
  ]
}