Recommended first hydration call after `/lookup`: repo + capped deps + capped dependents + artifacts in one round-trip.
Return the repo, capped direct dependents/dependencies, and artifacts in one call.
This is the recommended second call for AI coding agents auditing a
repo (after /repositories/lookup resolves the ID). One request
collapses what would otherwise be three or four. The freshness fields on
repository (last_scanned_at, last_activity_at,
last_commit_sha, archived) let the agent decide whether to trust
the data or trigger a rescan.
Direct dependents and dependencies are capped at 100 rows each; the
dependencies_total and dependents_total fields carry the post-dedup
count so the agent knows when to paginate via the dedicated
/dependencies and /dependents endpoints. Both lists are declaration
rows, so a repository used through several actions or packages takes several
dependent rows: dependent_repositories_total is the number of distinct
repositories behind dependents_total. For transitive blast
radius (multi-hop downstream), call /repositories/{id}/impact after
this — it is deliberately not bundled here because not every agent flow
needs it.
GET
/
api
/
v1
/
repositories
/
{repo_id}
/
context
Recommended first hydration call after `/lookup`: repo + capped deps + capped dependents + artifacts in one round-trip.
curl --request GET \ --url https://api.example.com/api/v1/repositories/{repo_id}/context \ --header 'X-API-Key: <api-key>'
Combines the repo row (with freshness fields), capped lists of direct
dependents + dependencies, and the artifacts this repo produces. Both lists
hold declaration rows: on dependents the consuming repository is
target_repository_id. For full pagination of dependents/dependencies use
the dedicated endpoints; for transitive blast radius use
/repositories/{id}/impact.
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.
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Riftmap","description":"Cross-repository dependency mapper and change impact engine for GitLab/GitHub orgs. The agent-friendly API for 'if I change repo X, what breaks?'","colors":{"primary":"#7B61FF","light":"#9B85FF","dark":"#5E47DB"},"logo":{"light":"https://mintcdn.com/westgaardtechnologies/3NKuoQH-GCYzbIwS/logo.png?fit=max\u0026auto=format\u0026n=3NKuoQH-GCYzbIwS\u0026q=85\u0026s=ca82ef4bbabdfd659799823771bad0ec","dark":"https://mintcdn.com/westgaardtechnologies/3NKuoQH-GCYzbIwS/logo.png?fit=max\u0026auto=format\u0026n=3NKuoQH-GCYzbIwS\u0026q=85\u0026s=ca82ef4bbabdfd659799823771bad0ec"},"favicon":"https://mintcdn.com/westgaardtechnologies/3NKuoQH-GCYzbIwS/favicon.png?fit=max\u0026auto=format\u0026n=3NKuoQH-GCYzbIwS\u0026q=85\u0026s=55d4e687c4535ecb69d903d5e02d0ed9","navbar":{"links":[{"href":"https://app.riftmap.dev","label":"App"}],"primary":{"type":"button","label":"Sign up","href":"https://app.riftmap.dev/register"}},"seo":{"metatags":{"og:site_name":"Riftmap Docs"},"indexing":"navigable"},"fonts":{"heading":{"family":"DM Sans"},"body":{"family":"DM Sans"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"westgaardtechnologies","hasAudioNarration":false,"actualSubdomain":"westgaardtechnologies","customDomains":["docs.riftmap.dev"],"gitSource":{"type":"github","owner":"danielwestgaard","repo":"riftmap","deployBranch":"main","contentDirectory":"docs-site","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ab910403102d6a97e68e101","clientVersion":"0.0.4117","searchFilterCounts":[{"language":"default","tag":"API Reference","count":88},{"language":"default","tag":"Endpoints","count":87},{"language":"default","tag":"auth","count":18},{"language":"default","tag":"billing","count":18},{"language":"default","tag":"Documentation","count":14},{"language":"default","tag":"workspaces","count":12},{"language":"default","tag":"connected-orgs","count":7},{"language":"default","tag":"repositories","count":7},{"language":"default","tag":"Changelog","count":6},{"language":"default","tag":"invitations","count":5}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[],"page":{"pagePath":"api-reference/repositories/recommended-first-hydration-call-after-`lookup`:-repo-+-capped-deps-+-capped-dependents-+-artifacts-in-one-round-trip","slug":"/api-reference/repositories/recommended-first-hydration-call-after-`lookup`:-repo-+-capped-deps-+-capped-dependents-+-artifacts-in-one-round-trip","pageMetadata":{"title":"Recommended first hydration call after `/lookup`: repo + capped deps + capped dependents + artifacts in one round-trip.","description":"Return the repo, capped direct dependents/dependencies, and artifacts in one call.\n\n**This is the recommended second call** for AI coding agents auditing a\nrepo (after ``/repositories/lookup`` resolves the ID). One request\ncollapses what would otherwise be three or four. The freshness fields on\n``repository`` (``last_scanned_at``, ``last_activity_at``,\n``last_commit_sha``, ``archived``) let the agent decide whether to trust\nthe data or trigger a rescan.\n\nDirect dependents and dependencies are capped at 100 rows each; the\n``dependencies_total`` and ``dependents_total`` fields carry the post-dedup\ncount so the agent knows when to paginate via the dedicated\n``/dependencies`` and ``/dependents`` endpoints. Both lists are declaration\nrows, so a repository used through several actions or packages takes several\ndependent rows: ``dependent_repositories_total`` is the number of distinct\nrepositories behind ``dependents_total``. For transitive blast\nradius (multi-hop downstream), call ``/repositories/{id}/impact`` after\nthis — it is deliberately *not* bundled here because not every agent flow\nneeds it.","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/repositories/{repo_id}/context","href":"/api-reference/repositories/recommended-first-hydration-call-after-`lookup`:-repo-+-capped-deps-+-capped-dependents-+-artifacts-in-one-round-trip","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n em: \"em\",\n p: \"p\",\n strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Return the repo, capped direct dependents/dependencies, and artifacts in one call.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"This is the recommended second call\"\n }), \" for AI coding agents auditing a\\nrepo (after \", _jsx(_components.code, {\n children: \"/repositories/lookup\"\n }), \" resolves the ID). One request\\ncollapses what would otherwise be three or four. The freshness fields on\\n\", _jsx(_components.code, {\n children: \"repository\"\n }), \" (\", _jsx(_components.code, {\n children: \"last_scanned_at\"\n }), \", \", _jsx(_components.code, {\n children: \"last_activity_at\"\n }), \",\\n\", _jsx(_components.code, {\n children: \"last_commit_sha\"\n }), \", \", _jsx(_components.code, {\n children: \"archived\"\n }), \") let the agent decide whether to trust\\nthe data or trigger a rescan.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Direct dependents and dependencies are capped at 100 rows each; the\\n\", _jsx(_components.code, {\n children: \"dependencies_total\"\n }), \" and \", _jsx(_components.code, {\n children: \"dependents_total\"\n }), \" fields carry the post-dedup\\ncount so the agent knows when to paginate via the dedicated\\n\", _jsx(_components.code, {\n children: \"/dependencies\"\n }), \" and \", _jsx(_components.code, {\n children: \"/dependents\"\n }), \" endpoints. Both lists are declaration\\nrows, so a repository used through several actions or packages takes several\\ndependent rows: \", _jsx(_components.code, {\n children: \"dependent_repositories_total\"\n }), \" is the number of distinct\\nrepositories behind \", _jsx(_components.code, {\n children: \"dependents_total\"\n }), \". For transitive blast\\nradius (multi-hop downstream), call \", _jsx(_components.code, {\n children: \"/repositories/{id}/impact\"\n }), \" after\\nthis — it is deliberately \", _jsx(_components.em, {\n children: \"not\"\n }), \" bundled here because not every agent flow\\nneeds it.\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Recommended first hydration call after `/lookup`: repo + capped deps + capped dependents + artifacts in one round-trip.","description":"Return the repo, capped direct dependents/dependencies, and artifacts in one call.\n\n**This is the recommended second call** for AI coding agents auditing a\nrepo (after ``/repositories/lookup`` resolves the ID). One request\ncollapses what would otherwise be three or four. The freshness fields on\n``repository`` (``last_scanned_at``, ``last_activity_at``,\n``last_commit_sha``, ``archived``) let the agent decide whether to trust\nthe data or trigger a rescan.\n\nDirect dependents and dependencies are capped at 100 rows each; the\n``dependencies_total`` and ``dependents_total`` fields carry the post-dedup\ncount so the agent knows when to paginate via the dedicated\n``/dependencies`` and ``/dependents`` endpoints. Both lists are declaration\nrows, so a repository used through several actions or packages takes several\ndependent rows: ``dependent_repositories_total`` is the number of distinct\nrepositories behind ``dependents_total``. For transitive blast\nradius (multi-hop downstream), call ``/repositories/{id}/impact`` after\nthis — it is deliberately *not* bundled here because not every agent flow\nneeds it.","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/repositories/{repo_id}/context","href":"/api-reference/repositories/recommended-first-hydration-call-after-`lookup`:-repo-+-capped-deps-+-capped-dependents-+-artifacts-in-one-round-trip","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"Return the repo, capped direct dependents/dependencies, and artifacts in one call.\n\n**This is the recommended second call** for AI coding agents auditing a\nrepo (after ``/repositories/lookup`` resolves the ID). One request\ncollapses what would otherwise be three or four. The freshness fields on\n``repository`` (``last_scanned_at``, ``last_activity_at``,\n``last_commit_sha``, ``archived``) let the agent decide whether to trust\nthe data or trigger a rescan.\n\nDirect dependents and dependencies are capped at 100 rows each; the\n``dependencies_total`` and ``dependents_total`` fields carry the post-dedup\ncount so the agent knows when to paginate via the dedicated\n``/dependencies`` and ``/dependents`` endpoints. Both lists are declaration\nrows, so a repository used through several actions or packages takes several\ndependent rows: ``dependent_repositories_total`` is the number of distinct\nrepositories behind ``dependents_total``. For transitive blast\nradius (multi-hop downstream), call ``/repositories/{id}/impact`` after\nthis — it is deliberately *not* bundled here because not every agent flow\nneeds it.","operationId":"get_repository_context_api_v1_repositories__repo_id__context_get","parameters":["7b07381f-6039-4758-94d7-87d5444e972f","7f6f7a81-f51e-4dd9-b04c-c2c15d17c968","b3612de4-d820-4905-a7a6-4ca254a7d41a"],"responses":{"200":"1f6a76db-f10c-44ed-aec4-a8a5a04b4cef","422":"de9f652d-f202-4ef5-8b75-e59dff8c378b"},"security":["abda92d7-8b28-4d3f-b951-b3c5eec9eaa2","162c3f63-cfd1-457d-97a6-53b5e3b212f9"],"summary":"Recommended first hydration call after `/lookup`: repo + capped deps + capped dependents + artifacts in one round-trip.","tags":["repositories"],"method":"get","type":"path","servers":[],"path":"/api/v1/repositories/{repo_id}/context","baseUrlOptions":[],"title":"Recommended first hydration call after `/lookup`: repo + capped deps + capped dependents + artifacts in one round-trip.","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"7b07381f-6039-4758-94d7-87d5444e972f":{"in":"path","name":"repo_id","required":true,"schema":{"format":"uuid","title":"Repo Id","type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string\u003cuuid>"}},"7f6f7a81-f51e-4dd9-b04c-c2c15d17c968":{"in":"header","name":"X-Workspace-Id","required":false,"schema":{"oneOf":[{"type":"string","title":"X-Workspace-Id","uniqueKey":"oneOf.0","typeLabel":"string"},{"type":"null","title":"X-Workspace-Id","uniqueKey":"oneOf.1","typeLabel":"null"}],"isRequired":false,"uniqueKey":"","typeLabel":"string | null"}},"b3612de4-d820-4905-a7a6-4ca254a7d41a":{"in":"cookie","name":"riftmap_access","required":false,"schema":{"oneOf":[{"type":"string","title":"Riftmap Access","uniqueKey":"oneOf.0","typeLabel":"string"},{"type":"null","title":"Riftmap Access","uniqueKey":"oneOf.1","typeLabel":"null"}],"isRequired":false,"uniqueKey":"","typeLabel":"string | null"}}},"responses":{"1f6a76db-f10c-44ed-aec4-a8a5a04b4cef":{"content":{"application/json":{"schema":{"description":"Single-call context bundle for AI coding agents.\n\nCombines the repo row (with freshness fields), capped lists of direct\ndependents + dependencies, and the artifacts this repo produces. Both lists\nhold declaration rows: on ``dependents`` the consuming repository is\n``target_repository_id``. For full pagination of dependents/dependencies use\nthe dedicated endpoints; for transitive blast radius use\n``/repositories/{id}/impact``.","properties":{"artifacts":{"items":{"description":"Slim artifact summary embedded in the repo context bundle.","properties":{"artifact_type":{"title":"Artifact Type","type":"string","isRequired":true,"uniqueKey":"artifacts.items.[INDEX].artifact_type","typeLabel":"string"},"id":{"format":"uuid","title":"Id","type":"string","isRequired":true,"uniqueKey":"artifacts.items.[INDEX].id","typeLabel":"string\u003cuuid>"},"name":{"title":"Name","type":"string","isRequired":true,"uniqueKey":"artifacts.items.[INDEX].name","typeLabel":"string"},"version":{"oneOf":[{"type":"string","title":"Version","isRequired":true,"uniqueKey":"artifacts.items.[INDEX].version.oneOf.0","typeLabel":"string"},{"type":"null","title":"Version","isRequired":true,"uniqueKey":"artifacts.items.[INDEX].version.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"artifacts.items.[INDEX].version","typeLabel":"string | null"},"is_first_party":{"default":true,"title":"Is First Party","type":"boolean","uniqueKey":"artifacts.items.[INDEX].is_first_party","typeLabel":"boolean"}},"required":["id","artifact_type","name","version"],"title":"RepositoryContextArtifact","type":"object","uniqueKey":"artifacts.items.[INDEX]","typeLabel":"RepositoryContextArtifact · object"},"title":"Artifacts","type":"array","isRequired":true,"uniqueKey":"artifacts","typeLabel":"RepositoryContextArtifact · object[]"},"dependencies":{"items":{"description":"A single dependency declaration from a repo's latest scan.","properties":{"confidence":{"title":"Confidence","type":"number","isRequired":true,"uniqueKey":"dependencies.items.[INDEX].confidence","typeLabel":"number"},"dependency_type":{"title":"Dependency Type","type":"string","isRequired":true,"uniqueKey":"dependencies.items.[INDEX].dependency_type","typeLabel":"string"},"id":{"format":"uuid","title":"Id","type":"string","isRequired":true,"uniqueKey":"dependencies.items.[INDEX].id","typeLabel":"string\u003cuuid>"},"raw_reference":{"title":"Raw Reference","type":"string","isRequired":true,"uniqueKey":"dependencies.items.[INDEX].raw_reference","typeLabel":"string"},"resolved":{"title":"Resolved","type":"boolean","isRequired":true,"uniqueKey":"dependencies.items.[INDEX].resolved","typeLabel":"boolean"},"source_file":{"title":"Source File","type":"string","isRequired":true,"uniqueKey":"dependencies.items.[INDEX].source_file","typeLabel":"string"},"source_line":{"title":"Source Line","type":"integer","isRequired":true,"uniqueKey":"dependencies.items.[INDEX].source_line","typeLabel":"integer"},"version_constraint":{"oneOf":[{"type":"string","title":"Version Constraint","isRequired":true,"uniqueKey":"dependencies.items.[INDEX].version_constraint.oneOf.0","typeLabel":"string"},{"type":"null","title":"Version Constraint","isRequired":true,"uniqueKey":"dependencies.items.[INDEX].version_constraint.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"dependencies.items.[INDEX].version_constraint","typeLabel":"string | null"},"dependency_relationship":{"oneOf":[{"type":"string","title":"Dependency Relationship","uniqueKey":"dependencies.items.[INDEX].dependency_relationship.oneOf.0","typeLabel":"string"},{"type":"null","title":"Dependency Relationship","uniqueKey":"dependencies.items.[INDEX].dependency_relationship.oneOf.1","typeLabel":"null"}],"uniqueKey":"dependencies.items.[INDEX].dependency_relationship","typeLabel":"string | null"},"target_artifact_id":{"oneOf":[{"type":"string","title":"Target Artifact Id","format":"uuid","uniqueKey":"dependencies.items.[INDEX].target_artifact_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","title":"Target Artifact Id","uniqueKey":"dependencies.items.[INDEX].target_artifact_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"dependencies.items.[INDEX].target_artifact_id","typeLabel":"string\u003cuuid> | null"},"target_repository_id":{"oneOf":[{"type":"string","title":"Target Repository Id","format":"uuid","uniqueKey":"dependencies.items.[INDEX].target_repository_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","title":"Target Repository Id","uniqueKey":"dependencies.items.[INDEX].target_repository_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"dependencies.items.[INDEX].target_repository_id","typeLabel":"string\u003cuuid> | null"},"target_repository_name":{"oneOf":[{"type":"string","title":"Target Repository Name","uniqueKey":"dependencies.items.[INDEX].target_repository_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Target Repository Name","uniqueKey":"dependencies.items.[INDEX].target_repository_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"dependencies.items.[INDEX].target_repository_name","typeLabel":"string | null"},"version_constraint_state":{"default":"absent","title":"Version Constraint State","type":"string","uniqueKey":"dependencies.items.[INDEX].version_constraint_state","typeLabel":"string"}},"required":["id","dependency_type","raw_reference","version_constraint","source_file","source_line","resolved","confidence"],"title":"DependencyInfo","type":"object","uniqueKey":"dependencies.items.[INDEX]","typeLabel":"DependencyInfo · object"},"title":"Dependencies","type":"array","isRequired":true,"uniqueKey":"dependencies","typeLabel":"DependencyInfo · object[]"},"dependencies_total":{"title":"Dependencies Total","type":"integer","isRequired":true,"uniqueKey":"dependencies_total","typeLabel":"integer"},"dependents":{"items":{"description":"A single dependency declaration from a repo's latest scan.","properties":{"confidence":{"title":"Confidence","type":"number","isRequired":true,"uniqueKey":"dependents.items.[INDEX].confidence","typeLabel":"number"},"dependency_type":{"title":"Dependency Type","type":"string","isRequired":true,"uniqueKey":"dependents.items.[INDEX].dependency_type","typeLabel":"string"},"id":{"format":"uuid","title":"Id","type":"string","isRequired":true,"uniqueKey":"dependents.items.[INDEX].id","typeLabel":"string\u003cuuid>"},"raw_reference":{"title":"Raw Reference","type":"string","isRequired":true,"uniqueKey":"dependents.items.[INDEX].raw_reference","typeLabel":"string"},"resolved":{"title":"Resolved","type":"boolean","isRequired":true,"uniqueKey":"dependents.items.[INDEX].resolved","typeLabel":"boolean"},"source_file":{"title":"Source File","type":"string","isRequired":true,"uniqueKey":"dependents.items.[INDEX].source_file","typeLabel":"string"},"source_line":{"title":"Source Line","type":"integer","isRequired":true,"uniqueKey":"dependents.items.[INDEX].source_line","typeLabel":"integer"},"version_constraint":{"oneOf":[{"type":"string","title":"Version Constraint","isRequired":true,"uniqueKey":"dependents.items.[INDEX].version_constraint.oneOf.0","typeLabel":"string"},{"type":"null","title":"Version Constraint","isRequired":true,"uniqueKey":"dependents.items.[INDEX].version_constraint.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"dependents.items.[INDEX].version_constraint","typeLabel":"string | null"},"dependency_relationship":{"oneOf":[{"type":"string","title":"Dependency Relationship","uniqueKey":"dependents.items.[INDEX].dependency_relationship.oneOf.0","typeLabel":"string"},{"type":"null","title":"Dependency Relationship","uniqueKey":"dependents.items.[INDEX].dependency_relationship.oneOf.1","typeLabel":"null"}],"uniqueKey":"dependents.items.[INDEX].dependency_relationship","typeLabel":"string | null"},"target_artifact_id":{"oneOf":[{"type":"string","title":"Target Artifact Id","format":"uuid","uniqueKey":"dependents.items.[INDEX].target_artifact_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","title":"Target Artifact Id","uniqueKey":"dependents.items.[INDEX].target_artifact_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"dependents.items.[INDEX].target_artifact_id","typeLabel":"string\u003cuuid> | null"},"target_repository_id":{"oneOf":[{"type":"string","title":"Target Repository Id","format":"uuid","uniqueKey":"dependents.items.[INDEX].target_repository_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","title":"Target Repository Id","uniqueKey":"dependents.items.[INDEX].target_repository_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"dependents.items.[INDEX].target_repository_id","typeLabel":"string\u003cuuid> | null"},"target_repository_name":{"oneOf":[{"type":"string","title":"Target Repository Name","uniqueKey":"dependents.items.[INDEX].target_repository_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Target Repository Name","uniqueKey":"dependents.items.[INDEX].target_repository_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"dependents.items.[INDEX].target_repository_name","typeLabel":"string | null"},"version_constraint_state":{"default":"absent","title":"Version Constraint State","type":"string","uniqueKey":"dependents.items.[INDEX].version_constraint_state","typeLabel":"string"}},"required":["id","dependency_type","raw_reference","version_constraint","source_file","source_line","resolved","confidence"],"title":"DependencyInfo","type":"object","uniqueKey":"dependents.items.[INDEX]","typeLabel":"DependencyInfo · object"},"title":"Dependents","type":"array","isRequired":true,"uniqueKey":"dependents","typeLabel":"DependencyInfo · object[]"},"dependents_total":{"title":"Dependents Total","type":"integer","isRequired":true,"uniqueKey":"dependents_total","typeLabel":"integer"},"repository":{"description":"Basic repository record.","properties":{"archived":{"title":"Archived","type":"boolean","isRequired":true,"uniqueKey":"repository.archived","typeLabel":"boolean"},"clone_url":{"title":"Clone Url","type":"string","isRequired":true,"uniqueKey":"repository.clone_url","typeLabel":"string"},"connected_org_id":{"format":"uuid","title":"Connected Org Id","type":"string","isRequired":true,"uniqueKey":"repository.connected_org_id","typeLabel":"string\u003cuuid>"},"created_at":{"format":"date-time","title":"Created At","type":"string","isRequired":true,"uniqueKey":"repository.created_at","typeLabel":"string\u003cdate-time>"},"default_branch":{"title":"Default Branch","type":"string","isRequired":true,"uniqueKey":"repository.default_branch","typeLabel":"string"},"full_path":{"title":"Full Path","type":"string","isRequired":true,"uniqueKey":"repository.full_path","typeLabel":"string"},"id":{"format":"uuid","title":"Id","type":"string","isRequired":true,"uniqueKey":"repository.id","typeLabel":"string\u003cuuid>"},"is_fork":{"title":"Is Fork","type":"boolean","isRequired":true,"uniqueKey":"repository.is_fork","typeLabel":"boolean"},"last_activity_at":{"oneOf":[{"type":"string","title":"Last Activity At","format":"date-time","isRequired":true,"uniqueKey":"repository.last_activity_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Last Activity At","isRequired":true,"uniqueKey":"repository.last_activity_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"repository.last_activity_at","typeLabel":"string\u003cdate-time> | null"},"last_commit_sha":{"oneOf":[{"type":"string","title":"Last Commit Sha","isRequired":true,"uniqueKey":"repository.last_commit_sha.oneOf.0","typeLabel":"string"},{"type":"null","title":"Last Commit Sha","isRequired":true,"uniqueKey":"repository.last_commit_sha.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"repository.last_commit_sha","typeLabel":"string | null"},"last_scanned_at":{"oneOf":[{"type":"string","title":"Last Scanned At","format":"date-time","isRequired":true,"uniqueKey":"repository.last_scanned_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Last Scanned At","isRequired":true,"uniqueKey":"repository.last_scanned_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"repository.last_scanned_at","typeLabel":"string\u003cdate-time> | null"},"name":{"title":"Name","type":"string","isRequired":true,"uniqueKey":"repository.name","typeLabel":"string"},"platform_id":{"title":"Platform Id","type":"string","isRequired":true,"uniqueKey":"repository.platform_id","typeLabel":"string"}},"required":["id","connected_org_id","platform_id","name","full_path","clone_url","default_branch","last_scanned_at","last_commit_sha","last_activity_at","archived","is_fork","created_at"],"title":"RepositoryResponse","type":"object","isRequired":true,"uniqueKey":"repository","typeLabel":"RepositoryResponse · object"},"dependent_repositories_total":{"default":0,"title":"Dependent Repositories Total","type":"integer","uniqueKey":"dependent_repositories_total","typeLabel":"integer"},"ownership":{"oneOf":[{"type":"object","title":"OwnershipContextBlock","description":"Slim ownership summary embedded in ``/repositories/{id}/context``.\n\nTiny by design (spec §8) — the context bundle is capped. Agents call\n``/repositories/{id}/ownership`` for the full contributor list.","required":["bus_factor","top_author_name","human_author_count"],"properties":{"bus_factor":{"title":"Bus Factor","type":"integer","isRequired":true,"uniqueKey":"ownership.oneOf.0.bus_factor","typeLabel":"integer"},"human_author_count":{"title":"Human Author Count","type":"integer","isRequired":true,"uniqueKey":"ownership.oneOf.0.human_author_count","typeLabel":"integer"},"top_author_name":{"oneOf":[{"type":"string","title":"Top Author Name","isRequired":true,"uniqueKey":"ownership.oneOf.0.top_author_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Top Author Name","isRequired":true,"uniqueKey":"ownership.oneOf.0.top_author_name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"ownership.oneOf.0.top_author_name","typeLabel":"string | null"}},"uniqueKey":"ownership.oneOf.0","typeLabel":"OwnershipContextBlock · object"},{"type":"null","uniqueKey":"ownership.oneOf.1","typeLabel":"null"}],"uniqueKey":"ownership","typeLabel":"OwnershipContextBlock · object | null"}},"required":["repository","dependencies","dependencies_total","dependents","dependents_total","artifacts"],"title":"RepositoryContextResponse","type":"object","uniqueKey":"","typeLabel":"RepositoryContextResponse · object"},"examples":{"Example":{"title":"Example","value":{"artifacts":[{"artifact_type":"\u003cstring>","id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","name":"\u003cstring>","version":"\u003cstring>","is_first_party":true}],"dependencies":[{"confidence":123,"dependency_type":"\u003cstring>","id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","raw_reference":"\u003cstring>","resolved":true,"source_file":"\u003cstring>","source_line":123,"version_constraint":"\u003cstring>","dependency_relationship":"\u003cstring>","target_artifact_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","target_repository_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","target_repository_name":"\u003cstring>","version_constraint_state":"absent"}],"dependencies_total":123,"dependents":[{"confidence":123,"dependency_type":"\u003cstring>","id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","raw_reference":"\u003cstring>","resolved":true,"source_file":"\u003cstring>","source_line":123,"version_constraint":"\u003cstring>","dependency_relationship":"\u003cstring>","target_artifact_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","target_repository_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","target_repository_name":"\u003cstring>","version_constraint_state":"absent"}],"dependents_total":123,"repository":{"archived":true,"clone_url":"\u003cstring>","connected_org_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","created_at":"2023-11-07T05:31:56Z","default_branch":"\u003cstring>","full_path":"\u003cstring>","id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","is_fork":true,"last_activity_at":"2023-11-07T05:31:56Z","last_commit_sha":"\u003cstring>","last_scanned_at":"2023-11-07T05:31:56Z","name":"\u003cstring>","platform_id":"\u003cstring>"},"dependent_repositories_total":0,"ownership":{"bus_factor":123,"human_author_count":123,"top_author_name":"\u003cstring>"}}}},"exampleType":"generated"}},"description":"Successful Response","exampleType":"generated"},"de9f652d-f202-4ef5-8b75-e59dff8c378b":{"content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"oneOf":[{"type":"string","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"detail.items.[INDEX].loc.items.[INDEX]","typeLabel":"string | integer"},"title":"Location","type":"array","isRequired":true,"uniqueKey":"detail.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"title":"Message","type":"string","isRequired":true,"uniqueKey":"detail.items.[INDEX].msg","typeLabel":"string"},"type":{"title":"Error Type","type":"string","isRequired":true,"uniqueKey":"detail.items.[INDEX].type","typeLabel":"string"},"ctx":{"title":"Context","type":"object","uniqueKey":"detail.items.[INDEX].ctx","typeLabel":"Context · object"},"input":{"oneOf":[{"title":"Input"}],"uniqueKey":"detail.items.[INDEX].input","typeLabel":"any"}},"required":["loc","msg","type"],"title":"ValidationError","type":"object","uniqueKey":"detail.items.[INDEX]","typeLabel":"ValidationError · object"},"title":"Detail","type":"array","uniqueKey":"detail","typeLabel":"ValidationError · object[]"}},"title":"HTTPValidationError","type":"object","uniqueKey":"","typeLabel":"HTTPValidationError · object"},"examples":{"Example":{"title":"Example","value":{"detail":[{"loc":["\u003cstring>"],"msg":"\u003cstring>","type":"\u003cstring>","ctx":{},"input":"\u003cunknown>"}]}}},"exampleType":"generated"}},"description":"Validation Error","exampleType":"generated"}},"security":{"abda92d7-8b28-4d3f-b951-b3c5eec9eaa2":{"APIKeyHeader":{"in":"header","name":"X-API-Key","type":"apiKey","scopes":[]}},"162c3f63-cfd1-457d-97a6-53b5e3b212f9":{"HTTPBearer":{"description":"API key as Bearer token (rfm_live_... prefix)","scheme":"bearer","type":"http","scopes":[]}}},"servers":{},"processedSecurityOptions":[{"schemes":[{"scheme":{"in":"header","name":"X-API-Key","type":"apiKey","scopes":[]},"schema":{"title":"X-API-Key","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"APIKeyHeader","name":"X-API-Key"}],"title":"APIKeyHeader"},{"schemes":[{"scheme":{"description":"API key as Bearer token (rfm_live_... prefix)","scheme":"bearer","type":"http","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"API key as Bearer token (rfm_live_... prefix)","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"HTTPBearer","name":"Authorization"}],"title":"HTTPBearer"}]},"originalFileLocation":"openapi.json"},"subdomain":"westgaardtechnologies","siteName":"Riftmap","title":"Recommended first hydration call after `/lookup`: repo + capped deps + capped dependents + artifacts in one round-trip. - Riftmap","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-27T12:47:01.615Z","originalFileLocation":"api-reference/repositories/recommended-first-hydration-call-after-`lookup`:-repo-+-capped-deps-+-capped-dependents-+-artifacts-in-one-round-trip.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Return the repo, capped direct dependents/dependencies, and artifacts in one call. This is the recommended second call for AI coding agents auditing a repo (after /repositories/lookup resolves the ID). One request collapses what would otherwise be three or four. The freshness fields on repository (last_scanned_at, last_activity_at, last_commit_sha, archived) let the agent decide whether to trust the data or trigger a rescan. Direct dependents and dependencies are capped at 100 rows each; the dependencies_total and dependents_total fields carry the post-dedup count so the agent knows when to paginate via the dedicated /dependencies and /dependents endpoints. Both lists are declaration rows, so a repository used through several actions or packages takes several dependent rows: dependent_repositories_total is the number of distinct repositories behind dependents_total. For transitive blast radius (multi-hop downstream), call /repositories/{id}/impact after this — it is deliberately not bundled here because not every agent flow needs it.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Riftmap\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/westgaardtechnologies/R6ltIliKa1Ys7Brf/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/westgaardtechnologies/R6ltIliKa1Ys7Brf/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/westgaardtechnologies/R6ltIliKa1Ys7Brf/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/westgaardtechnologies/R6ltIliKa1Ys7Brf/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/westgaardtechnologies/R6ltIliKa1Ys7Brf/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/westgaardtechnologies/R6ltIliKa1Ys7Brf/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/westgaardtechnologies/R6ltIliKa1Ys7Brf/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/westgaardtechnologies/R6ltIliKa1Ys7Brf/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/westgaardtechnologies/R6ltIliKa1Ys7Brf/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Recommended first hydration call after `/lookup`: repo + capped deps + capped dependents + artifacts in one round-trip. - Riftmap\">\u003cmeta data-mint-head property=\"og:description\" content=\"Return the repo, capped direct dependents/dependencies, and artifacts in one call. This is the recommended second call for AI coding agents auditing a repo (after /repositories/lookup resolves the ID). One request collapses what would otherwise be three or four. The freshness fields on repository (last_scanned_at, last_activity_at, last_commit_sha, archived) let the agent decide whether to trust the data or trigger a rescan. Direct dependents and dependencies are capped at 100 rows each; the dependencies_total and dependents_total fields carry the post-dedup count so the agent knows when to paginate via the dedicated /dependencies and /dependents endpoints. Both lists are declaration rows, so a repository used through several actions or packages takes several dependent rows: dependent_repositories_total is the number of distinct repositories behind dependents_total. For transitive blast radius (multi-hop downstream), call /repositories/{id}/impact after this — it is deliberately not bundled here because not every agent flow needs it.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Riftmap Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.riftmap.dev/api-reference/repositories/recommended-first-hydration-call-after-`lookup`:-repo-+-capped-deps-+-capped-dependents-+-artifacts-in-one-round-trip\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://westgaardtechnologies.mintlify.site/_mintlify/api/og/v2?division=repositories\u0026amp;title=Recommended+first+hydration+call+after+%60%2Flookup%60%3A+repo+%2B+capped+deps+%2B+capped+dependents+%2B+artifacts+in+one+round-trip.\u0026amp;description=Return+the+repo%2C+capped+direct+dependents%2Fdependencies%2C+and+artifacts+in+one+call.%0A%0A**This+is+the+recommended+second+call**+for+AI+coding+agents+auditing+a%0Arepo\u0026amp;theme=d0dd8628f3c37e5c2209c0df\u0026amp;signature=0dc6d14c96d05a6dc23922fe4360a1c612e007adc387b9d7dfd22f162b5b339c\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Recommended first hydration call after `/lookup`: repo + capped deps + capped dependents + artifacts in one round-trip. - Riftmap\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Return the repo, capped direct dependents/dependencies, and artifacts in one call. This is the recommended second call for AI coding agents auditing a repo (after /repositories/lookup resolves the ID). One request collapses what would otherwise be three or four. The freshness fields on repository (last_scanned_at, last_activity_at, last_commit_sha, archived) let the agent decide whether to trust the data or trigger a rescan. Direct dependents and dependencies are capped at 100 rows each; the dependencies_total and dependents_total fields carry the post-dedup count so the agent knows when to paginate via the dedicated /dependencies and /dependents endpoints. Both lists are declaration rows, so a repository used through several actions or packages takes several dependent rows: dependent_repositories_total is the number of distinct repositories behind dependents_total. For transitive blast radius (multi-hop downstream), call /repositories/{id}/impact after this — it is deliberately not bundled here because not every agent flow needs it.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://westgaardtechnologies.mintlify.site/_mintlify/api/og/v2?division=repositories\u0026amp;title=Recommended+first+hydration+call+after+%60%2Flookup%60%3A+repo+%2B+capped+deps+%2B+capped+dependents+%2B+artifacts+in+one+round-trip.\u0026amp;description=Return+the+repo%2C+capped+direct+dependents%2Fdependencies%2C+and+artifacts+in+one+call.%0A%0A**This+is+the+recommended+second+call**+for+AI+coding+agents+auditing+a%0Arepo\u0026amp;theme=d0dd8628f3c37e5c2209c0df\u0026amp;signature=0dc6d14c96d05a6dc23922fe4360a1c612e007adc387b9d7dfd22f162b5b339c\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/westgaardtechnologies/R6ltIliKa1Ys7Brf/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Riftmap\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#7B61FF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.riftmap.dev/api-reference/repositories/recommended-first-hydration-call-after-`lookup`:-repo-+-capped-deps-+-capped-dependents-+-artifacts-in-one-round-trip\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/repositories/recommended-first-hydration-call-after-%60lookup%60%3A-repo-%2B-capped-deps-%2B-capped-dependents-%2B-artifacts-in-one-round-trip.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.riftmap.dev/#organization\",\"name\":\"Riftmap\",\"url\":\"https://docs.riftmap.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/westgaardtechnologies/3NKuoQH-GCYzbIwS/logo.png?fit=max\u0026auto=format\u0026n=3NKuoQH-GCYzbIwS\u0026q=85\u0026s=ca82ef4bbabdfd659799823771bad0ec\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.riftmap.dev#website\",\"name\":\"Riftmap\",\"url\":\"https://docs.riftmap.dev\",\"publisher\":{\"@id\":\"https://docs.riftmap.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.riftmap.dev/api-reference/repositories/recommended-first-hydration-call-after-%60lookup%60:-repo-+-capped-deps-+-capped-dependents-+-artifacts-in-one-round-trip#webpage\",\"url\":\"https://docs.riftmap.dev/api-reference/repositories/recommended-first-hydration-call-after-%60lookup%60:-repo-+-capped-deps-+-capped-dependents-+-artifacts-in-one-round-trip\",\"name\":\"Recommended first hydration call after `/lookup`: repo + capped deps + capped dependents + artifacts in one round-trip.\",\"description\":\"Return the repo, capped direct dependents/dependencies, and artifacts in one call. This is the recommended second call for AI coding agents auditing a repo (after /repositories/lookup resolves the ID). One request collapses what would otherwise be three or four. The freshness fields on repository (last_scanned_at, last_activity_at, last_commit_sha, archived) let the agent decide whether to trust the data or trigger a rescan. Direct dependents and dependencies are capped at 100 rows each; the dependencies_total and dependents_total fields carry the post-dedup count so the agent knows when to paginate via the dedicated /dependencies and /dependents endpoints. Both lists are declaration rows, so a repository used through several actions or packages takes several dependent rows: dependent_repositories_total is the number of distinct repositories behind dependents_total. For transitive blast radius (multi-hop downstream), call /repositories/{id}/impact after this — it is deliberately not bundled here because not every agent flow needs it.\",\"dateModified\":\"2026-09-27T12:47:01.615Z\",\"isPartOf\":{\"@id\":\"https://docs.riftmap.dev#website\"},\"breadcrumb\":{\"@id\":\"https://docs.riftmap.dev/api-reference/repositories/recommended-first-hydration-call-after-%60lookup%60:-repo-+-capped-deps-+-capped-dependents-+-artifacts-in-one-round-trip#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.riftmap.dev/api-reference/repositories/recommended-first-hydration-call-after-%60lookup%60:-repo-+-capped-deps-+-capped-dependents-+-artifacts-in-one-round-trip#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://docs.riftmap.dev/api-reference/artifacts/get-a-single-artifact-by-id-with-consumer-count-and-orphan-flag\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"repositories\",\"item\":\"https://docs.riftmap.dev/api-reference/repositories/list-repositories-discovered-in-a-connected-org\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Recommended first hydration call after `/lookup`: repo + capped deps + capped dependents + artifacts in one round-trip.\",\"item\":\"https://docs.riftmap.dev/api-reference/repositories/recommended-first-hydration-call-after-%60lookup%60:-repo-+-capped-deps-+-capped-dependents-+-artifacts-in-one-round-trip\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.riftmap.dev/api-reference/repositories/recommended-first-hydration-call-after-%60lookup%60:-repo-+-capped-deps-+-capped-dependents-+-artifacts-in-one-round-trip#apireference\",\"headline\":\"Recommended first hydration call after `/lookup`: repo + capped deps + capped dependents + artifacts in one round-trip.\",\"name\":\"Recommended first hydration call after `/lookup`: repo + capped deps + capped dependents + artifacts in one round-trip.\",\"description\":\"Return the repo, capped direct dependents/dependencies, and artifacts in one call. This is the recommended second call for AI coding agents auditing a repo (after /repositories/lookup resolves the ID). One request collapses what would otherwise be three or four. The freshness fields on repository (last_scanned_at, last_activity_at, last_commit_sha, archived) let the agent decide whether to trust the data or trigger a rescan. Direct dependents and dependencies are capped at 100 rows each; the dependencies_total and dependents_total fields carry the post-dedup count so the agent knows when to paginate via the dedicated /dependencies and /dependents endpoints. Both lists are declaration rows, so a repository used through several actions or packages takes several dependent rows: dependent_repositories_total is the number of distinct repositories behind dependents_total. For transitive blast radius (multi-hop downstream), call /repositories/{id}/impact after this — it is deliberately not bundled here because not every agent flow needs it.\",\"url\":\"https://docs.riftmap.dev/api-reference/repositories/recommended-first-hydration-call-after-%60lookup%60:-repo-+-capped-deps-+-capped-dependents-+-artifacts-in-one-round-trip\",\"mainEntityOfPage\":{\"@id\":\"https://docs.riftmap.dev/api-reference/repositories/recommended-first-hydration-call-after-%60lookup%60:-repo-+-capped-deps-+-capped-dependents-+-artifacts-in-one-round-trip#webpage\"},\"dateModified\":\"2026-09-27T12:47:01.615Z\",\"publisher\":{\"@id\":\"https://docs.riftmap.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.riftmap.dev#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Riftmap\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Riftmap\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/repositories/recommended-first-hydration-call-after-%60lookup%60%3A-repo-%2B-capped-deps-%2B-capped-dependents-%2B-artifacts-in-one-round-trip.md","siteName":"Riftmap","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"Overview","pages":[{"title":"API reference","href":"/api-reference/introduction"}]},{"group":"Endpoints","pages":[{"group":"artifacts","pages":[{"title":"Get a single artifact by ID, with consumer count and orphan flag.","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/artifacts/{artifact_id}","href":"/api-reference/artifacts/get-a-single-artifact-by-id-with-consumer-count-and-orphan-flag"},{"title":"List repositories consuming this artifact, with pinned versions.","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/artifacts/{artifact_id}/consumers","href":"/api-reference/artifacts/list-repositories-consuming-this-artifact-with-pinned-versions"},{"title":"List all versions of this artifact seen across the org, with consumer counts.","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/artifacts/{artifact_id}/versions","href":"/api-reference/artifacts/list-all-versions-of-this-artifact-seen-across-the-org-with-consumer-counts"},{"title":"List artifacts (Docker images, packages, modules) produced in a connected org.","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/connected-orgs/{connected_org_id}/artifacts","href":"/api-reference/artifacts/list-artifacts-docker-images-packages-modules-produced-in-a-connected-org"}]},{"group":"auth","pages":[{"title":"Accept Tos","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/auth/accept-tos","href":"/api-reference/auth/accept-tos"},{"title":"Cancel Account Deletion","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/auth/account/cancel-deletion","href":"/api-reference/auth/cancel-account-deletion"},{"title":"Delete Account","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/auth/account/delete","href":"/api-reference/auth/delete-account"},{"title":"Verify Email","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/auth/email/verify","href":"/api-reference/auth/verify-email"},{"title":"Resend Verification Email","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/auth/email/verify/resend","href":"/api-reference/auth/resend-verification-email"},{"title":"Login","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/auth/login","href":"/api-reference/auth/login"},{"title":"Logout","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/auth/logout","href":"/api-reference/auth/logout"},{"title":"Get Me","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/auth/me","href":"/api-reference/auth/get-me"},{"title":"Update Me","deprecated":null,"version":null,"openapi":"/openapi.json patch /api/v1/auth/me","href":"/api-reference/auth/update-me"},{"title":"Oauth Callback","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/auth/oauth/{provider}/callback","href":"/api-reference/auth/oauth-callback"},{"title":"Oauth Start","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/auth/oauth/{provider}/start","href":"/api-reference/auth/oauth-start"},{"title":"Change Password","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/auth/password/change","href":"/api-reference/auth/change-password"},{"title":"Confirm Password Reset","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/auth/password/reset/confirm","href":"/api-reference/auth/confirm-password-reset"},{"title":"Request Password Reset","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/auth/password/reset/request","href":"/api-reference/auth/request-password-reset"},{"title":"Set Password","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/auth/password/set","href":"/api-reference/auth/set-password"},{"title":"List Providers","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/auth/providers","href":"/api-reference/auth/list-providers"},{"title":"Refresh Token","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/auth/refresh","href":"/api-reference/auth/refresh-token"},{"title":"Register","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/auth/register","href":"/api-reference/auth/register"}]},{"group":"billing","pages":[{"title":"Get Plan Catalog","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/billing/plans","href":"/api-reference/billing/get-plan-catalog"},{"title":"Stripe Webhook","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/webhooks/stripe","href":"/api-reference/billing/stripe-webhook"},{"title":"Get Billing Status","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/workspaces/{workspace_id}/billing","href":"/api-reference/billing/get-billing-status"},{"title":"Cancel Subscription","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/workspaces/{workspace_id}/billing/cancel","href":"/api-reference/billing/cancel-subscription"},{"title":"Preview pending charges that will bill on the final invoice if not waived","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/workspaces/{workspace_id}/billing/cancel/preview","href":"/api-reference/billing/preview-pending-charges-that-will-bill-on-the-final-invoice-if-not-waived"},{"title":"Change Plan","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/workspaces/{workspace_id}/billing/change-plan","href":"/api-reference/billing/change-plan"},{"title":"Preview Change Plan","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/workspaces/{workspace_id}/billing/change-plan/preview","href":"/api-reference/billing/preview-change-plan"},{"title":"Create Checkout Session","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/workspaces/{workspace_id}/billing/checkout","href":"/api-reference/billing/create-checkout-session"},{"title":"Get Billing History","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/workspaces/{workspace_id}/billing/history","href":"/api-reference/billing/get-billing-history"},{"title":"Get Payment Info","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/workspaces/{workspace_id}/billing/payment-info","href":"/api-reference/billing/get-payment-info"},{"title":"Attach Payment Method","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/workspaces/{workspace_id}/billing/payment-methods","href":"/api-reference/billing/attach-payment-method"},{"title":"Create Setup Intent","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/workspaces/{workspace_id}/billing/payment-methods/setup-intent","href":"/api-reference/billing/create-setup-intent"},{"title":"Create Portal Session","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/workspaces/{workspace_id}/billing/portal","href":"/api-reference/billing/create-portal-session"},{"title":"Resume Subscription","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/workspaces/{workspace_id}/billing/resume","href":"/api-reference/billing/resume-subscription"},{"title":"Add Seats","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/workspaces/{workspace_id}/billing/seats","href":"/api-reference/billing/add-seats"},{"title":"Remove Seats","deprecated":null,"version":null,"openapi":"/openapi.json delete /api/v1/workspaces/{workspace_id}/billing/seats","href":"/api-reference/billing/remove-seats"},{"title":"Preview Seat Change","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/workspaces/{workspace_id}/billing/seats/preview","href":"/api-reference/billing/preview-seat-change"},{"title":"Get Billing Usage","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/workspaces/{workspace_id}/billing/usage","href":"/api-reference/billing/get-billing-usage"}]},{"group":"connected-orgs","pages":[{"title":"List Connected Orgs","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/connected-orgs","href":"/api-reference/connected-orgs/list-connected-orgs"},{"title":"Create Connected Org","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/connected-orgs","href":"/api-reference/connected-orgs/create-connected-org"},{"title":"Get Connected Org","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/connected-orgs/{connected_org_id}","href":"/api-reference/connected-orgs/get-connected-org"},{"title":"Update Connected Org","deprecated":null,"version":null,"openapi":"/openapi.json put /api/v1/connected-orgs/{connected_org_id}","href":"/api-reference/connected-orgs/update-connected-org"},{"title":"Delete Connected Org","deprecated":null,"version":null,"openapi":"/openapi.json delete /api/v1/connected-orgs/{connected_org_id}","href":"/api-reference/connected-orgs/delete-connected-org"},{"title":"Ranked findings feed: high-fan-in repos with low bus factor (spec §8). Shares and counts are computed over a trailing window (default 365 days), excluding merge commits, with bot identities stripped; each item carries the `window` (start/end) and `computed_at` it was computed for.","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/connected-orgs/{connected_org_id}/ownership-risk","href":"/api-reference/connected-orgs/ranked-findings-feed:-high-fan-in-repos-with-low-bus-factor-spec-§8-shares-and-counts-are-computed-over-a-trailing-window-default-365-days-excluding-merge-commits-with-bot-identities-stripped;-each-item-carries-the-`window`-startend-and-`computed_at`-it-was-computed-for"},{"title":"Get Connected Org Stats","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/connected-orgs/{connected_org_id}/stats","href":"/api-reference/connected-orgs/get-connected-org-stats"}]},{"group":"graph","pages":[{"title":"Get the dependency graph (full org or subgraph anchored at a repo).","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/connected-orgs/{connected_org_id}/graph","href":"/api-reference/graph/get-the-dependency-graph-full-org-or-subgraph-anchored-at-a-repo"}]},{"group":"repositories","pages":[{"title":"List repositories discovered in a connected org.","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/connected-orgs/{connected_org_id}/repositories","href":"/api-reference/repositories/list-repositories-discovered-in-a-connected-org"},{"title":"Resolve a clone URL or org/repo slug to a repository (pass exactly one of `url` or `full_path`).","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/repositories/lookup","href":"/api-reference/repositories/resolve-a-clone-url-or-orgrepo-slug-to-a-repository-pass-exactly-one-of-`url`-or-`full_path`"},{"title":"Get a single repository by ID, including freshness fields.","description":"Fetch one repository by ID, scoped to the authenticated workspace via its connected org. Returns the full row including freshness fields; raises 404 if no match.","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/repositories/{repo_id}","href":"/api-reference/repositories/get-a-single-repository-by-id-including-freshness-fields"},{"title":"Recommended first hydration call after `/lookup`: repo + capped deps + capped dependents + artifacts in one round-trip.","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/repositories/{repo_id}/context","href":"/api-reference/repositories/recommended-first-hydration-call-after-`lookup`:-repo-+-capped-deps-+-capped-dependents-+-artifacts-in-one-round-trip"},{"title":"List the dependency declarations this repository makes.","description":"Get all dependency declarations from this repo's latest scan.\n\nPaginated via ``limit`` / ``offset`` (default 100, max 500). ``X-Total-Count``\ncarries the post-dedup total so agents know whether to fetch additional pages.","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/repositories/{repo_id}/dependencies","href":"/api-reference/repositories/list-the-dependency-declarations-this-repository-makes"},{"title":"List the repositories that directly depend on this repository.","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/repositories/{repo_id}/dependents","href":"/api-reference/repositories/list-the-repositories-that-directly-depend-on-this-repository"},{"title":"Bus-factor signal + capped human contributors for one repo (spec §8).","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/repositories/{repo_id}/ownership","href":"/api-reference/repositories/bus-factor-signal-+-capped-human-contributors-for-one-repo-spec-§8"}]},{"group":"scans","pages":[{"title":"List Scans","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/connected-orgs/{connected_org_id}/scans","href":"/api-reference/scans/list-scans"},{"title":"Trigger Scan","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/connected-orgs/{connected_org_id}/scans","href":"/api-reference/scans/trigger-scan"},{"title":"Get Scan","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/scans/{scan_id}","href":"/api-reference/scans/get-scan"},{"title":"Cancel Scan","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/scans/{scan_id}/cancel","href":"/api-reference/scans/cancel-scan"}]},{"group":"invitations","pages":[{"title":"Preview Invitation","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/invitations/{token}","href":"/api-reference/invitations/preview-invitation"},{"title":"Accept Invitation","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/invitations/{token}/accept","href":"/api-reference/invitations/accept-invitation"},{"title":"List Invitations","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/workspaces/{workspace_id}/invitations","href":"/api-reference/invitations/list-invitations"},{"title":"Create Invitation","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/workspaces/{workspace_id}/invitations","href":"/api-reference/invitations/create-invitation"},{"title":"Revoke Invitation","deprecated":null,"version":null,"openapi":"/openapi.json delete /api/v1/workspaces/{workspace_id}/invitations/{invitation_id}","href":"/api-reference/invitations/revoke-invitation"}]},{"group":"impact","pages":[{"title":"Transitive downstream blast radius (repo-level BFS). NOT file-path scoped — accepts only `max_depth` + `min_confidence`.","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/repositories/{repo_id}/impact","href":"/api-reference/impact/transitive-downstream-blast-radius-repo-level-bfs-not-file-path-scoped-—-accepts-only-`max_depth`-+-`min_confidence`"}]},{"group":"workspaces","pages":[{"title":"List Workspaces","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/workspaces","href":"/api-reference/workspaces/list-workspaces"},{"title":"Create Workspace","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/workspaces","href":"/api-reference/workspaces/create-workspace"},{"title":"Create Workspace With Checkout","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/workspaces/create-with-checkout","href":"/api-reference/workspaces/create-workspace-with-checkout"},{"title":"Get Workspace","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/workspaces/{workspace_id}","href":"/api-reference/workspaces/get-workspace"},{"title":"Update Workspace","deprecated":null,"version":null,"openapi":"/openapi.json put /api/v1/workspaces/{workspace_id}","href":"/api-reference/workspaces/update-workspace"},{"title":"Delete Workspace","deprecated":null,"version":null,"openapi":"/openapi.json delete /api/v1/workspaces/{workspace_id}","href":"/api-reference/workspaces/delete-workspace"},{"title":"Regenerate Api Key","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/workspaces/{workspace_id}/api-key/regenerate","href":"/api-reference/workspaces/regenerate-api-key"},{"title":"Read the workspace's plan entitlements (any member)","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/workspaces/{workspace_id}/entitlements","href":"/api-reference/workspaces/read-the-workspaces-plan-entitlements-any-member"},{"title":"Export Workspace","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/workspaces/{workspace_id}/export","href":"/api-reference/workspaces/export-workspace"},{"title":"List Oauth Orgs","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/workspaces/{workspace_id}/oauth-orgs/{provider}","href":"/api-reference/workspaces/list-oauth-orgs"},{"title":"Get Workspace Stats","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/workspaces/{workspace_id}/stats","href":"/api-reference/workspaces/get-workspace-stats"},{"title":"Transfer Ownership","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/workspaces/{workspace_id}/transfer","href":"/api-reference/workspaces/transfer-ownership"}]},{"group":"api-keys","pages":[{"title":"List Api Keys","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/workspaces/{workspace_id}/api-keys","href":"/api-reference/api-keys/list-api-keys"},{"title":"Create Api Key","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/workspaces/{workspace_id}/api-keys","href":"/api-reference/api-keys/create-api-key"},{"title":"Revoke Api Key","deprecated":null,"version":null,"openapi":"/openapi.json delete /api/v1/workspaces/{workspace_id}/api-keys/{key_id}","href":"/api-reference/api-keys/revoke-api-key"}]},{"group":"memberships","pages":[{"title":"Leave Workspace","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/workspaces/{workspace_id}/leave","href":"/api-reference/memberships/leave-workspace"},{"title":"List Members","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/workspaces/{workspace_id}/members","href":"/api-reference/memberships/list-members"},{"title":"Remove Member","deprecated":null,"version":null,"openapi":"/openapi.json delete /api/v1/workspaces/{workspace_id}/members/{user_id}","href":"/api-reference/memberships/remove-member"},{"title":"Update Member Role","deprecated":null,"version":null,"openapi":"/openapi.json patch /api/v1/workspaces/{workspace_id}/members/{user_id}","href":"/api-reference/memberships/update-member-role"}]},{"group":"meta","pages":[{"title":"Health","deprecated":null,"version":null,"openapi":"/openapi.json get /health","href":"/api-reference/meta/health"},{"title":"Health Detailed","deprecated":null,"version":null,"openapi":"/openapi.json get /health/detailed","href":"/api-reference/meta/health-detailed"},{"title":"Ready","deprecated":null,"version":null,"openapi":"/openapi.json get /ready","href":"/api-reference/meta/ready"}]}]}]}]},"basePath":"","title":"Recommended first hydration call after `/lookup`: repo + capped deps + capped dependents + artifacts in one round-trip. - Riftmap","buildId":"dpl_41S5Z2jG9QnfDRwN1KZrLdBwj7DM","deploymentId":"dpl_41S5Z2jG9QnfDRwN1KZrLdBwj7DM","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DDP9JXtj.js","utils-8yQyvEtx.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-CBCFR8Sn.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-rQaXkUHa.js","snippetPresets-J5KpBTgV.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BVxVH4Cj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BxdQ2vIi.js","shallow-BjV2tFiD.js","getApiPlaygroundDisplay-C_55tL4O.js","CodeSnippet-C0JpiCOC.js","CodeSnippets-w9Ps7djG.js","Page-DTNSD-0M.js","getPastedJson-BDfB-H8d.js","icon-g-kUkkO9.js","MethodPill-v4l6fq0h.js","DuplicateIcon-CvLo-CfU.js","createIcon-165clrrV.js","DynamicMarkdown-D3RQ-fEj.js","SectionHeading-vvo-3yLf.js","axios-vUo_bRtp.js","Markdown-CMT1uFWQ.js","clsx-C8f2yC9R.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CI2D8R2Y.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-k78Wrw_e.js"]}