---
title: "List credentials for a specific package"
method: GET
path: "/credentials/packages/{packageName}"
tags: ["Credentials"]
---

# List credentials for a specific package

`GET /credentials/packages/{packageName}`

Returns all credentials stored under the given `packageName`. Each credential includes its name, secret path, and the list of fields it holds.

## Path parameters

- `packageName` string, required

## Response `200`

Package credentials fetched successfully

- object
  - `data` Credential[], required
    - `ownerId` string, required
    - `createdBy` string, nullable, required
    - `userId` string, nullable, required — Deprecated: use createdBy (same value — the creating actor). Null for credentials created before rollout.
    - `packageName` string, required
    - `secretPath` string, required
    - `credentialName` string, required
    - `fields` object[], required
      - `fieldType` 'email' | 'username' | 'password' | 'api_token' | 'phone_number' | 'two_factor_secret' | 'backup_codes', required
      - `value` string, required

## Other responses

- `401` — Unauthorized
- `404` — Not Found
- `500` — Internal Server Error

## Changes

- **2026-07-07** `d5d1e5ee8188` — 1 breaking, 3 info
  - the response property `data/items/userId` became nullable for the status `200`
  - response property `data/items/userId` deprecated
  - added the required property `data/items/createdBy` to the response with the `200` status
  - added the required property `data/items/ownerId` to the response with the `200` status
- **2026-06-19** `ec76cd771e68` — 1 breaking, 1 warning, 1 info
  - for the `path` request parameter `packageName`, the minLength was increased from `0` to `1`
  - for the `path` request parameter `packageName`, the maxLength was set to `200`
  - added the media type `application/json` for the response with the status `404`
- **2026-05-30** `51d2493ba0f4` — 1 info
  - endpoint added
- **2026-05-30** `d06ce0f3c00d` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/droidrun/apis/droidrun-cloud/changes/credentials/packages/:packageName/get.md)

---

[API](https://skmtc.dev/droidrun/apis/droidrun-cloud.md) · [All operations](https://skmtc.dev/droidrun/apis/droidrun-cloud/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/droidrun/droidrun-cloud/revisions/b6fd8aed4bf4/schema)
