v106

OpenAPI 3.1.0raw.githubusercontent.com2026-08-02160524464.6 KB
Secrets

Store or update a vault secret

Stores a secret in the workflow-visible vault. Anything stored here may be used by workflows.

post/api/v1/secrets

Request body

namestring required

Secret name or destination path for file secrets.

valuestring required

The secret value to store.

type'token' | 'oauth' | 'file' required

Schema of a stored secret.

descriptionstring

Optional operator-facing description of the secret.

Response

Secret stored

namestring required

Secret key name or destination path.

type'token' | 'oauth' | 'file' required

Schema of a stored secret.

descriptionstring

Optional operator-facing description of the secret.

created_atstring date-time required

When the secret was first stored.

updated_atstring date-time required

When the secret was last updated.

Example response

{
  "name": "ANTHROPIC_API_KEY"
}