latestOpenAPI 3.0.3GitGuardian2026-08-201871515.0 MB

511b067cdcb1

Internal Secret Incidents

List teams with access to a secret incident

List teams that have access to a secret incident.

get/v1/secret-incidents/{incident_id}/teams

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.

searchstring

Search teams based on their name and/or description.

direct_accessboolean

Filter on direct or indirect accesses.

Response

List teams

idinteger
namestring
descriptionstring nullable

team description.

is_globalboolean
gitguardian_urlstring
external_provider_idstring nullable

ID of the external provider associated to the team.

Example response

[
  {
    "id": 3252,
    "name": "feature team A",
    "description": "Description of my team",
    "gitguardian_url": "https://dashboard.gitguardian.com/workspace/1/settings/user/teams/1",
    "external_provider_id": "123-456-7890"
  }
]