---
title: "Get organization credential"
method: GET
path: "/v1/{provider}/credentials"
tags: ["Agent credentials"]
---

# Get organization credential

`GET /v1/{provider}/credentials`

## Request

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

Organization credentials apply to every member. Changing them requires an admin's personal API key.

## 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

## Headers

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

## Response `200`

Success

- CredentialStatus: Secrets are masked for API keys.
  - `has_credentials` boolean, required
  - `credential_id` string
  - `last_fetched_at` string, date-time, nullable
  - `api_key` string: Masked, e.g. `••••abcd`
  - `base_url` string
  - `models` string[]
  - `aws_region` string

## Other responses

- `401`: Unauthorized - Invalid or missing API key
- `403`: Forbidden - The authenticated account cannot access this resource

---

[API](https://skmtc.dev/replicas/apis/replicas-api.md) - [All operations](https://skmtc.dev/replicas/apis/replicas-api/llms.txt) - [OpenAPI document](https://skmtc.dev/replicas/apis/replicas-api/revisions/2703ac1c9cb7?raw)
