latestOpenAPI 3.0.3GitGuardian2026-08-201871515.0 MB

511b067cdcb1

Public Secret Incident Activity Logs

List activity logs of a public secret incident

List every activity log entry of a public secret incident in chronological order. Entries include both user-written notes and system-generated actions.

To list only user notes, use the /notes endpoint instead.

get/v1/public-incidents/secrets/{incident_id}/activity-logs

Path parameters

incident_idinteger required

The id of the incident to retrieve

Query parameters

cursorstring

Pagination cursor.

per_pageinteger

Number of items to list per page.

ordering'created_at' | '-created_at' | 'updated_at' | '-updated_at'

Sort the results by their field value. The default sort is ASC, DESC if the field is preceded by a '-'.

member_idinteger
Example:1

Filter by member id.

api_token_idstring uuid
Example:fdf075f9-1662-4cf1-9171-af50568158a8

Filter by the API token id at the origin of the entry.

content_keystring
Example:ASSIGN

Filter entries by their system action key. User notes have no action key and are excluded when this filter is set.

searchstring

Search entries based on the note comment content.

Example:I revoked this

Response

Public Incident Activity Log List

idinteger
incident_idinteger

Id of the related Public Incident

api_token_idstring uuid nullable

ID of the API key at the origin of this entry. Can be null if the entry was not produced via the API.

created_atstring date-time

Creation date of the entry

updated_atstring date-time nullable

Last time the entry was updated. Null if it was never modified.

Example response

[
  {
    "id": 17,
    "incident_id": 42,
    "member": {
      "id": 3252,
      "name": "John Smith",
      "email": "john.smith@example.org",
      "access_level": "owner"
    },
    "api_token_id": "3220d951-00ce-446c-ac90-9822f0f9b71e",
    "created_at": "2019-08-22T14:15:22Z",
    "content": {
      "type": "note",
      "comment": "I revoked this secret"
    }
  }
]