---
title: "Validate Custom Provider Connection"
method: POST
path: "/organization/agent-custom-providers/validate"
---

# Validate Custom Provider Connection

`POST /organization/agent-custom-providers/validate`

## Request

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

Test provider connectivity without saving.

## 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

- object

## 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)
