Skip to main content
POST
/
graph
/
search
Search Graph
curl --request POST \
  --url https://api.velixarai.com/graph/search \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "query": "<string>",
  "entity_type": "<string>",
  "limit": 123
}
'
Find entities in the knowledge graph by name, type, or both.

Request Body

query
string
Search query — matches entity names and descriptions.
entity_type
string
Filter by entity type (e.g. person, technology, project).
limit
integer
default:"20"
Maximum results.

Response

{
  "entities": [
    {
      "id": "node-abc",
      "entity_type": "person",
      "label": "Alice",
      "properties": { "role": "Tech Lead" },
      "relevance": 0.92
    }
  ]
}