Studio Apps
checkSecretExists
Check Secret Exists
Check whether a Studio app secret is set: returns a BOOLEAN only, never the value.
Arguments
keystringrequiredSecret key to check (UPPER_SNAKE_CASE).scopestringoptionalScope. 'app' (default): scoped to one Studio app, the safe default; requires appId. 'account': a shared secret apps opt into via attachSecretToApp.appIdstringoptionalThe Studio app ID. Required when scope is 'app'.environmentstringoptionalDeploy environment. 'prod' (default): the production value; 'preview': the value injected into preview deploys. A key can hold an independent value per environment.
Returns
Check whether a Studio app secret is set: returns a BOOLEAN only, never the value.
Ask for it
The Cloud routes these requests to this verb.
- is my STRIPE_SECRET set
- does this app have an ANTHROPIC_API_KEY
Pair it with
The verbs that finish the job.