{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pricklymails-com/json-schema/pricklymails-com-create-agent-request-schema.json",
  "title": "CreateAgentRequest",
  "description": "`POST /api/agents` request body.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pricklymails-com-agents-api-openapi.yml#/components/schemas/CreateAgentRequest",
  "type": "object",
  "required": [
    "name"
  ],
  "properties": {
    "description": {
      "type": [
        "string",
        "null"
      ],
      "description": "Free-text description of the agent."
    },
    "name": {
      "type": "string",
      "description": "Display name of the agent (at most 128 characters)."
    },
    "scopes": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "string"
      },
      "description": "Scopes to grant, for example `\"email:verify:single\"`. Must be allowed by the account's plan.\nDefaults to the plan's default agent scopes when absent."
    }
  }
}