Skip to main content
POST
Connect a provider key

Authorizations

Authorization
string
header
required

An API key (zode_tok_...). Create one in the console under API keys (https://console.zode.dev/tokens), or with zode login.

Body

application/json
provider
enum<string>
required
Available options:
anthropic,
openai,
openrouter,
gemini,
deepseek,
bedrock,
vertex
api_key
string
required
write-only

An API key (8-512 visible characters). Bedrock: a Bedrock API key, up to 4096. Vertex: a service account JSON file (up to 16 KB) or a Vertex API key.

Required string length: 8 - 16384

Response

Updated agents view

harnesses
object[]
required
credentials
object[]
required
default_harness
string | null
required
secrets_available
boolean
required
sign_in_sandbox
null | object

Where one-click subscription sign-in runs (the caller's newest running sandbox); null means paste only.