{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/kifly-ai/json-schema/kifly-ai-get-api-agent-errors-response-schema.json",
  "title": "GetApiAgentErrorsResponse",
  "x-generated": "2026-11-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/kifly-ai-openapi-generated.yml#/components/schemas/GetApiAgentErrorsResponse",
  "type": "object",
  "properties": {
    "error": {
      "type": "string",
      "description": "Error identifier (always present)."
    },
    "code": {
      "type": "string",
      "description": "Machine‑readable error code (always present)."
    },
    "fix": {
      "type": "string",
      "description": "Suggested fix action (always present)."
    },
    "retryable": {
      "type": "boolean",
      "description": "Whether the call can be retried (always present)."
    },
    "docs": {
      "type": "string",
      "description": "URL to documentation for this error (always present)."
    },
    "request_id": {
      "type": "string",
      "description": "Identifier for the request (always present)."
    },
    "message": {
      "type": "string",
      "description": "Human‑readable message (present where they add something)."
    },
    "next_step": {
      "type": "string",
      "description": "Suggested next step (present where they add something)."
    },
    "required_scope": {
      "type": "string",
      "description": "Scope required for the call (present where they add something)."
    },
    "retry_after_seconds": {
      "type": "integer",
      "description": "Seconds to wait before retrying (present where they add something)."
    },
    "details": {
      "type": "object",
      "description": "Additional structured details (present where they add something)."
    }
  }
}