API reference
Account and health
GET /v1/me and GET /v1/health.
GET /v1/me
Who the key belongs to and today's usage per product. Not counted.
curl https://api.neuronlens.com/v1/me -H "X-API-Key: $NEURONLENS_API_KEY"
{
"user": {"id": "hFT7aD1iSNiGoFKlhkVHKeKvbxb9Dleh", "email": "you@example.com"},
"usage": {
"agent-lens": {"used_today": 4, "limit": 10, "remaining": 6, "resets_at": "2026-10-13T00:00:00Z"},
"integrity-lens": {"used_today": 1, "limit": 10, "remaining": 9, "resets_at": "2026-10-13T00:00:00Z"},
"agent-lens-app": {"used_today": 212, "limit": 1000, "remaining": 788, "resets_at": "2026-10-13T00:00:00Z"}
}
}
used_today counts completed runs. agent-lens-app is the Agent Lens API (/v1/score and the integrations); agent-lens is the playground API (/v1/agent/*).
GET /v1/health
Whether each product is reachable. No key needed.
{"gateway": "up", "agent-lens": "up", "integrity-lens": "up", "agent-lens-app": "up"}
A product that is down answers runs with 503 service_unavailable, and those runs are not counted.