Agents

Current sign-in state for a provider: phase, link, device code, elapsed time.

Changed on
get/settings/ai-providers/{provider_id}/login

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/settings/ai-providers/{provider_id}/login
  • Auth: HTTP bearer

Path parameters

provider_idstring required

AI provider ID

Response

Sign-in state

detailstring required

Human-readable status of the current phase, or why it ended.

elapsed_secondsinteger required
finished_atstring date-time nullable
phase'starting' | 'waiting' | 'verifying' | 'succeeded' | 'failed' | 'cancelled' required
provider_idstring required
requires_codeboolean required

True when the operator must paste a code back into Temps.

session_idstring required
started_atstring date-time required
timeout_secondsinteger required
user_codestring nullable

Device code to enter on that page, for device-code providers.

verification_urlstring nullable

Page the operator opens in their browser. Present from waiting.

Changes