Skip to main content
PATCH
Update a secret

Authorizations

Authorization
string
header
required

An org API key (gh_live_…) from Settings → API keys in the console.

Path Parameters

name
string
required
Example:

"AIRTABLE_API_KEY"

Body

application/json
name
string

Capital letters, digits and _, starting with a letter. Tools name it as {{secret.NAME}}. Can't change while a tool uses it.

Example:

"AIRTABLE_API_KEY"

value
string

The key or password. Kept sealed and never returned.

Maximum string length: 8000
hosts
string[]

The only hosts it is sent to (a leading *. matches subdomains). Left empty, it is kept for the host of the first tool saved with it.

Example:
agents
string[] | null

The agents (ids) that may use it; null for every agent. Only an admin can change it.

label
string

A note for the team.

Response

OK

object
enum<string>
Available options:
secret
id
string
name
string
Example:

"AIRTABLE_API_KEY"

label
string | null
kind
string
Example:

"api_key"

hint
string

The first and last four characters, to tell keys apart.

Example:

"patA…c3d4"

hosts
string[]
agents
string[] | null
source
object | null

Where it came from, like a Coach conversation.

used_by
object[]
created_at
string<date-time>
updated_at
string<date-time>
last_used_at
string<date-time> | null
use_count
integer
last_status
integer | null

The HTTP status of its last call, like 401 when the API refused it.