Skip to main content
PUT
cURL

Headers

X-CSRF-Token
string
required

Echoes the token from the current session. Required on every unsafe method.

Body

application/json
slug
string
required
Pattern: ^[a-z0-9][a-z0-9_-]{1,40}$
kind
enum<string>
required
Available options:
openai_compatible,
anthropic,
gemini
displayName
string
required
Required string length: 1 - 120
enabled
boolean
required
zeroRetention
boolean
required

The owner's answer from the provider's own terms. Omniflow cannot verify it and does not pretend to; it is recorded so the panel can warn before a feature is switched on rather than after data left.

trainsOnData
boolean
required
keyConfigured
boolean
required

Whether a credential is stored. The credential itself is never returned.

lastCheckOk
boolean
required
updatedAt
string<date-time>
required
baseUrl
string

Where the provider is reached. Required for the OpenAI-compatible adapter, which is how an owner points at a model they host themselves. It is an address rather than a secret and is returned.

retentionNote
string
Maximum string length: 2000
dataRegion
string
Maximum string length: 60
lastCheckedAt
string<date-time>
lastCheckError
string

Why the last test failed, or how the last one passed. It never carries the provider's own message, which can echo the prompt, and never a transport error, which can carry a key held in a query string.

Maximum string length: 500
apiKey
string

Write-only and never returned. Omitting it leaves the stored credential alone, so a display name can be corrected without re-pasting a secret.

Response

Saved

slug
string
required
Pattern: ^[a-z0-9][a-z0-9_-]{1,40}$
kind
enum<string>
required
Available options:
openai_compatible,
anthropic,
gemini
displayName
string
required
Required string length: 1 - 120
enabled
boolean
required
zeroRetention
boolean
required

The owner's answer from the provider's own terms. Omniflow cannot verify it and does not pretend to; it is recorded so the panel can warn before a feature is switched on rather than after data left.

trainsOnData
boolean
required
keyConfigured
boolean
required

Whether a credential is stored. The credential itself is never returned.

lastCheckOk
boolean
required
updatedAt
string<date-time>
required
baseUrl
string

Where the provider is reached. Required for the OpenAI-compatible adapter, which is how an owner points at a model they host themselves. It is an address rather than a secret and is returned.

retentionNote
string
Maximum string length: 2000
dataRegion
string
Maximum string length: 60
lastCheckedAt
string<date-time>
lastCheckError
string

Why the last test failed, or how the last one passed. It never carries the provider's own message, which can echo the prompt, and never a transport error, which can carry a key held in a query string.

Maximum string length: 500