List repos

List repositories for a team or user owner.

Endpoints

GET /api/v1/teams/{team_slug}/repos
GET /api/v1/users/{username}/repos
Authenticated

Request

Query parameters: page, per_page.

Usage

curl \
  --header "Authorization: Bearer $PEARING_API_TOKEN" \
  "$PEARING_API_URL/v1/teams/platform/repos?page=1"

curl \
  --header "Authorization: Bearer $PEARING_API_TOKEN" \
  "$PEARING_API_URL/v1/users/alice/repos?page=1"

Success

200 OK with a paginated repo list. Each repo includes created_by_uuid and created_by_username.

{
  "results": [
    {
      "uuid": "...",
      "name": "Website",
      "description": "Customer-facing marketing site",
      "slug": "website",
      "visibility": "private",
      "default_branch": "main",
      "public_repo_pull_policy": "any",
      "is_active": true,
      "created_at": "2026-03-09T12:00:00Z"
    }
  ],
  "next": null,
  "previous": null
}

Errors

  • 403 Forbidden when caller lacks access to the owner scope.
  • 404 Not Found when the owner user/team does not exist.

Common auth errors are documented on the API overview page.