Skip to main content
POST
/
graph
/
query
Query the relation graph around a record. Returns nodes and edges within the specified depth.
curl --request POST \
  --url https://api.supersonic.cv/graph/query \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "record_id": "<string>",
  "depth": 123,
  "types": "<string>",
  "categories": "<string>",
  "limit": 123
}
'
{}

Authorizations

Authorization
string
header
required

API key: supersonic_live_...

Body

application/json
record_id
string
required

Root record UUID

depth
integer

BFS depth (1-3, default 2)

types
string

Comma-separated relation types to filter

categories
string

Comma-separated category filter for nodes

limit
integer

Max nodes to return (default 100, max 500)

Response

Success

The response is of type object.