Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.mesa.dev/llms.txt

Use this file to discover all available pages before exploring further.

List repositories using cursor pagination.
const repos = await mesa.repos.list({ limit: 50 });

for (const repo of repos.repos) {
  console.log(repo.name, repo.default_bookmark, repo.head_change_id);
}

Options

org
string | undefined
Organization override.
cursor
string | undefined
Opaque pagination cursor from a previous response.
limit
number | undefined
Maximum number of repositories to return. The server maximum is 100.
tags
string | undefined
Comma-separated tag filter string such as env:prod,team:agents.

Response

next_cursor
string | null
Cursor for the next page, or null when no more results remain.
has_more
boolean
Whether another page is available.
repos
array
Repository objects. Each object includes id, org, name, default_bookmark, head_change_id, upstream, created_at, and tags.

Required scope

read