Skip to main content
PATCH
Update a connection

Authorizations

Authorization
string
header
required

An Igris API key. It acts with the current role and permission overrides of the member who created it.

Path Parameters

slug
string
required

The connection's slug.

Example:

"github-prod"

Body

application/json

All fields are optional. null clears a nullable field.

name
string
Required string length: 1 - 255
description
string | null
Maximum string length: 2000
upstreamUrl
string<uri> | null
authType
enum<string>
Available options:
none,
bearer,
header,
api_key
authHeaderName
string | null
Required string length: 1 - 100
credential
string
Required string length: 1 - 8192
customHeaders
object | null

Merged into the stored headers. A null value removes that header.

enabled
boolean
llmProvider
string | null
customBaseUrl
string<uri> | null
allowedModels
string[] | null
logFullContent
boolean
bodyRetentionDays
integer
Required range: 1 <= x <= 1095
anomalyConfig
object | null
authConfig
object | null
timeoutSeconds
integer
Required range: 1 <= x <= 300
retries
integer
Required range: 0 <= x <= 5
rateLimitRpm
integer | null
Required range: 0 <= x <= 100000
denyByDefault
boolean
logSampling
enum<string>
Available options:
all,
10pct,
1pct,
errors_only

Response

The updated connection.

data
object

A connection. Credentials are never returned. Custom header values come back blank (names only).