Start a device-grant login (RFC 8628 style)
POST/auth/device
UNAUTHENTICATED. Show the returned user_code and
verification_uri to the user; they approve in a logged-in browser.
Then poll POST /auth/device/token every interval seconds. Codes
expire after expires_in seconds (15 min). Per-IP rate limited.
Request
Responses
- 200
- 429
- 500
Device code allocated
Rate limit exceeded (rate_limit_exceeded, or plan budgets post_limit_reached / daily_limit_reached on schedulePost). All 429s carry Retry-After. The API-key limiter additionally sets the X-RateLimit-* headers and error.details {limit, remaining, reset_at}.
Response Headers
Seconds to wait before retrying
Requests allowed in the window (API-key limiter only)
Requests remaining (API-key limiter only)
Unix seconds when the window resets (API-key limiter only)
Internal error (internal_error and endpoint-specific 5xx codes). Retryable.