---
title: "Get Issue Code Snippets"
method: GET
path: "/api/agent/deployments/{deploymentId}/issues/v2/{issueId}/code-snippets"
tags: ["IssuesService"]
---

# Get Issue Code Snippets

`GET /api/agent/deployments/{deploymentId}/issues/v2/{issueId}/code-snippets`

Get code snippets for an issue.

## Path parameters

- `deploymentId` string, required
- `issueId` string, required

## Response `200`

OK

- ProtosIssuesV1GetIssueCodeSnippetsResponse
  - `codeSnippets` ProtosIssuesV1IssueCodeSnippet[]
    - `path` string
    - `content` string

---

[API](https://skmtc.dev/semgrep/apis/semgrep-web-app.md) · [All operations](https://skmtc.dev/semgrep/apis/semgrep-web-app/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/semgrep/semgrep-web-app/revisions/6483eeecd582/schema)
