Skip to content

Nodes

GET /api/v1/nodes

Search the knowledge graph with keyword, semantic, or hybrid search.

ParameterTypeDefaultDescription
querystringSearch query (max 500 chars)
modestringhybridSearch mode: keyword, semantic, or hybrid
para_item_idstringFilter by PARA item
statusstringFilter: raw, validated, or dismissed
orphanbooleanIf true, return only unassigned nodes
pagenumber1Page number
per_pagenumber20Results per page (max 100)
{
"data": [
{
"id": "abc123",
"title": "Node title",
"summary": "Brief summary",
"body_markdown": "Full content...",
"tags": ["tag1"],
"para_item_ids": ["para_id"],
"status": "validated",
"created_at": "2026-01-15T10:30:00Z",
"updated_at": "2026-01-15T10:30:00Z"
}
],
"total": 42,
"page": 1,
"per_page": 20
}

GET /api/v1/nodes/:id

Returns a single node by ID.


POST /api/v1/nodes
Content-Type: application/json
{
"title": "Node title",
"content": "Markdown body content",
"summary": "Brief summary",
"tags": ["tag1", "tag2"],
"para_item_ids": ["para_id"]
}

Returns 201 with the created node.


PATCH /api/v1/nodes/:id
Content-Type: application/json

Accepts partial updates to title, content, summary, tags, and status.


DELETE /api/v1/nodes/:id

Returns 204 on success. Removes the node and its link associations.