alert-policies

List Org Alert Policies

Changed on

List the alert policies of an organization. The default policy (which applies to all repositories without a policy label) is always first, followed by custom policies ordered by creation time. Requires a token with org-wide repository access; repo-restricted tokens receive 403.

This endpoint consumes 1 unit of your quota.

This endpoint requires the following org token scopes:

  • alert-policy:list
get/orgs/{org_slug}/alert-policies

Request

  • Base URL
    https://api.socket.dev/v0
  • URL
    https://api.socket.dev/v0/orgs/{org_slug}/alert-policies
  • Auth
    • HTTP bearer
    • or HTTP basic

Path parameters

org_slugstring required

The slug of the organization

Response

Lists alert policies for the specified organization.

Changes