API Reference
API authentication
Authenticate the trusted project and bind an external user separately.
Executor and MCP requests use a bearer project key:
Bash
curl "$EYEBALL_EXECUTOR_URL/v1/executions?limit=10" \
-H "Authorization: Bearer $EYEBALL_API_KEY"The authenticated project scopes every lookup. A missing or invalid bearer value returns a normalized auth error. By default, a project key is authoritative for every end user in that project.
End-user identity is separate:
- Executor:
userIdin execute/connection bodies or query filters. - SDK: per-call
userIdor the client default. - MCP:
EYEBALL_USER_IDserver configuration,X-Eyeball-User-Id, or_meta["dev.eyeball/userId"].
Self-hosted keyrings accept key:projectId:userId in addition to the project-wide key:projectId form. A pinned key rejects a conflicting user at every supported identity surface. Use pinned keys when delegating access to a less-trusted MCP host.