List repositories returns a complete, paginated view of your org’s repos. It is designed for inventory pages, audits, and tooling that needs to walk everything without extra per‑repo calls.
Requests can include limit and a cursor. If you omit limit, the server returns a sensible
default and caps large values so you can page safely through large orgs.
curl -X GET \
-H "Authorization: Bearer $ORG_READ_TOKEN" \
"https://code.storage/api/v1/repos?limit=2"{
"repos": [
{
"repo_id": "repo_7f2b3d9",
"url": "pierre/sdk-documentation",
"default_branch": "main",
"created_at": "2026-02-11T18:22:41Z"
},
{
"repo_id": "repo_9a4c21f",
"url": "pierre/docs",
"default_branch": "main",
"created_at": "2026-02-10T14:03:09Z"
}
],
"next_cursor": "MTcwNzU3MzQ1MTAwMDAwMDAwMHxyZXBvXzlhNGMyMWY",
"has_more": true
}Use next_cursor in a follow-up request to fetch the next page. Each page includes the repo URL,
default branch, and creation time so you can build a reliable index of your repos.