Skip to main content
GET
Recommended first hydration call after `/lookup`: repo + capped deps + capped dependents + artifacts in one round-trip.

Authorizations

X-API-Key
string
header
required

Headers

X-Workspace-Id
string | null

Path Parameters

repo_id
string<uuid>
required

Cookies

riftmap_access
string | null

Response

Successful Response

Single-call context bundle for AI coding agents.

Combines the repo row (with freshness fields), capped lists of direct dependents + dependencies, and the artifacts this repo produces. For full pagination of dependents/dependencies use the dedicated endpoints; for transitive blast radius use /repositories/{id}/impact.

artifacts
RepositoryContextArtifact · object[]
required
dependencies
DependencyInfo · object[]
required
dependencies_total
integer
required
dependents
DependencyInfo · object[]
required
dependents_total
integer
required
repository
RepositoryResponse · object
required

Basic repository record.

ownership
OwnershipContextBlock · object | null

Slim ownership summary embedded in /repositories/{id}/context.

Tiny by design (spec §8) — the context bundle is capped. Agents call /repositories/{id}/ownership for the full contributor list.