Graph
Generate constellation graph data from the intelligence layer. The Graph API exposes Layer 3's view of the information landscape — story clusters, entity relationships, and narrative threads as an interconnected network ready for visualization or downstream analysis.
Constellation graph
Generate a full constellation graph for a topic or time window. Returns nodes (story clusters and entities) and weighted edges (relationships between them) in a format suitable for force-directed visualization or graph analysis libraries.
| Parameter | Type | Description |
|---|---|---|
| topic | string | Topic or keyword to center the graph on. Omit for a broad view of the current information landscape. |
| time_range | string | Lookback window: 1h, 6h, 24h, 7d,
30d. Default: 7d
|
| layout | enum | Layout hint for positioning: force · hierarchical · circular.
Default: force |
| max_nodes | integer | Maximum nodes to return. Default: 100 |
| entity_types | array | Filter node types: PERSON · ORG · GPE · LOC ·
cluster
|
Cluster graph relationships
Retrieve pre-computed graph relationships for a specific story cluster — the edges Layer 3 has built between this cluster and others across the full corpus. Returns all outbound relationships regardless of target, sorted by confidence descending.
Confidence values follow a discrete scale reflecting relationship signal strength:
| Confidence | Signal |
|---|---|
0.4 |
Weak — some entity overlap, possibly coincidental |
0.6 |
Moderate — meaningful shared entities or narrative thread |
0.8 |
Strong — significant overlap across multiple entity types |
1.0 |
Definitive — same story, same entities, likely near-duplicate clusters |
Node types
The constellation graph contains two categories of nodes:
| Type | Represents | Size field |
|---|---|---|
cluster |
A story cluster from Layer 2 — a group of related articles across sources | Article count |
PERSON · ORG · GPE · LOC |
Named entities extracted by Layer 1 that appear prominently across clusters | Mention count |
Edge types
| Type | Description |
|---|---|
contains |
A cluster node → entity node edge indicating the entity appears within that cluster's articles |
shared_entities |
Cluster → cluster edge indicating overlapping named entities between two story clusters |
co_mention |
Entity → entity edge indicating two entities frequently appear in the same articles |
narrative_thread |
Cluster → cluster edge indicating sequential story evolution — one cluster developed into or continued another |