POST
/queryRequest
Response
found is false, diagnostic explains why (e.g. entity_not_found).
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Find a node by entity ID.
/query{
"type": "lookup",
"entity_id": 1
}
| Field | Type | Required | Description |
|---|---|---|---|
type | string | Yes | Must be "lookup". |
entity_id | integer (u64) | Yes | Entity to look up. |
{
"success": true,
"found": true,
"path": [0],
"edges": [],
"grounding": "fact",
"error": null
}
{
"success": true,
"found": false,
"path": [],
"edges": [],
"grounding": "unknown",
"error": null,
"diagnostic": "entity_not_found"
}
found is false, diagnostic explains why (e.g. entity_not_found).
curl -X POST http://localhost:8080/query \
-H "Authorization: Bearer your-api-key" \
-H "Content-Type: application/json" \
-d '{"type": "lookup", "entity_id": 1}'
Was this page helpful?