Skip to main content
POST
kg_search

Authorizations

X-API-Key
string
header
required

Path Parameters

workspace_id
string<uuid>
required

Workspace identifier.

Body

application/json

Request body for kg-search.

query
string
required
Required string length: 1 - 4096
k
integer
default:10
Required range: 1 <= x <= 100
node_types
string[] | null
path_prefix
string | null

Response

Successful Response

Response body for kg-search.

coverage
Coverage · object
required

What the access gate withheld, in counts and label names only.

Never a name, path, or fragment of withheld content. Naming the labels leaks nothing the caller cannot already read from the workspace config, and it turns "some results were withheld" into an actionable request.

nodes
GraphNode · object[]
required