{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/knoxcall/json-schema/knoxcall-agent-created-schema.json",
  "title": "AgentCreated",
  "description": "The newly registered agent, including its one-time secret.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/knoxcall-agents-api-openapi.yml#/components/schemas/AgentCreated",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "name": {
      "type": "string"
    },
    "agent_id": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "enum": [
        "active",
        "revoked"
      ]
    },
    "require_verified_build": {
      "type": "boolean"
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "agent_secret": {
      "type": "string",
      "description": "**Shown exactly once** — only a hash is stored, so it can never be retrieved again. 64 hex characters."
    }
  }
}