---
title: "Lists the credentials in the project."
method: GET
path: "/projects/{project_id}/foundry/credentials"
tags: ["Foundry"]
---

# Lists the credentials in the project.

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

## Path parameters

- `project_id` string, required

## Response `200`

- ListCredentialsResponse
  - `credentials` CredentialResponse[] — The credentials in the project.
    - `created_at` string — RFC 3339 creation timestamp.
    - `credentials` CredentialSecrets
      - `token` string — Access token (e.g. a HuggingFace token). Write-only; omitted unless explicitly revealed.
    - `description` string — Human-readable description.
    - `id` string — Credential ID.
    - `name` string — Name of the credential.
    - `org_id` string — Owning organization ID.
    - `project_id` string — Owning project ID.
    - `updated_at` string — RFC 3339 last-update timestamp.
    - `vendor` string — Vendor the credential is for (e.g. "huggingface").

## Other responses

- `401` — Error Authentication Failed
- `403` — Error Permissions
- `500` — Error Internal Server

---

[API](https://skmtc.net/crusoecloud/apis/crusoe-cloud-api-gateway.md) · [All operations](https://skmtc.net/crusoecloud/apis/crusoe-cloud-api-gateway/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/crusoecloud/crusoe-cloud-api-gateway/versions/a3fd2dedc72b/schema)
