API reference · 5 endpoints
Communities
Clusters of related memories detected across the namespace graph.
- GETList communities
- DELETEClear communities
- POSTBuild communities
- GETGet community build status
- GETGet community
/v1/default/namespaces/{namespace_id}/communitiesList communities
List GraphRAG communities for the namespace (largest first), with the build status attached. Supports pagination and a title/summary search.
Parameters
namespace_idstringpathrequiredlimitintegerqueryMaximum number of communities to return
offsetintegerqueryOffset for pagination
qstring | nullqueryCase-insensitive title/summary search
/v1/default/namespaces/{namespace_id}/communitiesClear communities
Delete all communities for the namespace and reset the build state to 'never'.
Parameters
namespace_idstringpathrequired/v1/default/namespaces/{namespace_id}/communities/buildBuild communities
Rebuild the namespace's communities from the entity co-occurrence graph. By default starts a background workflow (202); pass {"async": false} to build synchronously (200).
Parameters
namespace_idstringpathrequiredRequest body · application/json
asyncbooleandefault trueStart a background build workflow (default) or build synchronously.
/v1/default/namespaces/{namespace_id}/communities/statusGet community build status
Namespace-level community build lifecycle: status, last build/start times, last error, and the live community count.
Parameters
namespace_idstringpathrequired/v1/default/namespaces/{namespace_id}/communities/{community_id}Get community
Fetch one community by id, including its member entities.
Parameters
namespace_idstringpathrequiredcommunity_idstringpathrequired