Poll a device-code grant for completion
auth
Poll a device-code grant for completion
Anonymous (the device_code is the credential). Returns pending, completed (with the minted agent_token — surfaced ONCE), or cancelled. After completion the record is consumed and further polls 410.
GET
Poll a device-code grant for completion
Query Parameters
The device_code from /start. Omit for the self-describe contract.
Required string length:
16 - 64Response
Grant status (pending/completed/cancelled) or the self-describe contract.
One of pending / completed / cancelled. completed surfaces the agent_token exactly once.
Available options:
pending, completed, cancelled Plaintext, surfaced ONCE — store it on the agent.
Present + true when the minted token is a sandbox/test-mode token (mirrors the sandbox flag sent to /start).
On cancellation.