---
title: "List connector targets"
method: GET
path: "/v1/connector-instances/{connectorInstanceId}/targets"
tags: ["Connectors"]
---

# List connector targets

`GET /v1/connector-instances/{connectorInstanceId}/targets`

Lists connector targets for one connector instance.

## Path parameters

- `connectorInstanceId` string, typeid, required

## Query parameters

- `cursor` string
- `limit` integer
- `targetKind` 'repository_branch'
- `q` string

## Response `200`

Connector targets returned successfully.

- PluginArchConnectorTargetListResponse
  - `items` PluginArchConnectorTarget[], required
    - `id` string, typeid, required — Den TypeID with 'ctg_' prefix and a 26-character base32 suffix.
    - `connectorInstanceId` string, typeid, required — Den TypeID with 'cin_' prefix and a 26-character base32 suffix.
    - `connectorType` 'github', required
    - `remoteId` string, required
    - `targetKind` 'repository_branch', required
    - `externalTargetRef` string, nullable, required
    - `targetConfigJson` object, required
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required
  - `nextCursor` string, nullable, required

## Other responses

- `400` — The connector target query parameters were invalid.
- `401` — The caller must be signed in to list connector targets.
- `404` — The connector instance could not be found.

## Changes

- **2026-08-20** `93df40e2efd5` — 3 info
  - removed the pattern `^cin_.*` from the `path` request parameter `connectorInstanceId`
  - the `items/items/connectorInstanceId` response's property pattern `^cin_.*` was removed for the status `200`
  - the `items/items/id` response's property pattern `^ctg_.*` was removed for the status `200`

[Change history](https://skmtc.dev/openworklabs/apis/den-api/changes/v1/connector-instances/:connectorInstanceId/targets/get.md)

---

[API](https://skmtc.dev/openworklabs/apis/den-api.md) · [All operations](https://skmtc.dev/openworklabs/apis/den-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/openworklabs/den-api/revisions/e61f7fe33f02/schema)
