Documentation Index
Fetch the complete documentation index at: https://evalgate.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
API authentication — Bearer tokens
Authenticate Evalgate API requests with a Bearer token. Find your key, set env vars, and handle 401 and 403 errors from the REST API.Every Evalgate API request — except
GET /api/mcp/tools — must include a bearer token. The token identifies your account, determines which organization’s data you can access, and enforces the rate limits for your plan tier.
Add the authorization header
Include your API key in theAuthorization header on every request:
401 Unauthorized response.
Get your API key
- Open the Developer Dashboard.
- Go to Settings → API Keys.
- Create a new key or copy an existing one.
Environment variables
The TypeScript and Python SDKs read these environment variables automatically:| Variable | Description |
|---|---|
EVALGATE_API_KEY | Your API key — required for authenticated requests |
EVALGATE_ORGANIZATION_ID | Your numeric organization ID — used when the SDK constructs requests on your behalf |
.env file:
Authentication errors
Your request did not include an
Authorization header, or the key is invalid, expired, or revoked. Check that you copied the full key and that it has not been deleted in the dashboard.Your key is valid but lacks the required permissions for this resource. This can mean the key does not have the necessary scopes, or the key does not belong to the organization that owns the requested resource.
NO_ORG_MEMBERSHIP is returned when the authenticated user is not a member of the target organization.Anonymous endpoint
GET /api/mcp/tools does not require authentication. It returns the list of available MCP tools and their input schemas for any caller. All other MCP endpoints, including POST /api/mcp/call, require a valid bearer token.
If you are integrating Evalgate with an AI agent or IDE assistant via MCP, the tool discovery call is public, but the tool execution call uses your API key. Configure your MCP client with
Authorization: Bearer YOUR_API_KEY for execution requests.