V2 Blueprint and scope
Product guide: Repo to Markdown.
Base URL: https://api.codefundi.app.
GET /v2/repos/{repo_id}/blueprint
Summary: Repository intelligence overview: README Markdown (documentation), README text (data), top dependencies, symbols, and conventions.
Credits: 1 credit / request. Prefer this over deprecated GET …/readme.
Query
| Parameter | Description |
|---|---|
conventions_path_prefix | Optional path filter for conventions (PRO and above). |
Response
| Field | Description |
|---|---|
documentation | Markdown overview (LLM-ready). |
data | README text content. |
dependencies | Top dependency items. |
symbols | Top functions / variables when available on your plan. |
conventions | Naming/formatting profile on PRO and above when available. |
cURL
blueprint.sh
curl -sS "https://api.codefundi.app/v2/repos/550e8400-e29b-41d4-a716-446655440000/blueprint" \
-H "X-API-Key: YOUR_API_KEY"POST /v2/repos/{repo_id}/scope
Summary: Aggregated dependencies, functions, and variables for a repository.
Credits: 1 credit / request.
Request body
| Field | Description |
|---|---|
include | dependencies | functions | variables (default all available on your plan). |
name | Filter / drill-down name. |
type | Dependency type when filtering. |
expand | files | functions (requires name). |
compare_repos | Up to 25 UUIDs (dependencies comparison). |
limit / offset / order | Pagination; order is usage | name. |
Response: data.repo, data.summary, data.scope, optional per-kind pagination.
scope.sh
curl -sS -X POST "https://api.codefundi.app/v2/repos/550e8400-e29b-41d4-a716-446655440000/scope" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d "{\"include\":[\"dependencies\",\"functions\"],\"limit\":50}"For file-level Markdown, use V2 Files. For impact graphs, use Blast radius.
Last updated on