API referenceC L I
Initialize a recoverable CLI account
Persist both random proofs before sending. An identical retry returns the same account and protected credential during its exchange window. Cloud initialization is public and rate limited. Self-hosted initialization is public too and creates the deployment's single initial account, so whoever initializes an empty deployment first owns it, exactly as its first console registration does. All responses are no-store.
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/bootstrap" \ -H "Content-Type: application/json" \ -d '{ "idempotencyKey": "string", "pollToken": "string" }'{ "deployment": { "id": "string", "mode": "cloud", "apiUrl": "http://example.com", "consoleOrigin": "http://example.com" }, "account": { "id": "string", "name": "string", "createdAt": "string", "claimed": true, "expiresAt": "string" }, "credential": { "token": "string" }, "trial": { "endsAt": "string", "limit": 0 }}