provisioning

Start a device-code claim flow for a full billed key

Stage 2 of the key lifecycle. Optional auth (test or live key accepted, or none). Returns a device_code and claim_url. Direct the user to claim_url to sign in; poll GET /v1/keys/request/{code} until status changes from pending. Key is delivered once in the claim response; subsequent polls return 410.

post/v1/keys/request

Request

  • Base URL: https://api.primateintelligence.ai
  • URL: https://api.primateintelligence.ai/v1/keys/request
  • Auth: none declared

Response

Device code issued.

object'device_code_request' required
device_codestring required

Opaque code; use as path param when polling.

claim_urlstring uri required

Open in browser for the user to approve.

expires_atstring date-time required
poll_intervalinteger required

Seconds between polls.

instructionsstring

Example response

{
  "poll_interval": 5
}

Changes

No recorded changes to this operation across all 1 revision of this API.