Skip to main content
GET
/
api
/
user
/
repositories
Get User Repositories
curl --request GET \
  --url https://app.all-hands.dev/api/user/repositories \
  --header 'X-Session-API-Key: <api-key>'
[
  {
    "id": "<string>",
    "full_name": "<string>",
    "git_provider": "github",
    "is_public": true,
    "stargazers_count": 123,
    "link_header": "<string>",
    "pushed_at": "<string>",
    "owner_type": "user",
    "main_branch": "<string>"
  }
]

Authorizations

X-Session-API-Key
string
header
required

Query Parameters

sort
string
default:pushed
selected_provider
enum<string> | null
Available options:
github,
gitlab,
bitbucket,
enterprise_sso
page
integer | null
per_page
integer | null
installation_id
string | null

Response

Successful Response

id
string
required
full_name
string
required
git_provider
enum<string>
required
Available options:
github,
gitlab,
bitbucket,
enterprise_sso
is_public
boolean
required
stargazers_count
integer | null
pushed_at
string | null
owner_type
enum<string> | null
Available options:
user,
organization
main_branch
string | null