Skip to main content
GET
Returns a masked list of the AI provider keys (Anthropic, OpenAI) your organization has configured. Use the id of a key to reference it when creating an assessment via anthropicKeyId or openaiKeyId.

Authentication

Requires an org API key with the read scope, or a dashboard (Clerk) session.
This endpoint is reference-only. It lists existing provider keys in masked form — it never returns raw secrets. Adding, rotating, setting a default, and revoking provider keys are dashboard-only (Settings → AI Provider) and are intentionally not exposed over the public API: a long-lived API key must never be able to upload or rotate provider secrets.
array
List of provider key objects, never including raw secrets.