---
title: "List project-scoped credential metadata"
method: GET
path: "/v1/projects/{project_id}/credentials"
tags: ["Automation"]
---

# List project-scoped credential metadata

`GET /v1/projects/{project_id}/credentials`

## Request

- Base URL: `https://api.agentry.sh`
- URL: `https://api.agentry.sh/v1/projects/{project_id}/credentials`
- Auth: HTTP bearer

Owner-only metadata read. Raw credential values are never recoverable.

## Path parameters

- `project_id` string, required

## Response `200`

OK

- object
  - `credentials` object[], required
    - `id` string, required
    - `project_id` string, required
    - `kind` 'ci_deploy' | 'automation_runner', required
    - `name` string, required
    - `prefix` string, required
    - `scopes` string[], required
    - `automation_id` string, nullable
    - `created_by` string
    - `created_at` integer, required
    - `expires_at` integer, required
    - `last_used_at` integer, nullable
    - `revoked_at` integer, nullable
    - `revoke_reason` string, nullable
    - `active` boolean, required
  - `next_action` string, required

## Other responses

- `default`: Error

---

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