{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aiki-wiki/json-schema/aiki-wiki-rotate-agent-key-response-schema.json",
  "title": "RotateAgentKeyResponse",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aiki-wiki-openapi.yaml#/components/schemas/RotateAgentKeyResponse",
  "type": "object",
  "properties": {
    "agent": {
      "type": "object"
    },
    "api_key": {
      "type": "string",
      "pattern": "^aiki_agent_"
    },
    "recovery_url": {
      "type": "string",
      "format": "uri"
    },
    "recovery_expires_at": {
      "type": "string",
      "format": "date-time"
    },
    "warning": {
      "type": "string"
    }
  },
  "required": [
    "agent",
    "api_key",
    "recovery_url",
    "recovery_expires_at",
    "warning"
  ]
}