Register a BYO LLM inference credential
Registers (or re-registers over a revoked config) a customer-owned Anthropic-native inference credential. The endpoint is validated, the secret is fingerprinted for audit and stored encrypted at rest (never echoed). New registrations start pending and must be activated + enforced before inference routes through them — a self-serve flow with no operator provisioning step. Requires agents:write with the owner or admin role. Writes are audit-logged.
Authorizations
Dashboard JWT token from Clerk
Body
Registration / rotation body for a BYO LLM inference credential. The endpoint is validated against the closed Anthropic-native catalog and the credential is fingerprinted for audit; re-registration over an already-live credential is refused (rotate instead).
Closed Anthropic-native catalog: a direct Anthropic key, or an in-region AWS Bedrock / GCP Vertex endpoint serving Claude.
anthropic, bedrock, vertex Human region label / deployment region of the endpoint.
100The opaque credential secret. Only its truncated SHA-256 fingerprint and its encrypted-at-rest blob are stored; plaintext is never emitted back.
8 - 4096Endpoint URL — required for bedrock/vertex; optional for anthropic (defaults to api.anthropic.com).
512How the credential authenticates: x-api-key header or bearer Authorization. Anthropic uses api_key; Bedrock/Vertex gateways commonly use auth_token.
api_key, auth_token Optional human label for the key.
200Optional operational justification for the audit trail.
4000