API reference / Apps
List the GitHub repos
The repos Troopy's GitHub App reaches in this workspace (the ones picked when it was installed), each with the commands the Engineer uses: setup installs what the code needs, test says whether a change works. Troopy guesses both the first time; an empty test means changes to that repo can't be checked, so no pull request opens.
get
/api/v1/apps/github/reposOther ways to call it
CLI
troopy github reposMCP tool
troopy_list_reposRate limit30 calls in 60 seconds, for each key
Response
200 · application/jsondata*array<object>5 properties
fullName*stringowner/name
defaultBranch*stringprivate*booleansetup*stringInstalls what the code needs, like npm ci; empty for nothing to install
test*stringSays whether a change works, like npm test; empty: changes can't be checked
Errors
401 unauthorizedSend an API key as `Authorization: Bearer tr_live_...`. Create one in Troopy under Settings.
403 forbiddenThe key lacks a scope this operation needs, or its owner lacks the role. detail says which; create a key with the scope, or ask an organization owner or admin.
429 rate_limitedWait the number of seconds in Retry-After, then retry.