---
title: "List credentials for an agent"
method: GET
path: "/v1/agents/{agent}/credentials"
tags: ["Agent credentials"]
---

# List credentials for an agent

`GET /v1/agents/{agent}/credentials`

## Request

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

Lists the credential methods connected for a coding agent and which one workspaces use.

## Path parameters

- `agent` 'claude' | 'codex' | 'cursor' | 'muse' | 'opencode' | 'pi', required

## Headers

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

## Response `200`

Success

- object
  - `credentials` object[]
    - `method` string
    - `scope` 'org' | 'user'
  - `selected` object, nullable

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