Overview
Account secrets store API keys and other credentials for agent sandboxes. After you save a secret, agents can read it asprocess.env.SECRET_NAME. The Developer API can add a secret, update it, list keys, and delete it.
Values are write-only. List, create, and update responses return metadata only — never the secret value.
Secrets are account-scoped, not workspace-scoped. Every personal-agent run for the Account API key owner receives the same secrets.
Add a secret
- Uppercase letters, digits, and underscores only
- Must start with a letter or underscore
- At most 255 characters
- At most 50 secrets per account
- Value at most 8 KB
- Some platform environment names are reserved (
PATH,OPENAI_API_KEY, and similar)
List secret keys
value.
Update a secret
value or description.
Delete a secret
Errors
See also the OpenAPI operations under Secrets.