Update secret value or metadata
Update the value or default availability of a personal secret owned by the caller. Supply at least one field. Existing identity and attachments are preserved; subsequent task executions resolve the updated value. Plaintext is never returned.
Authorizations
JWT authentication token
Path Parameters
Unique identifier of the secret to update
Body
Response
Secret updated successfully
Whether this personal secret is exposed by default at task runtime. If false, it is only exposed when explicitly selected in task requests.
false
Unique identifier for the secret
"550e8400-e29b-41d4-a716-446655440000"
Masked representation of the secret value for display purposes. Shows first 3 and last 4 characters with bullets (•) in between.
"ghp_xx••••••••xxxx"
Secret name (used as environment variable name when injected into agent execution). Should follow UPPER_SNAKE_CASE convention.
"GITHUB_TOKEN"
When the secret was created
Indicates whether this secret was automatically created by an AI agent (true) or manually created by the user (false).
true
When the secret was last updated

