fleet secrets
Set a workspace secret
Changed onCreates or updates a single workspace secret by name. The value is write-only and is never returned by any endpoint. Secrets are a single shared namespace per workspace. Any agent (triggered by any member) can use them, and any member whose role grants workspaces:manage-secrets (Workspace Admins by default) can overwrite or delete them. Setting an existing name replaces its value for everyone. Treat them as shared team credentials, not personal keys.
put/v1/fleet/secrets/{name}
Request
- Base URLhttps://api.smith.langchain.com
- URLhttps://api.smith.langchain.com/v1/fleet/secrets/{name}
- Auth
- API key in header X-API-Key
- or API key in header X-Tenant-Id
- or HTTP bearer
Path parameters
namestring required
Secret name (e.g. ANTHROPIC_API_KEY)
Request body
Response
No Content
Changes
- info
endpoint added
- info