POST

Authorizations

x-api-key
string
header
required

Headers

bma-workspace-id
string

Project scope. Required when the API key can access more than one project. Also accepted as anthropic-workspace-id; headers sent together must agree, otherwise the request is a 400 workspace_id_conflict.

Path Parameters

vault_id
string
required

ID of the vault (vlt_ followed by 26 lowercase base32 characters; a few older vaults keep an ID of another form, such as sec_…).

credential_id
string
required

ID of the credential (vcrd_ followed by 26 lowercase base32 characters; a few older credentials keep an ID of another form, such as sec_…). It must belong to the vault in the path.

Response

Success.

The outcome of a live check of an mcp_oauth credential against its MCP server.

type
string
required

Always vault_credential_validation.

Allowed value: "vault_credential_validation"
credential_id
string
required

ID of the checked credential.

vault_id
string
required

ID of the credential's vault.

status
enum<string>
required

valid: the MCP server accepted the token (after a refresh, if one was needed). invalid: the server answered 401 or 403 and no refresh helped, or the token endpoint rejected the refresh with a 4xx other than 429. unknown: the cause may be transient (no answer, another status, a 5xx or 429 from the token endpoint, or a token endpoint that could not be reached).

Available options:
valid,
invalid,
unknown
has_refresh_token
boolean
required

Whether the credential has refresh settings.

mcp_probe
object | null
required

The failing step of the MCP probe; null when the status is valid.

refresh
object | null
required

The refresh attempted after the server answered 401; null when none was attempted.

validated_at
string<date-time>
required

When the check finished (RFC 3339, UTC).