Scans
Create Scan
Record pre-computed repository scan results.
This endpoint does not scan a repository server-side — it persists a scan produced by the g8 CLI (or any MCP client that walks the filesystem itself). Required fields in the body: tech_stack, api_routes, gtm_readiness. The server stores the results and links them to the repo so subsequent /install calls can derive a patch set.
post/repos/{repo_id}/scan
Request
- Base URL: https://be.graph8.com/api/v1
- URL: https://be.graph8.com/api/v1/repos/{repo_id}/scan
- Auth: HTTP bearer
Path parameters
repo_idstring required
Repository ID
Headers
Authorizationstring nullable
X-Target-Org-Idstring nullable
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 2 revisions of this API.