Skip to main content
GET
Returns the effective provider key for the authenticated user after applying the resolution chain. The platform resolves keys in this order:
  1. Org enforced key - if the user’s organization has set a key with enforced policy, it wins
  2. User org key - a personal key the user stored while in an org context
  3. User personal key - the user’s own key outside any org
This endpoint tells you which source won and whether a key is available, without revealing the key itself.

Path Parameters

string
required
The provider name. One of: anthropic, openai, cursor, devin, gemini, copilot

Headers

string
required
Bearer token. Authorization: Bearer runtm_xxx
string
Include to resolve within an organization context. Omit for personal resolution only.

Response

string
The provider name
boolean
Whether a key was resolved from any source
string
Where the key came from: org_enforced, user_org, user_personal, or none
string
Masked key preview. Null if no key resolved.

Scopes