---
title: "List code projects linked to a target, maximum is 20 per target"
method: GET
path: "/targets/{target_id}/integrations/snyk-sast/code-projects/"
tags: ["Snyk SAST Integration"]
---

# List code projects linked to a target, maximum is 20 per target

`GET /targets/{target_id}/integrations/snyk-sast/code-projects/`

## Path parameters

- `target_id` string, required

## Query parameters

- `ordering` string
- `search` string

## Response `200`

- SnykCodeProject[]
  - `id` string — A unique Base58 value identifying this object.
  - `scope` string, required — A unique Base58 value identifying this object.
  - `project_id` string, uuid, required
  - `project_name` string
  - `target_id` string, uuid, required
  - `target_name` string
  - `org_id` string, uuid, required
  - `org_name` string
  - `target_file` string

## Other responses

- `400`
- `401`
- `403`
- `500`

---

[API](https://skmtc.net/probely/apis/snyk-api-web-s-api-reference-documentation.md) · [All operations](https://skmtc.net/probely/apis/snyk-api-web-s-api-reference-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/probely/snyk-api-web-s-api-reference-documentation/versions/e29879bff01b/schema)
