{ "opencollection": "1.0.0", "info": { "name": "Socket alerts triage API", "version": "0" }, "items": [ { "info": { "name": "triage", "type": "folder" }, "items": [ { "info": { "name": "List Org Alert Triage", "type": "http" }, "http": { "method": "GET", "url": "https://api.socket.dev/v0/orgs/:org_slug/triage/alerts", "params": [ { "name": "org_slug", "value": "", "type": "path", "description": "The slug of the organization" }, { "name": "sort", "value": "", "type": "query", "description": "Field to sort by. One of: created_at, updated_at." }, { "name": "direction", "value": "", "type": "query", "description": "Sort direction. One of: asc, desc." }, { "name": "per_page", "value": "", "type": "query", "description": "Number of results per page (1–100, default 30)." }, { "name": "page", "value": "", "type": "query", "description": "Page number (1-based)." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "List triage actions for an organization. Results are paginated and can be sorted by created_at or updated_at.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- triage:alerts-list" }, { "info": { "name": "Create/Update Org Alert Triage", "type": "http" }, "http": { "method": "POST", "url": "https://api.socket.dev/v0/orgs/:org_slug/triage/alerts", "params": [ { "name": "org_slug", "value": "", "type": "path", "description": "The slug of the organization" }, { "name": "force", "value": "", "type": "query", "description": "Set to true to force broad triage updates, these are triages lacking a specific alertKey or granular artifact information which may have limited introspection to see what they apply to." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Create or update triage actions on organization alerts. Accepts a batch of triage entries. Omit `uuid` to create a new entry; provide an existing `uuid` to update it. Use `?force=true` for broad triages that lack a specific `alertKey` or granular package information.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- triage:alerts-update" }, { "info": { "name": "Delete Org Alert Triage", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.socket.dev/v0/orgs/:org_slug/triage/alerts/:uuid", "params": [ { "name": "org_slug", "value": "", "type": "path", "description": "The slug of the organization" }, { "name": "uuid", "value": "", "type": "path", "description": "The UUID of the alert triage entry to delete" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Delete a specific triage rule by UUID.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- triage:alerts-update" } ] } ], "bundled": true }