---
title: "List the repositories a coding agent connection reaches"
method: GET
path: "/integrations/connections/{connectionId}/coding-agent-repositories"
tags: ["Integrations"]
---

# List the repositories a coding agent connection reaches

`GET /integrations/connections/{connectionId}/coding-agent-repositories`

## Request

- Base URL: `https://api.sazabi.com/v1`
- URL: `https://api.sazabi.com/v1/integrations/connections/{connectionId}/coding-agent-repositories`
- Auth: none declared
- TypeScript: <https://skmtc.dev/sazabi/apis/sazabi-public-api/docs/integrations/connections/:connectionId/coding-agent-repositories/get.ts> (a function with typed inputs; its response is checked against the schema)

List the GitHub repositories a coding agent connection's key can reach at the vendor. Read live from the vendor; never launches work. An agent that reaches repositories through Sazabi's GitHub App lists none here. For an agent with its own GitHub integration, a fix can only be handed off in a repository that is both connected to the project and listed here; an agent that reaches repositories through Sazabi's GitHub App is checked against the app's installation instead.

## Path parameters

- `connectionId` string, uuid, required: A coding agent connection ID.

## Query parameters

- `organizationId` string: Organization the connection belongs to. Auto-filled from CLI and SDK context when omitted. User tokens must supply it unless the credential's fixed scope resolves it; secret keys may omit it (the key's organization applies).

## Response `200`

OK

- object
  - `repositories` object[], required
    - `url` string, required: Canonical `https://github.com/<owner>/<name>`.
    - `fullName` string, required: `<owner>/<name>`.
    - `defaultBranch` string, nullable, required: The repository's default branch when the vendor reports it.

## Changes

- **2026-10-27** `dd9728fb5e3a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/sazabi/apis/sazabi-public-api/changes/integrations/connections/:connectionId/coding-agent-repositories/get.md)

---

[API](https://skmtc.dev/sazabi/apis/sazabi-public-api.md) - [All operations](https://skmtc.dev/sazabi/apis/sazabi-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sazabi/apis/sazabi-public-api/revisions/dae846531e50?raw)
