Skip to main content
GET
Poll a ChatGPT sign-in
Takes a managing key (oc_key_...) or a signed-in session. See LLMs for LLM keys in a vault. Asks OpenAI once whether the person approved the code. When they did, the item is made and returned. Only the person who started the sign-in may poll it. Wait interval seconds between polls.
Availability: OneCLI Cloud only. A self-hosted deployment does not serve this endpoint and answers 404 with error.code: "not_found".

Authorizations

Authorization
string
header
required

A managing key (oc_key_...), an older API key (oc_...), or a signed-in session.

Path Parameters

id
string
required

The sign-in's id, from starting it.

Required string length: 1 - 64

Response

Where the sign-in stands.

status
enum<string>
required
Available options:
pending