---
title: "Retrieve a custom provider"
method: GET
path: "/api/providers/{provider_id}/"
tags: ["models"]
---

# Retrieve a custom provider

`GET /api/providers/{provider_id}/`

Retrieve a custom provider by its string provider ID. The current backend returns `extra_kwargs`, including any credentials stored in that object; handle this response as sensitive.

## Path parameters

- `provider_id` string, required

## Headers

- `Authorization` string, required

## Response `200`

Provider details.

- ModelsRetrieveCustomProviderResponse200
  - `id` string, required — Provider string ID. Same value as `provider_id`.
  - `provider_id` string, required — Unique provider identifier within your organization.
  - `provider_name` string, required — Human-readable provider name.
  - `extra_kwargs` object — Stored provider configuration. The current backend returns this object, including credentials it contains; handle the response as sensitive.
  - `created_at` string, date-time, nullable
  - `updated_at` string, date-time, nullable

## Other responses

- `401` — Unauthorized - Missing or invalid authentication
- `404` — Not Found

---

[API](https://skmtc.net/keywordsai/apis/api-reference.md) · [All operations](https://skmtc.net/keywordsai/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/keywordsai/api-reference/revisions/4e064cf81dae/schema)
