Skip to main content
GET
Get an AI provider key

Authorizations

Authorization
string
header
required

Send Authorization: Bearer YOUR_API_KEY. The key resolves to a single organization.

Path Parameters

id
string<uuid>
required

Response

The key, without its secret.

An organization AI provider key. Never carries the secret: only its last four characters.

id
string<uuid>
required
provider
enum<string>
required

openai, anthropic, openrouter, vercel_gateway and typesafe are LLM / evaluation keys a monitor can run on. deepgram is a speech-to-text key, stored for upcoming Benchmarks.

Available options:
openai,
anthropic,
openrouter,
vercel_gateway,
typesafe,
deepgram
label
string
required

Tells several keys for the same provider apart. Unique per provider.

Maximum string length: 100
lastFour
string
required

The last four characters of the stored key.

createdAt
string<date-time>
required
createdBy
object | null
required

Who added the key.

rotatedAt
string<date-time> | null
required

When the secret was last replaced.

rotatedBy
object | null
required

Who last replaced the secret.

lastTestedAt
string<date-time> | null
required
lastTestStatus
enum<string> | null
required

Result of the last provider check (on save, rotate or test).

Available options:
ok,
failed,
null
lastTestError
string | null
required

Why the last check failed, such as invalid_key or provider_unreachable:<detail>.

monitorCount
integer
required

Monitors that currently run on this key.

Required range: x >= 0