⌘K

API Key

All requests to the Workerbee API must contain a valid API key for the target project.

  1. Create a new API key in the console.

    Open the Intelligence Console → Settings → API keys → New key.

  2. Copy your generated key:
    bash
    WORKERBEE_API_KEY="YOUR_API_KEY"
    
    # This API key has read/write access to every assistant in your project.

Store it as an environment variable rather than in source — every SDK below reads it from WORKERBEE_API_KEY by default, and it’s the same key used for the MCP Server. Keys can be rotated or revoked from the same Console screen at any time.