---
title: "Retrieve where a secret has been publicly leaked"
method: GET
path: "/v1/incidents/secrets/{incident_id}/leaks"
tags: ["Internal Secret Incidents"]
---

# Retrieve where a secret has been publicly leaked

`GET /v1/incidents/secrets/{incident_id}/leaks`

Retrieve where a secret has been publicly leaked.

**Limitations:**
- Does not work for multimatch secrets.
- Does not return publicly visible internal sources.

## Path parameters

- `incident_id` integer, required

## Response `200`

List of the leaks of the incident

- object[]
  - `source` 'github' | 'github_issue' | 'github_gist' | 'unknown'
  - `name` string
  - `url` string

## Other responses

- `401` — Invalid API key
- `404` — Incident not found
- `503` — API under maintenance

---

[API](https://skmtc.net/gitguardian/apis/gitguardian-api.md) · [All operations](https://skmtc.net/gitguardian/apis/gitguardian-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gitguardian/gitguardian-api/revisions/511b067cdcb1/schema)
