{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/compeller-ai/json-schema/compeller-ai-agent-signup-request-schema.json",
  "title": "AgentSignupRequest",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/compeller-ai-openapi.yml#/components/schemas/AgentSignupRequest",
  "type": "object",
  "required": [
    "email",
    "agent_name"
  ],
  "properties": {
    "email": {
      "type": "string",
      "format": "email"
    },
    "agent_name": {
      "type": "string",
      "minLength": 2,
      "maxLength": 128,
      "description": "Human-readable agent or product name. `product_name` is also accepted as an alias."
    },
    "product_name": {
      "type": "string",
      "description": "Alias for `agent_name`."
    },
    "password": {
      "type": "string",
      "format": "password",
      "minLength": 12,
      "writeOnly": true,
      "description": "Optional. If omitted, a strong password is generated and discarded; reuse the returned token instead."
    },
    "contact_email": {
      "type": "string",
      "format": "email",
      "description": "Optional secondary contact (e.g. ops@example.com). Recorded as an additional account identifier."
    },
    "accept_terms": {
      "type": "boolean",
      "description": "Optional acknowledgement of Compeller Terms of Service. Echoed back in the response."
    },
    "installation_id": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{8,128}$",
      "description": "Optional body fallback for `X-Agent-Installation-Id` when headers cannot be set. Header takes precedence."
    }
  }
}