AppAIGatewayDocs

Create or recover a browser handoff

POST
/v1/cli/operations

Persist pollToken before initiation. Repeating the same proof and payload recovers the same operation. A current account key is required. Claims require interactive human sign-in and explicit consent. Provider handoffs require the browser URL proof and show the exact resource configuration before secret submission. Handoffs expire after 15 minutes.

Authorization

agw_identity_auth.session_token<token>

The console's session cookie. Admin requests from the console also send x-console-request: 1.

In: cookie

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/operations" \  -H "Content-Type: application/json" \  -d '{    "kind": "claim",    "pollToken": "string"  }'
{  "id": "string",  "url": "http://example.com",  "expiresAt": "string",  "state": "pending",  "deployment": {    "id": "string",    "mode": "cloud",    "apiUrl": "http://example.com",    "consoleOrigin": "http://example.com"  }}