Skip to main content
GET
/
api
/
v1
/
connected-orgs
/
{connected_org_id}
/
graph
Get the dependency graph (full org or subgraph anchored at a repo).
curl --request GET \
  --url https://api.example.com/api/v1/connected-orgs/{connected_org_id}/graph \
  --header 'X-API-Key: <api-key>'
{
  "edges": [
    {
      "confidence": 123,
      "dependency_type": "<string>",
      "id": "<string>",
      "source": "<string>",
      "target": "<string>",
      "version_constraint": "<string>"
    }
  ],
  "nodes": [
    {
      "id": "<string>",
      "label": "<string>",
      "metadata": {},
      "type": "repository"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.riftmap.dev/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-API-Key
string
header
required

Headers

X-Workspace-Id
string | null

Path Parameters

connected_org_id
string<uuid>
required

Query Parameters

root
string<uuid> | null

Optional repository ID to anchor a subgraph view. When set, the response is limited to the root plus its upstream and downstream neighbours within depth hops. Omit for the full org graph.

depth
integer
default:2

BFS depth from root in each direction. Ignored when root is omitted.

Required range: 1 <= x <= 10
min_confidence
number
default:0.8

Minimum edge confidence to traverse during subgraph BFS. Ignored when root is omitted.

Required range: 0 <= x <= 1

Cookies

riftmap_access
string | null

Response

Successful Response

Full dependency graph for an organization (G6 compatible).

edges
GraphEdge · object[]
required
nodes
GraphNode · object[]
required