{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/superdocs-app/json-schema/superdocs-app-agent-adopt-request-schema.json",
  "title": "AgentAdoptRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/superdocs-app-agents-api-openapi.yml#/components/schemas/AgentAdoptRequest",
  "properties": {
    "token": {
      "type": "string",
      "maxLength": 128,
      "title": "Token",
      "description": "The handoff token from the adopt link."
    },
    "code": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 64
        },
        {
          "type": "null"
        }
      ],
      "title": "Code",
      "description": "The one-time takeover code your AI agent shows you (8 characters like ABCD-1234). Required for accounts handed off with a code."
    }
  },
  "type": "object",
  "required": [
    "token"
  ]
}