Skip to main content
PUT
Register a BYO LLM inference credential

Authorizations

Authorization
string
header
required

Dashboard JWT token from Clerk

Body

application/json

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).

provider
enum<string>
required

Closed Anthropic-native catalog: a direct Anthropic key, or an in-region AWS Bedrock / GCP Vertex endpoint serving Claude.

Available options:
anthropic,
bedrock,
vertex
region
string
required

Human region label / deployment region of the endpoint.

Maximum string length: 100
credential
string
required

The opaque credential secret. Only its truncated SHA-256 fingerprint and its encrypted-at-rest blob are stored; plaintext is never emitted back.

Required string length: 8 - 4096
base_url
string

Endpoint URL — required for bedrock/vertex; optional for anthropic (defaults to api.anthropic.com).

Maximum string length: 512
credential_transport
enum<string>
default:api_key

How the credential authenticates: x-api-key header or bearer Authorization. Anthropic uses api_key; Bedrock/Vertex gateways commonly use auth_token.

Available options:
api_key,
auth_token
key_alias
string

Optional human label for the key.

Maximum string length: 200
justification
string

Optional operational justification for the audit trail.

Maximum string length: 4000

Response

The credential was registered (starting pending).

data
object
required
meta
object