workspaces
Put Current Workspace Secret
Changed onCreate or update a workspace secret and the hosts it may be sent to.
Omit value to keep the current one; it is required to create a secret. configs replaces the secret's hosts; omitted or empty restores the built-in defaults for known provider keys. The value is never returned.
put/api/v1/workspaces/current/secrets/{key}
Request
- Base URLhttps://api.smith.langchain.com
- URLhttps://api.smith.langchain.com/api/v1/workspaces/current/secrets/{key}
- Auth
- API key in header X-API-Key
- or API key in header X-Tenant-Id
- or HTTP bearer
Path parameters
keystring required
Request body
Response
Successful Response
Changes
- info
endpoint added
- info