OriginService

GET /v1/origin/namespaces

Lists the namespaces the caller can list repos in, ordered by slug.

Candidates are the namespaces of the caller's teams, the caller's personal namespace, and namespaces holding repos the caller was granted. Only those on which the caller holds namespace:repositories:read are returned, so every result is a valid owner_slug for ListRepos.

Request

  • Base URL
    https://api.cursor.com
  • Auth
    HTTP bearer

Query parameters

pageSizeinteger

Max namespaces to return. Defaults to 30 when unset or 0. Values above 100 are clamped to 100.

pageTokenstring

Opaque cursor from a previous response's next_page_token. Empty for the first page. page_size on a follow-up request applies to that page; omit it to keep the previous page size.

Response

OK

nextPageTokenstring

Opaque cursor for the next page; empty when there are no more pages.

Changes

No recorded changes to this operation across all 1 revision of this API.