Test a stored provider credential
Runs the test again on the stored key and answers with what the
provider said. When it passes, the credential is active. When the
provider refuses the key, the answer is still 200, with status
rejected and rejected saying why, and judgments on it stop until
a test passes or a new key is stored. A stored test_model the
provider no longer serves is invalid_request with details.reason
model_unavailable; a provider that is down or limits the test is
unavailable with Retry-After. Neither changes the credential.
Counts toward the 50 tests a day. A revoked or missing credential is
not_found.
Authorizations
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.
Headers
One key per logical request, reused only on its retries. A key
belongs to one request: within your organization, the same method,
path, query and body. For 24 hours after a successful response, a
request with the key and the same body gets that response back
verbatim, with Idempotent-Replayed: true, and runs nothing. Only a
successful response is kept, so the retry of a request that failed
runs again. While the first request runs or its response is kept,
the key with a different request is idempotency_key_reused (422).
A request sent while one with its key is still running is
rate_limited with Retry-After: 1, without running: retry it to
get the first one's response. In the rare case the key can't be
checked, the request runs as if it had none.
1 - 255Path Parameters
Query Parameters
Response
The credential after the test.
A stored provider key, without the key.
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.