{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/getstack-run/json-schema/getstack-run-get-v1-audit-response-schema.json",
  "title": "GetV1AuditResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/getstack-run-openapi-generated.yml#/components/schemas/GetV1AuditResponse",
  "type": "object",
  "properties": {
    "entries": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "entry_id": {
            "type": "string"
          },
          "timestamp": {
            "type": "integer"
          },
          "trace_id": {
            "type": "string"
          },
          "operator_id": {
            "type": "string"
          },
          "agent_id": {
            "type": "string"
          },
          "passport_jti": {
            "type": "string"
          },
          "layer": {
            "type": "string"
          },
          "action": {
            "type": "string"
          },
          "outcome": {
            "type": "string"
          },
          "duration_ms": {
            "type": "integer"
          },
          "error_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "error_message": {
            "type": [
              "string",
              "null"
            ]
          },
          "prev_entry_hash": {
            "type": "string"
          },
          "entry_hash": {
            "type": "string"
          }
        }
      }
    },
    "max_timestamp": {
      "type": "integer"
    }
  }
}