Skip to main content
GET
Poll a key request

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

requestId
string<uuid>
required

The request_id returned by POST /keys/requests or POST /signup.

Response

Successful response.

status
enum<string>
required
Available options:
pending,
denied,
expired,
consumed
scopes
string[]
required
expires_at
string<date-time> | null

The request expiry while pending. The key expiry once consumed, or null for a key that does not expire.

decided_at
string<date-time>

Present when status is denied.

key
string

The plaintext dk_agent_ key. Present only in the first response after approval. We never store it and never return it again.

key_id
string<uuid>

Present when status is consumed.

key_prefix
string

Present when status is consumed.

approved_by_role
enum<string>

Present with key.

Available options:
owner,
admin