---
title: "GET /api/v1/credentials/"
method: GET
path: "/api/v1/credentials/"
tags: ["credentials"]
---

# GET /api/v1/credentials/

`GET /api/v1/credentials/`

## Request

- Base URL: `https://uptime.com` (the document declares no server; this is the origin it was published from)
- URL: `https://uptime.com/api/v1/credentials/`
- Auth: none declared
- TypeScript: <https://skmtc.dev/uptime/apis/uptime-com-openapi-schema/docs/api/v1/credentials/get.ts> (a function with typed inputs; its response is checked against the schema)

List all credentials

## Query parameters

- `page` integer
- `page_size` integer
- `search` string
- `ordering` 'pk' | '-pk' | 'display_name' | '-display_name'
- `credential_type` 'BASIC' | 'CERTIFICATE' | 'TOKEN'

## Response `200`

- object
  - `count` integer, required
  - `next` string, uri, nullable
  - `previous` string, uri, nullable
  - `results` CredentialModel[], required
    - `id` integer
    - `credential_type` 'BASIC' | 'CERTIFICATE' | 'TOKEN' | 'TOTP', required
    - `display_name` string, required
    - `description` string
    - `hint` string
    - `username` string
    - `version` string
    - `used_secret_properties` string[]
    - `created_by` string, nullable

---

[API](https://skmtc.dev/uptime/apis/uptime-com-openapi-schema.md) - [All operations](https://skmtc.dev/uptime/apis/uptime-com-openapi-schema/llms.txt) - [OpenAPI document](https://skmtc.dev/uptime/apis/uptime-com-openapi-schema/revisions/e1e4a57a60d8?raw)
