v54

Swagger 2.0AGPL-3.0raw.githubusercontent.com2026-08-03397565628.8 KB
Secrets

Create a new user secret

post/api/v2/users/{user}/secrets

Path parameters

userstring required

User ID, username, or me

Request body

descriptionstring
enabledboolean
env_namestring
file_pathstring
namestring
valuestring

Response

Created

created_atstring date-time
descriptionstring
enabledboolean

Enabled controls whether the secret is injected into workspaces. Disabled secrets remain visible and editable, but are not added to the agent manifest, so they are not exposed as environment variables or written to secret files.

env_namestring
file_pathstring
idstring uuid
namestring
updated_atstring date-time