Secrets
Upsert a secret
Creates or updates a secret by name. Scoped to the caller’s primary team — use the team-scoped variant to target a specific team.
POST
cURL
Documentation Index
Fetch the complete documentation index at: https://docs.baseten.co/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Pass your Baseten API key. Clients automatically send Authorization: Bearer <key>. Direct callers can also use Authorization: Api-Key <key>; both schemes are accepted.
Body
application/json
Previous
Upsert a team secretCreates a new secret or updates an existing secret if one with the provided name already exists. The name and creation date of the created or updated secret is returned. This secret belongs to the specified team
Next
cURL