Browser handoff: details
First-party browser only: both the request URL origin and exact Origin header must match consoleOrigin; a separate submissionToken is required — the proof from the approval URL's fragment, or, for a login, the user code the terminal shows. Identity approval (a claim or a login) also requires an interactive human session; registration is limited to a valid pending claim or login. Provider secret values are write-only.
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/cli/browser/string/details" \ -H "Content-Type: application/json" \ -d '{ "submissionToken": "string" }'{ "kind": "bootstrap", "payload": { "property1": null, "property2": null }, "account": { "id": "string", "name": "string", "createdAt": "string", "claimed": true, "expiresAt": "string" }, "viewer": { "name": "string", "email": "string" }, "blockedBy": "registration_required", "googleEnabled": true, "expiresAt": "string", "userCode": "string", "client": { "label": "string", "os": "string", "ip": "string", "requestedAt": "string" }, "hasLoopbackRedirect": true, "organizations": [ { "id": "string", "name": "string", "role": "owner" } ]}Read retained account usage for a UTC month
Read retained account usage for a UTC month (GET /v1/cli/usage) in the App AI Gateway API. Accepts a management key, MCP OAuth token or console session.
Browser handoff: submit
Browser handoff: submit (POST /v1/cli/browser/{id}/submit) in the App AI Gateway API.