---
title: "List credentials"
method: GET
path: "/credentials"
tags: ["Credentials"]
---

# List credentials

`GET /credentials`

Returns a paginated list of all credentials belonging to the authenticated user across every package. Accepts standard pagination query parameters and responds with the credential items plus pagination metadata.

## Query parameters

- `page` integer
- `pageSize` integer

## Response `200`

Credentials retrieved successfully

- CredentialList
  - `items` 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
  - `pagination` Pagination, required
    - `hasNext` boolean, required
    - `hasPrev` boolean, required
    - `page` integer, required
    - `pageSize` integer, required
    - `pages` integer, required
    - `total` integer, required

## Other responses

- `401` — Unauthorized
- `500` — Internal Server Error

## Changes

- **2026-07-07** `d5d1e5ee8188` — 1 breaking, 3 info
  - the response property `items/items/userId` became nullable for the status `200`
  - response property `items/items/userId` deprecated
  - added the required property `items/items/createdBy` to the response with the `200` status
  - added the required property `items/items/ownerId` to the response with the `200` status
- **2026-06-29** `b3c57adfec25` — 2 info
  - for the `query` request parameter `page`, the exclusiveMinimum was decreased from `true` to `0.00`
  - for the `query` request parameter `pageSize`, the exclusiveMinimum was decreased from `true` to `0.00`
- **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/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/a1453ac769d4/schema)
