---
title: "Get User Credential"
method: GET
path: "/api/credentials"
tags: ["Credentials API"]
---

# Get User Credential

`GET /api/credentials`

## Request

- The document declares no server URL.
- Auth: none declared

Get default/all user credentials

## Headers

- `x-osmo-user` string, nullable

## Response `200`

Successful Response

- CredentialGetResponse: Credential Response.
  - `credentials` object[], required

## Other responses

- `422`: Validation Error

## Changes

- **2026-08-03** `b9d312a13f5d`: 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status
- **2026-04-08** `a8157dc3279d`: 1 breaking, 2 info
  - response property `credentials/items/additionalProperties/` list-of-types was widened by adding types `null` to media type `application/json` of response `200`
  - `header` request parameter `x-osmo-user` list-of-types was widened by adding types `null`
  - for the `header` request parameter `x-osmo-user`, the type was generalized from `string` to no type
- **2026-03-31** `639e39b0d1eb`: 1 breaking, 1 info
  - the response's body type changed from `string` to `object` for status `200`
  - added the required property `credentials` to the response with the `200` status

[Operation history](https://skmtc.dev/nvidia/apis/nvidia-corporation-osmo-api/changes/api/credentials/get.md)

---

[API](https://skmtc.dev/nvidia/apis/nvidia-corporation-osmo-api.md) - [All operations](https://skmtc.dev/nvidia/apis/nvidia-corporation-osmo-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nvidia/apis/nvidia-corporation-osmo-api/revisions/845585a71dbb?raw)
