Skip to main content
POST
Create a ModelCredential

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

checkfu-version
enum<string>
required
Available options:
2026-08-27
idempotency-key
string
Maximum string length: 255

Path Parameters

workspace_id
string
required
Pattern: ^wrkspc_[0-9a-f]{32}$

Body

application/json
key
string
required
Pattern: ^[a-z0-9](?:[a-z0-9._-]{0,93})$
provider_key
string
required
Pattern: ^[a-z0-9](?:[a-z0-9._-]{0,93})$
api_key
string
required
Required string length: 1 - 16384
display_name
string | null
Required string length: 1 - 255
base_url
string | null
Maximum string length: 2048
custody_policy
enum<string>
Available options:
workspace_vault

Response

Success

credential
object
required
generation
object
required