API key
An API key authenticates the SDK and CLI for one AgentBox project.
Create a key
- Open your project in the AgentBox dashboard.
- Choose API keys.
- Select Create API key and copy it while it is visible.
Store it safely
Set the key in AGENTBOX_API_KEY. The JavaScript and Python SDKs read this variable automatically.
Keep the key out of source code, shell history, logs, screenshots, and Git. For deployed applications, use the secret store provided by your platform.
An explicit AgentBox client can receive apiKey or api_key, but an environment variable or secret manager is safer for normal use.
The Quickstart reads the key from the environment.