Agent credentials

Get personal credential

Personal credentials take priority over organization ones and need a personal API key.

get/v1/{provider}/user/credentials

Request

  • Base URL
    https://api.replicas.dev
  • URL
    https://api.replicas.dev/v1/{provider}/user/credentials
  • Auth
    HTTP bearer

Path parameters

provider'anthropic' | 'openai' | 'openrouter' | 'cursor' | 'muse-api-key' | 'opencode-go' | 'aster' | 'ollama' | 'openai-compatible' | 'bedrock' | 'claude-foundry' | 'codex-foundry' | 'claude' | 'codex' | 'muse' required

Credential provider. claude, codex, and muse subscriptions also support reads and deletes; connect those with the CLI.

Headers

X-Replicas-Api-Version'2026-10-07'

API version. 2026-10-07 returns snake_case responses. See versioning.

Response

Success

has_credentialsboolean required
credential_idstring
last_fetched_atstring date-time nullable
api_keystring

Masked, e.g. ••••abcd

base_urlstring
modelsstring[]
aws_regionstring

Changes

No recorded changes to this operation across all 1 revision of this API.