curl --request GET \
--url https://api.example.com/api/v1/observer/system{
"status": "ok",
"result": {
"name": "queue",
"is_healthy": true,
"has_errors": false,
"status": "Queue\tPending\tIn Progress\tProcessed\tErrors\tTotal\nEmbedding\t0\t0\t10\t0\t10\nSemantic\t0\t0\t10\t0\t10\nTOTAL\t0\t0\t20\t0\t20"
},
"time": 0.03
}
Get detailed metrics and status for all system components including queue system, VikingDB, and VLM token usage.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/volcengine/OpenViking/llms.txt
Use this file to discover all available pages before exploring further.
X-API-Key header.
curl -X GET http://localhost:1933/api/v1/observer/queue \
-H "X-API-Key: your-key"
curl -X GET http://localhost:1933/api/v1/observer/vikingdb \
-H "X-API-Key: your-key"
curl -X GET http://localhost:1933/api/v1/observer/vlm \
-H "X-API-Key: your-key"
curl -X GET http://localhost:1933/api/v1/observer/system \
-H "X-API-Key: your-key"
ok or error)ok or error){
"status": "ok",
"result": {
"name": "queue",
"is_healthy": true,
"has_errors": false,
"status": "Queue\tPending\tIn Progress\tProcessed\tErrors\tTotal\nEmbedding\t0\t0\t10\t0\t10\nSemantic\t0\t0\t10\t0\t10\nTOTAL\t0\t0\t20\t0\t20"
},
"time": 0.03
}
curl -X POST http://localhost:1933/api/v1/system/wait \
-H "Content-Type: application/json" \
-H "X-API-Key: your-key" \
-d '{"timeout": 60.0}'
# Add resources
client.add_resource("./docs/")
# Wait for all processing to complete
status = client.wait_processed(timeout=60.0)
print(f"Pending: {status['pending']}")
print(f"Processed: {status['processed']}")
print(f"Errors: {status['errors']}")
{
"status": "ok",
"result": {
"pending": 0,
"in_progress": 0,
"processed": 20,
"errors": 0
},
"time": 0.1
}
curl -X GET http://localhost:1933/api/v1/debug/health \
-H "X-API-Key: your-key"
if client.observer.is_healthy():
print("System OK")
else:
print(client.observer.system)
{
"status": "ok",
"result": {
"healthy": true
},
"time": 0.02
}
Use Readiness Probes in Kubernetes
/ready endpoint (no auth required) as your readiness probe:readinessProbe:
httpGet:
path: /ready
port: 1933
initialDelaySeconds: 10
periodSeconds: 5
Monitor Queue Depths
pending or in_progress counts remain high:Track VLM Token Usage
curl --request GET \
--url https://api.example.com/api/v1/observer/system{
"status": "ok",
"result": {
"name": "queue",
"is_healthy": true,
"has_errors": false,
"status": "Queue\tPending\tIn Progress\tProcessed\tErrors\tTotal\nEmbedding\t0\t0\t10\t0\t10\nSemantic\t0\t0\t10\t0\t10\nTOTAL\t0\t0\t20\t0\t20"
},
"time": 0.03
}