Skip to main content
PUT
Set an agent secret

Authorizations

Authorization
string
header
required

A Skydive API key, sent as Authorization: Bearer sky_live_.... Keys are scoped to a single agent and carry a use or edit scope. The full key value is shown once at creation and never again.

Path Parameters

agentId
string
required

The agent id.

key
string
required

The secret name. Must be an environment-variable-style identifier: letters, digits, and underscores, not starting with a digit (for example MY_API_KEY).

Example:

"OPENAI_API_KEY"

Body

application/json
value
string
required

The secret value.

Minimum string length: 1

Response

The secret was set.

key
string
required

The key that was set.