---
title: "Get Credential By Model"
method: GET
path: "/credentials/by_model/{model_id}"
tags: ["credential management"]
---

# Get Credential By Model

`GET /credentials/by_model/{model_id}`

## Request

- Base URL: `https://api.vibebrowser.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.vibebrowser.app/credentials/by_model/{model_id}`
- Auth: one of:
  - API key in header `x-litellm-api-key`
  - API key in header `x-litellm-api-key`
  - API key in header `x-litellm-api-key`
  - API key in header `x-litellm-api-key`
  - API key in header `x-litellm-api-key`
  - API key in header `x-litellm-api-key`

[BETA] endpoint. This might change unexpectedly.

## Path parameters

- `model_id` string, required: The model ID to look up credentials for

## Response `200`

Successful Response

- CredentialItem
  - `credential_name` string, required
  - `credential_info` object, required
  - `credential_values` object, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/vibebrowser/apis/litellm-api.md) · [All operations](https://skmtc.dev/vibebrowser/apis/litellm-api/llms.txt) · [OpenAPI document](https://skmtc.dev/vibebrowser/apis/litellm-api/revisions/eea0b7e7b167?raw)
