Create a secret
Changed onCreates a secret without a value. Then upload its value with POST /api/secrets/{id}/versions, encrypted with the encryptionContext this returns. A team can have at most 100 secrets. Secrets are enabled for teams on request; please contact support to enable them (otherwise 403 SECRETS_FEATURE_DISABLED). Restricted API keys need the secrets.manage scope. When you're signed in rather than using an API key, you must be a team owner or admin (otherwise 403 SECRETS_ADMIN_REQUIRED).
post/api/secrets
Request
- Base URLhttps://api.hyperbrowser.ai
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Success
Changes
- info
added the new optional request property
- info
added the optional property
to the response with the status
- info
- info
endpoint added
- info