---
title: "Create Custom Provider"
method: POST
path: "/organization/agent-custom-providers"
---

# Create Custom Provider

`POST /organization/agent-custom-providers`

## Request

- Base URL: `https://platform.tracecat.com/api`
- URL: `https://platform.tracecat.com/api/organization/agent-custom-providers`
- Auth: API key in cookie `fastapiusersauth`

Create a new custom LLM provider.

## Request body

- AgentCustomProviderCreate: Create custom LLM provider.
  - `display_name` string, required
  - `base_url` string, nullable
  - `passthrough` boolean
  - `api_key_header` string, nullable
  - `api_key` string, nullable
  - `custom_headers` object, nullable

## Response `200`

Successful Response

- AgentCustomProviderRead: Read custom provider.
  - `id` string, uuid, required
  - `organization_id` string, uuid, required
  - `display_name` string, required
  - `base_url` string, nullable, required
  - `passthrough` boolean, required
  - `api_key_header` string, nullable, required
  - `last_refreshed_at` string, date-time, nullable, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/tracecat/apis/tracecat-api.md) - [All operations](https://skmtc.dev/tracecat/apis/tracecat-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tracecat/apis/tracecat-api/revisions/2efdda25045f?raw)
