Skip to main content
GET
System Metrics
Get detailed metrics and status for all system components including queue system, VikingDB, and VLM token usage.
The observer API provides component-level monitoring for production deployments.

Authentication

Requires API key authentication via X-API-Key header.

Available Metrics

Queue System

Get status of embedding and semantic processing queues.

VikingDB Status

Get VikingDB collection and vector count information.

VLM Token Usage

Get Vision Language Model token usage statistics.

Overall System Status

Get combined status of all components.

Response Schemas

Component Status Response

string
Response status (ok or error)
object
Component status information
number
Request processing time in seconds

System Status Response

string
Response status (ok or error)
object
Overall system status
number
Request processing time in seconds

Response Examples

Wait for Processing

Wait for all asynchronous processing (embedding, semantic generation) to complete.
Response:

Health Check

Quick boolean health check:
Response:

Monitoring Best Practices

Configure the /ready endpoint (no auth required) as your readiness probe:
If pending or in_progress counts remain high:
  • Check embedding service health
  • Verify VikingDB connectivity
  • Consider scaling workers
Monitor token consumption to:
  • Predict costs
  • Identify usage spikes
  • Detect potential abuse