Skip to main content
POST
Set the authenticated user's OpenCode Go API key

Authorizations

Authorization
string
header
required

API key authentication. Obtain your API key from the Replicas dashboard under Organization → Settings → API Keys.

Body

application/json
api_key
string
required
Minimum string length: 1

Response

Credential stored

success
boolean
required
credentialId
string<uuid>
required