Parameters
| Parameter | Type | Description |
|---|---|---|
cursor | Optional | Pagination cursor from previous response (base64 encoded) |
limit | Optional | Maximum number of repositories to return (default: 20, max: 100) |
JWT Requirements
- Requires
org:readscope
Response
Response Fields
| Field | Type | Description |
|---|---|---|
repos | Array | List of repository objects |
repos[].repo_id | String | Internal repository ID |
repos[].url | String | Repository URL path (matches the JWT repo claim) |
repos[].default_branch | String | Default branch name |
repos[].created_at | String | ISO 8601 creation timestamp |
repos[].base_repo | Optional | GitHub sync configuration (if configured) |
next_cursor | Optional | Opaque cursor for the next page (absent when no more results) |
has_more | Boolean | Whether more repositories exist |
Notes
- The
next_cursorvalue should be used for fetching the next page - Repositories are returned in creation order
- The
base_repofield is only present for repositories synced with GitHub
Error Responses
| Status | Description |
|---|---|
401 Unauthorized | Invalid JWT or missing org:read scope |