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

# GET /api/v1/credentials/{pk}/

`GET /api/v1/credentials/{pk}/`

## 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/{pk}/`
- Auth: none declared
- TypeScript: <https://skmtc.dev/uptime/apis/uptime-com-openapi-schema/docs/api/v1/credentials/:pk/get.ts> (a function with typed inputs; its response is checked against the schema)

Get a single credential

## Path parameters

- `pk` string, required

## Response `200`

- CredentialModel
  - `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)
