Documentation Index
Fetch the complete documentation index at: https://docs.eachlabs.ai/llms.txt
Use this file to discover all available pages before exploring further.
API Key Authentication
All each::labs APIs use API key authentication via theX-API-Key header.
Getting Your API Key
- Sign in to eachlabs.ai
- Navigate to Settings > API Keys
- Click Create API Key
- Copy and store your key securely
Using the API Key
Include theX-API-Key header in every request:
Authentication per Product
| Product | Header | Base URL |
|---|---|---|
| each::api | X-API-Key | https://api.eachlabs.ai |
| each::workflows | X-API-Key | https://workflows.eachlabs.run/api/v1 |
| each::sense | X-API-Key | https://eachsense-agent.core.eachlabs.run |
Some endpoints like
GET /v1/models (listing models) do not require authentication. Check individual endpoint documentation for details.Authentication Errors
If your API key is missing or invalid, you’ll receive a401 response:
Common Causes
| Issue | Solution |
|---|---|
| Missing header | Add X-API-Key: YOUR_KEY to your request headers |
| Invalid key | Verify the key in your dashboard |
| Expired key | Generate a new API key |
| Wrong product URL | Ensure you’re using the correct base URL for the product |
Security Best Practices
- Store API keys in environment variables, never in source code
- Use different keys for development and production
- Rotate keys periodically
- Revoke compromised keys immediately from your dashboard