Skip to main content
GET
Get a provider credential

Authorizations

Authorization
string
header
required

An organization API key. Keys carry a role (read_write or read_only) and may be restricted to a namespace prefix such as acme/*, or to one namespace such as acme/prod/tenant_1. A prefix matches on a / boundary: acme/prod/tenant_1* covers acme/prod/tenant_1 and everything under acme/prod/tenant_1/, never acme/prod/tenant_12.

Path Parameters

provider
enum<string>
required

A provider whose models a judgment can run on your own key.

Available options:
typesafe,
openai,
anthropic,
google

Query Parameters

namespace
string

The namespace whose own credential this is. Without it, the organization's. Up to 256 bytes. / separates levels of the hierarchy, as in acme/prod/tenant_123. Never exactly . or .., which a URL path can't carry.

Required string length: 1 - 256
Pattern: ^(?!\.\.?$)[A-Za-z0-9._:/-]+$

Response

The credential.

A stored provider key, without the key.

id
string
required

Changes when the key is replaced.

Pattern: ^cred_[0-9a-z]{26}$
slot
string
required

The provider and scope, as org:<org id>/<provider> or ns:<org id>/<namespace>/<provider>. It stays the same when the key is replaced.

Minimum string length: 1
provider
enum<string>
required

A provider whose models a judgment can run on your own key.

Available options:
typesafe,
openai,
anthropic,
google
scope
object
required

Whom a credential serves, the whole organization or one namespace.

key_hint
string
required

The key's last four characters, after ….

Minimum string length: 1
status
enum<string>
required

active, or rejected when the provider refused the key after it was stored: judgments on it stop until a test passes or a new key is stored.

Available options:
active,
rejected
test_model
string
required

The model the last test ran on.

Pattern: ^[A-Za-z0-9._:-]{1,128}$
default_model
string
required

The model a judgment that names no engine runs on.

Pattern: ^[A-Za-z0-9._:-]{1,128}$
tested_at
string<date-time>
required
rejected
null | object
required

When and why the provider refused the key; null while it is active.

created_at
string<date-time>
required
created_by
string
required

The API key or dashboard user that stored it.

Minimum string length: 1
watch
object
required

How Brussle watches the models your judgments run on with this key for a change of behaviour. It sends a fixed short set of questions, none of your documents, to your provider on this key, each probe_interval_s for each model in use, and your provider bills those calls. A model that answers no decision type (an embedding model, for example) is not sent them; Brussle watches the model id its responses name instead.