Inference Providers

Check browser readiness for member sign-in

Changed on

Read-only check of a ten-minute entry handle and the live signed OpenWork browser cookie, never a bearer substitute. Returns sign_in_required without a live cookie, account_mismatch for another signed-in user without revealing identities, or ready only after validating the original member, provider, credential set, OAuth client configuration and current grants. Does not consume or rotate the entry, create Google state, exchange tokens or revoke credentials. Browser-start and callback independently repeat authorization checks.

get/v1/inference-providers/oauth/browser-status

Request

  • Base URL
    https://api.openworklabs.com
  • Auth
    none required

Query parameters

attempt, string required

Response

Check browser readiness for member sign-in

object required
status, 'sign_in_required' | 'account_mismatch' | 'ready' required
method, 'google' | 'aws_sso' | 'microsoft' | 'oidc' | 'litellm_key' | 'litellm_issued' | 'truefoundry_issued'

Present when ready. google and microsoft: continue with browser-start. aws_sso: start AWS device sign-in with browser-aws-start, then poll browser-aws-poll. litellm_key: submit the member's LiteLLM key to browser-litellm-key. litellm_issued: OpenWork creates the key; issue reports why it has not yet, and browser-litellm-check retries. truefoundry_issued: OpenWork creates the person's TrueFoundry key; truefoundry reports why it has not yet, and browser-truefoundry-check retries.

providerName, string
issue, object
truefoundry, object

Changes

    • warning

      added the new oidc enum value to the method response property for the response status

    • warning

      added the new truefoundry_issued enum value to the method response property for the response status

    • info

      added the optional property truefoundry to the response with the status