{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/flowra-dev/json-schema/flowra-dev-thread-history-dto-schema.json",
  "title": "ThreadHistoryDto",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/flowra-dev-chat-api-openapi.yml#/components/schemas/ThreadHistoryDto",
  "type": "object",
  "properties": {
    "limit": {
      "type": "number",
      "minimum": 1,
      "description": "Maximum number of history items to return",
      "default": 10
    },
    "checkpoint": {
      "type": "object",
      "description": "Partial checkpoint selector (e.g. `{ checkpoint_ns: \"tools:<id>\" }` for subgraph history)"
    },
    "before": {
      "type": "object",
      "description": "Return history before this config/checkpoint"
    },
    "metadata": {
      "type": "object",
      "description": "Filter history by metadata"
    }
  }
}