Skip to main content
PUT
Upsert Secret

Authorizations

Authorization
string
header
required

Clerk session JWT for the web app, or a control-plane API key (so_…) from POST /api/v1/api-keys for programmatic / docs try-it use.

Path Parameters

agent_id
string<uuid>
required

Body

application/json
key
string
required

Env var name

Example:

"OPENAI_API_KEY"

value
string
required

Secret value (stored in Secret Manager)

Response

Successful Response

secret_id
string
required

GSM secret resource id / name

key
string
required