---
title: "List notes on a public secret incident"
method: GET
path: "/v1/public-incidents/secrets/{incident_id}/notes"
tags: ["Public Secret Incident Notes"]
---

# List notes on a public secret incident

`GET /v1/public-incidents/secrets/{incident_id}/notes`

List notes left on a public secret incident in chronological order.

## Path parameters

- `incident_id` integer, required

## Query parameters

- `cursor` string
- `per_page` integer
- `ordering` 'created_at' | '-created_at' | 'updated_at' | '-updated_at'
- `member_id` integer
- `search` string — Search notes based on the comment field content.

## Response `200`

Public Incident Note List

- object[]
  - `id` integer
  - `incident_id` integer — Id of the related Public Incident
  - `member_id` integer, nullable — Id of the member who created this note. Can be null if the note was not created by a member or if the member was deleted.
  - `api_token_id` string, uuid, nullable — ID of the API key which created this note. Can be null if the note was not created via the API.
  - `created_at` string, date-time — Creation date of the note
  - `updated_at` string, date-time, nullable — Last time the content of the note was updated. Null if the comment was never modified.
  - `comment` string, nullable

## Other responses

- `400` — Invalid data
- `401` — Invalid API key
- `404` — Public Secret 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)
