---
title: "Update Custom Provider"
method: PATCH
path: "/organization/agent-custom-providers/{provider_id}"
---

# Update Custom Provider

`PATCH /organization/agent-custom-providers/{provider_id}`

## Request

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

Update custom provider configuration.

## Path parameters

- `provider_id` string, uuid, required

## Request body

- AgentCustomProviderUpdate: Update custom provider.
  - `display_name` string, nullable
  - `base_url` string, nullable
  - `passthrough` boolean, nullable
  - `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)
