Docs menu · Project API Keys
Project API Keys
You receive an API key for every project you create. The API key is used to configure the LlamaLoggerClient instance and direct the log entries to the appropriate project. You need this key to send entries to Llama Logger.
LlamaLoggerClient logger = new LlamaLoggerClient(apikey, "1.0");
See Getting Started for a complete example.
Get your API Key in 3 easy steps:
- Navigate to Projects in Llama Logger
- Locate your project or create a new one if needed
- Click the Copy button next to the API key

A project API key is for sending log entries from your application. To connect an AI agent such as Claude, Codex, Copilot or Cursor, sign in to the MCP server with OAuth or create an MCP agent token instead.
Regenerating API Keys
If you think your API key has been compromised or you need to cut off older versions of your application from reporting issues, you can regenerate your API key.
Regenerating an API key immediately invalidates the previous key. Any application still using it will stop sending entries. Use this feature with care.