Skip to main content
POST
Test unsaved provider

Authorizations

Authorization
string
header
required

Bearer token: an organization API key (ak_…) created under Settings → API Keys, or a dashboard user session token. Agent keys (xe_…) are not accepted here. Endpoints marked as user-only in their description reject organization keys with 403.

Body

application/json

An unsaved provider form, tested through the runtime. With provider_id (the edit dialog) the stored key and secret params fill in where the draft omits them or sends the redaction marker.

provider
string
required
Required string length: 1 - 255
model
string
required
Required string length: 1 - 255
params
Params · object | null
api_token
string | null
provider_id
string<uuid> | null

Response

Successful Response

ok
boolean
required
latency_ms
integer
required
status_code
integer | null
required
error
string | null
required
tested_at
string<date-time>
required