Skip to main content
PATCH
/
organization
/
agent-custom-providers
/
{provider_id}
Error
A valid request URL is required to generate request examples
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "organization_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "display_name": "<string>",
  "base_url": "<string>",
  "passthrough": true,
  "api_key_header": "<string>",
  "last_refreshed_at": "2023-11-07T05:31:56Z"
}
{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}

Authorizations

fastapiusersauth
string
cookie
required

Path Parameters

provider_id
string<uuid>
required

Body

application/json

Update custom provider.

display_name
string | null
Maximum string length: 200
base_url
string | null
Maximum string length: 500
passthrough
boolean | null
api_key_header
string | null
Maximum string length: 120
api_key
string | null
custom_headers
Custom Headers · object | null

Response

Successful Response

Read custom provider.

id
string<uuid>
required
organization_id
string<uuid>
required
display_name
string
required
base_url
string | null
required
passthrough
boolean
required
api_key_header
string | null
required
last_refreshed_at
string<date-time> | null
required