{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/algenta-ai/json-schema/algenta-ai-agent-run-replay-response-schema.json",
  "title": "AgentRunReplayResponse",
  "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/AgentRunReplayResponse",
  "properties": {
    "object": {
      "type": "string",
      "title": "Object",
      "default": "agent_run_replay"
    },
    "run_id": {
      "type": "string",
      "title": "Run Id"
    },
    "checkpoint_id": {
      "type": "string",
      "title": "Checkpoint Id"
    },
    "replay_status": {
      "type": "string",
      "enum": [
        "matched",
        "mismatch"
      ],
      "title": "Replay Status"
    },
    "compared_event_count": {
      "type": "integer",
      "minimum": 0.0,
      "title": "Compared Event Count"
    },
    "checkpoint_count": {
      "type": "integer",
      "minimum": 0.0,
      "title": "Checkpoint Count"
    },
    "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"
    },
    "failure_code": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Failure Code"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "title": "Created At"
    }
  },
  "type": "object",
  "required": [
    "run_id",
    "checkpoint_id",
    "replay_status",
    "compared_event_count",
    "checkpoint_count",
    "request_hash",
    "decision_hash",
    "content_hash",
    "policy_snapshot_id",
    "schema_snapshot_id",
    "manifest_version",
    "created_at"
  ]
}