System Monitoring Endpoints
Utility endpoints for health checks, service configuration status, and task pipeline monitoring.GET /api/health
Health check endpoint that returns the application status and configured services.Authentication
No authentication required.Response
Always returns
"ok" if the server is running.Current environment:
"development" or "production".Object mapping service names to boolean configuration status.
Example Response
Usage
GET /api/services
Detailed service configuration status with descriptions.Authentication
No authentication required.Response
Array of service status objects:Service identifier (e.g.,
"convex", "anthropic").true if the service has valid API keys/configuration, false otherwise.Human-readable description of what the service provides.
Example Response
Service Descriptions
| Service | Description |
|---|---|
convex | Real-time board subscriptions and mutations |
mongodb | Persistent raw captures and dossiers |
exa | Fast pass research and person lookup |
browser_use | Deep research browser agents |
openai | Transcription and fallback LLM integrations |
anthropic | Primary synthesis model (Claude) |
gemini | Fallback vision and synthesis model |
laminar | Tracing and evaluation telemetry |
telegram | Glasses-side media intake |
pimeyes_pool | Rotating account pool for identification |
Usage
GET /api/tasks
Returns the task pipeline phases for demo visualization.Authentication
No authentication required.Response
Array of task phase objects with steps:Phase name (e.g.,
"Identify", "Research").Emoji icon for the phase.
Array of step objects with
step (name) and duration (estimated seconds).Example Response
Usage
This endpoint is primarily used by the frontend to display progress indicators during the intelligence gathering pipeline.
GET /api/pipeline/status
Returns the current pipeline execution status.Authentication
No authentication required.Response
Current pipeline state:
"idle", "processing", or "error".Number of captures currently being processed.
Server uptime in seconds.
Example Response
POST /api/webhooks/browser-use
Webhook endpoint for Browser Use agent callbacks. This is called by the Browser Use platform to send agent results.Authentication
No authentication (webhook signature verification recommended for production).Request Body
Browser Use session ID.
Event type:
"task_complete", "task_failed", or "session_closed".Agent execution result data.
Response
Monitoring Best Practices
Health Checks
Poll
/api/health every 30 seconds for uptime monitoringService Status
Check
/api/services on startup to verify configurationPipeline Status
Use
/api/pipeline/status to monitor active workloadsTask Progress
Fetch
/api/tasks once and cache for UI progress indicatorsRelated Documentation
Configuration
Learn how to configure service API keys
Observability
Set up Laminar tracing and monitoring