> ## Documentation Index > Fetch the complete documentation index at: https://developers.torq.io/llms.txt > Use this file to discover all available pages before exploring further. # List alerts > Returns a paginated list of alerts matching the given filters. Only alerts that have completed Auto Triage (i.e. have an assigned verdict) are returned; alerts still being processed are omitted. To fetch an alert regardless of its triage state, use Retrieve alert (GetAlert). ## OpenAPI ````json POST /v1/triage/alerts/query { "openapi": "3.0.1", "info": { "contact": { "email": "support@torq.io", "name": "torq.io", "url": "https://torq.io" }, "title": "Torq Public API[production]", "version": "${DH_DEPLOY_VERSION}" }, "servers": [ { "url": "https://api.torq.io/public", "description": "US Environment" }, { "url": "https://api.eu.torq.io/public", "description": "European Enviornment" } ], "security": [ { "bearerAuth": [] } ], "tags": [ { "name": "Files" }, { "name": "ActivityLogs" }, { "name": "AgentsHubService" }, { "name": "Users" }, { "name": "ApiKeys" }, { "name": "AuditLogs" }, { "name": "ContextGraph" }, { "name": "Executions" }, { "name": "ShareRequests" }, { "name": "StepRunners" }, { "name": "Integrations" }, { "name": "IPAccessService" }, { "name": "RolesService" }, { "name": "Secrets" }, { "name": "SecuritySettingsService" }, { "name": "ClaimMappings" }, { "name": "IdpSsoService" }, { "name": "Workflows" }, { "name": "Workspaces" }, { "name": "WorkspaceVariables" }, { "name": "Auto Triage Alerts" }, { "name": "Auto Triage Guidance" }, { "name": "Auto Triage Alert History" }, { "name": "Auto Triage Verdict Actions" }, { "name": "Cases" }, { "name": "Cases Custom Fields" }, { "name": "Cases Notes" }, { "name": "ExtendedCaseService" }, { "name": "Cases Attachments" }, { "name": "Observables" }, { "name": "Cases Observables" }, { "name": "CaseSearchService" }, { "name": "Cases Links" }, { "name": "Cases Events" }, { "name": "Cases Runbooks" } ], "externalDocs": { "description": "Torq Documentation", "url": "https://learn.torq.io" }, "x-original-swagger-version": "2.0", "paths": { "/v1/triage/alerts/query": { "post": { "description": "Returns a paginated list of alerts matching the given filters. Only alerts that have\ncompleted Auto Triage (i.e. have an assigned verdict) are returned; alerts still being\nprocessed are omitted. To fetch an alert regardless of its triage state, use Retrieve\nalert (GetAlert).", "operationId": "AlertService_ListAlerts", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/torq.public.triage.v1.ListAlertsRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/torq.public.triage.v1.ListAlertsResponse" } } }, "description": "A successful response." }, "401": { "content": { "application/json": { "schema": { "type": "object" } } }, "description": "Invalid bearer token. If you receive this message more than once try creating a new Client ID/Client Secret or generating a new bearer token." }, "403": { "content": { "application/json": { "schema": { "type": "object" } } }, "description": "You don't have permission to access this resource." } }, "summary": "List alerts", "tags": [ "Auto Triage Alerts" ], "x-codegen-request-body-name": "body" } } }, "components": { "schemas": { "torq.public.triage.v1.ListAlertsRequest": { "example": { "filter": {}, "page_size": 50, "order": "desc", "order_by": "acknowledged_at" }, "properties": { "filter": { "$ref": "#/components/schemas/torq.public.triage.v1.ListAlertsFilter" }, "page_size": { "description": "The maximum number of alerts to retrieve per page. Default is 50. Maximum is 100.\nIf the number of results exceeds the defined page size, use pagination to retrieve the next page\nby making an identical List alerts request and providing the page token from the previous response.", "format": "int32", "maximum": 100, "type": "integer" }, "page_token": { "description": "The token received from a previous List alerts response.\nProvide this to retrieve the next page of results.", "type": "string" }, "order": { "default": "desc", "description": "The sort direction. Accepted values: \"asc\", \"desc\". Default: \"desc\".", "enum": [ "desc", "asc" ], "type": "string" }, "order_by": { "default": "acknowledged_at", "description": "The field to sort by. Accepted values: \"acknowledged_at\", \"name\", \"verdict_triage_severity\", \"verdict_value\". Default: \"acknowledged_at\". When text_search is set, results sort by relevance unless order_by is explicitly provided.", "enum": [ "acknowledged_at", "name", "verdict_triage_severity", "verdict_value" ], "type": "string" }, "text_search": { "description": "An optional free-text search query. Searches across alert ID, name, summary, verdict justification, observables, MITRE tactics and techniques, and related case ID.\n\nNote: text search is backed by a search index that is updated asynchronously. Newly\ningested or recently updated alerts may not be reflected in text_search results for a\nshort period after the change.", "type": "string" } }, "title": "List alerts request", "type": "object" }, "torq.public.triage.v1.ListAlertsResponse": { "properties": { "alerts": { "description": "The alerts matching the filter criteria.", "items": { "$ref": "#/components/schemas/torq.public.triage.v1.AlertListItem" }, "type": "array" }, "next_page_token": { "description": "When a token is returned, it indicates there is another page of results to retrieve.\nPass this token as the page_token parameter in a subsequent List alerts request.\nIf this field is empty, there are no additional pages to retrieve.", "title": "Next page token", "type": "string" } }, "title": "List alerts response", "type": "object" }, "torq.public.triage.v1.ListAlertsFilter": { "description": "Contains all available filter criteria for listing alerts.\nAll filters are combined with AND logic. Multiple values within a single filter are combined with OR logic.", "properties": { "verdict_value": { "description": "The verdict values to filter by. Accepted values: \"True Positive - Malicious\", \"True Positive - Benign\", \"False Positive\".", "example": [], "items": { "enum": [ "True Positive - Malicious", "True Positive - Benign", "False Positive" ], "type": "string" }, "type": "array" }, "verdict_triage_severity": { "description": "The triage severities to filter by. Accepted values: \"Info\", \"Low\", \"Medium\", \"High\", \"Critical\".", "example": [], "items": { "enum": [ "Info", "Low", "Medium", "High", "Critical" ], "type": "string" }, "type": "array" }, "integration_type_id": { "description": "The alert source type IDs to filter by. For example, \"crowdstrike_streaming\", \"sentinelone_data_connector\".", "example": [], "items": { "type": "string" }, "type": "array" }, "acknowledged_after": { "description": "The timestamp after which alerts were acknowledged. If neither acknowledged_after nor\nacknowledged_before is set, results default to the last 7 days. If only acknowledged_before\nis set, acknowledged_after defaults to 90 days before it, which is the maximum lookback.", "format": "date-time", "type": "string" }, "acknowledged_before": { "description": "The timestamp before which alerts were acknowledged. If neither acknowledged_after nor\nacknowledged_before is set, results default to the last 7 days. If only acknowledged_after\nis set, acknowledged_before defaults to now.", "format": "date-time", "type": "string" }, "verdict_review_action": { "description": "The analyst verdict feedback actions to filter by, accepted values: \"Confirmed\", \"Changed\", \"None\".", "example": [], "items": { "enum": [ "Confirmed", "Changed", "None" ], "type": "string" }, "type": "array" }, "case_state": { "description": "The case states to filter by. Default states: \"New\", \"In Progress\", \"On Hold\", \"Resolved\", \"Closed\". Custom case states defined in Case Management are also accepted.\n\nNote: case data (this filter and case_closed_by, has_case_created below, and the\ncase_created field on the alert) is synchronized from Case Management asynchronously.\nA recent case creation, closure, or state change may not be reflected here immediately.", "example": [], "items": { "type": "string" }, "type": "array" }, "case_closed_by": { "description": "The case closed-by values to filter by. Accepted values: \"Analyst\", \"Workflow\", \"Socrates\".", "example": [], "items": { "enum": [ "Analyst", "Workflow", "Socrates" ], "type": "string" }, "type": "array" }, "has_case_created": { "description": "When true, returns only alerts that have an associated case; when false, only alerts without one.", "nullable": true, "type": "boolean" }, "mitre_tactics": { "description": "The MITRE ATT&CK tactic codes to filter by. For example, \"TA0001\", \"TA0002\". Alerts matching any of the specified tactics are returned.", "example": [], "items": { "type": "string" }, "type": "array" }, "categories": { "description": "The alert categories to filter by. Accepted values: \"Endpoint Security\", \"Identity and Access\", \"Cloud Security\", \"Data Security\", \"Email Security\", \"General\". Alerts matching any of the specified categories are returned.", "example": [], "items": { "enum": [ "Endpoint Security", "Identity and Access", "Cloud Security", "Data Security", "Email Security", "General" ], "type": "string" }, "type": "array" }, "observable_id": { "description": "The observable IDs to filter by. Each value is an observable ID from the alert response.\nAlerts containing any of the specified observables are returned. Useful for pivoting from\nan observable to its related alerts.", "example": [], "items": { "type": "string" }, "type": "array" }, "case_id": { "description": "The case IDs to filter by. Each value is a case pretty ID from the case_created.id field.\nAlerts linked to any of the specified cases are returned. Distinct from has_case_created,\nwhich only filters on the presence or absence of a case.\n\nNote: Like other case fields, this is synchronized from Case Management asynchronously.\nRecent case creation or deletion may not be reflected here immediately.", "example": [], "items": { "format": "int32", "type": "integer" }, "type": "array" } }, "type": "object" }, "torq.public.triage.v1.AlertListItem": { "description": "A condensed representation of an alert for list responses. It contains only\nlist-relevant fields. Use Retrieve alert (GetAlert) to fetch full details.", "properties": { "id": { "description": "The unique identifier of the alert.", "title": "ID", "type": "string" }, "pretty_id": { "description": "The unique identifier of the alert as displayed on the Alerts page.", "title": "pretty_id", "type": "string" }, "organization_id": { "description": "The identifier of the organization.", "title": "Organization ID", "type": "string" }, "workspace_id": { "description": "The identifier of the workspace.", "title": "Workspace ID", "type": "string" }, "name": { "description": "The alert name.", "title": "Name", "type": "string" }, "alert_type": { "description": "The type of alert. For example, \"Endpoint Detection - ldt\".", "title": "Alert type", "type": "string" }, "source": { "$ref": "#/components/schemas/torq.public.triage.v1.AlertSource" }, "acknowledged_at": { "description": "The timestamp when the alert was acknowledged by Auto Triage.", "format": "date-time", "title": "Acknowledge time", "type": "string" }, "triaged_at": { "description": "The timestamp when Auto Triage completed the verdict assignment.", "format": "date-time", "title": "Triage time", "type": "string" }, "ingested_at": { "description": "The timestamp when the alert was ingested into the workspace.", "format": "date-time", "title": "Ingest time", "type": "string" }, "verdict": { "$ref": "#/components/schemas/torq.public.triage.v1.Verdict" }, "mitre_attack": { "$ref": "#/components/schemas/torq.public.triage.v1.MitreAttack" }, "case_created": { "$ref": "#/components/schemas/torq.public.triage.v1.CaseCreated" }, "verdict_review": { "$ref": "#/components/schemas/torq.public.triage.v1.VerdictReview" }, "categories": { "description": "The security categories assigned to the alert, ordered by dominance — the first element is\nthe primary category. Always has at least one value. Possible values: \"Endpoint Security\",\n\"Identity and Access\", \"Cloud Security\", \"Data Security\", \"Email Security\", \"General\".\nFor natively supported sources the categories follow from the detection type; for universal\nsources Auto Triage classifies them.", "items": { "type": "string" }, "title": "Categories", "type": "array" } }, "title": "AlertListItem", "type": "object" }, "torq.public.triage.v1.AlertSource": { "description": "Contains information from the source security system that generated the alert.", "properties": { "vendor": { "description": "The alert source vendor name. Deprecated: use integration_type_id instead.", "type": "string" }, "link": { "description": "A link to the alert in the source system console.", "title": "Link", "type": "string" }, "severity": { "description": "The severity from the source system. For example, \"Critical\", \"High\", \"Medium\", \"Low\", \"Informational\".", "title": "Severity", "type": "string" }, "mitigation": { "description": "The mitigation action taken or available from the source system.", "title": "Mitigation", "type": "string" }, "detected_at": { "description": "The timestamp when the alert was detected by the source system.", "format": "date-time", "title": "Detected at", "type": "string" }, "integration_type_id": { "description": "The alert source type identifier. For example, \"crowdstrike_streaming\", \"sentinelone_data_connector\".", "title": "Alert source type ID", "type": "string" } }, "type": "object" }, "torq.public.triage.v1.Verdict": { "description": "The triage verdict, severity, and confidence assigned by Auto Triage.", "properties": { "value": { "description": "The verdict value. Possible values: \"True Positive - Malicious\", \"True Positive - Benign\", \"False Positive\".", "title": "Verdict value", "type": "string" }, "triage_severity": { "description": "The severity assigned by Auto Triage. Possible values: \"Critical\", \"High\", \"Medium\", \"Low\", \"Info\".", "title": "Triage severity", "type": "string" }, "confidence": { "description": "The Auto Triage's confidence level in the verdict. Possible values: \"High\", \"Medium\", \"Low\".", "title": "Confidence", "type": "string" } }, "type": "object" }, "torq.public.triage.v1.MitreAttack": { "description": "Contains MITRE ATT&CK framework mappings.", "properties": { "tactics": { "description": "The MITRE ATT&CK tactics associated with the alert.", "items": { "$ref": "#/components/schemas/torq.public.triage.v1.MitreTactic" }, "title": "Tactics", "type": "array" }, "techniques": { "description": "The MITRE ATT&CK techniques associated with the alert.", "items": { "$ref": "#/components/schemas/torq.public.triage.v1.MitreTechnique" }, "title": "Techniques", "type": "array" } }, "type": "object" }, "torq.public.triage.v1.CaseCreated": { "description": "Contains information about the case associated with this alert.", "properties": { "id": { "description": "The case pretty ID.", "format": "int32", "title": "Case ID", "type": "integer" }, "link": { "description": "A link to the case in Torq.", "title": "Link", "type": "string" }, "closed_by": { "$ref": "#/components/schemas/torq.actor.v1.Actor" } }, "type": "object" }, "torq.public.triage.v1.VerdictReview": { "description": "Contains the manual verification status set by an analyst.", "properties": { "action": { "description": "The verdict review action taken. Possible values: \"Confirmed\", \"Changed\".", "title": "Action", "type": "string" }, "verified_by": { "description": "The email address of the analyst who reviewed the verdict.", "title": "Verified by", "type": "string" }, "verified_at": { "description": "The timestamp when the verdict was reviewed.", "format": "date-time", "title": "Verified at", "type": "string" }, "changes": { "$ref": "#/components/schemas/torq.public.triage.v1.VerdictChanges" }, "comment": { "description": "The analyst's comment on the verdict review.", "title": "Comment", "type": "string" } }, "type": "object" }, "torq.public.triage.v1.MitreTactic": { "description": "A MITRE ATT&CK tactic.", "properties": { "id": { "description": "The MITRE ATT&CK tactic ID. For example, \"TA0011\".", "title": "Tactic ID", "type": "string" }, "name": { "description": "The tactic name.", "title": "Name", "type": "string" }, "url": { "description": "A link to the MITRE ATT&CK tactic page.", "title": "URL", "type": "string" } }, "type": "object" }, "torq.public.triage.v1.MitreTechnique": { "description": "A MITRE ATT&CK technique.", "properties": { "id": { "description": "The MITRE ATT&CK technique ID. For example, \"T1219\", \"T1059.004\".", "title": "Technique ID", "type": "string" }, "name": { "description": "The technique name.", "title": "Name", "type": "string" }, "url": { "description": "A link to the MITRE ATT&CK technique page.", "title": "URL", "type": "string" } }, "type": "object" }, "torq.actor.v1.Actor": { "description": "The entity that performed the action.", "properties": { "kind": { "description": "The actor kind. Identifies which `actor` case is populated. One of:\nUSER, WORKFLOW, INTEGRATION, SERVICE_API_KEY, SOCRATES, TRIAGE, AGENT, BUILDER.", "readOnly": true, "type": "string" }, "user": { "$ref": "#/components/schemas/torq.actor.v1.Actor.User" }, "workflow": { "$ref": "#/components/schemas/torq.actor.v1.Actor.Workflow" }, "integration": { "$ref": "#/components/schemas/torq.actor.v1.Actor.Integration" }, "service_api_key": { "$ref": "#/components/schemas/torq.actor.v1.Actor.ServiceApiKey" }, "socrates": { "$ref": "#/components/schemas/torq.actor.v1.Actor.Socrates" }, "triage": { "$ref": "#/components/schemas/torq.actor.v1.Actor.Triage" }, "agent": { "$ref": "#/components/schemas/torq.actor.v1.Actor.Agent" }, "builder": { "$ref": "#/components/schemas/torq.actor.v1.Actor.Builder" } }, "type": "object" }, "torq.public.triage.v1.VerdictChanges": { "description": "Verdict and/or severity changes.", "properties": { "severity": { "description": "The new severity if changed. Possible values: \"Critical\", \"High\", \"Medium\", \"Low\", \"Info\". Empty if unchanged.", "enum": [ "Info", "Low", "Medium", "High", "Critical" ], "title": "Severity", "type": "string" }, "verdict": { "description": "The new verdict if changed. Possible values: \"True Positive - Malicious\", \"True Positive - Benign\", \"False Positive\". Empty if unchanged.", "enum": [ "True Positive - Malicious", "True Positive - Benign", "False Positive" ], "title": "Verdict", "type": "string" } }, "type": "object" }, "torq.actor.v1.Actor.User": { "description": "User identity information.", "properties": { "email": { "description": "The actor's email address.", "type": "string" }, "full_name": { "description": "The user's full name.", "type": "string" } }, "type": "object" }, "torq.actor.v1.Actor.Workflow": { "description": "Workflow execution details.", "properties": { "id": { "description": "The workflow ID.", "type": "string" }, "execution_id": { "description": "The workflow execution ID.", "type": "string" }, "name": { "description": "The workflow name.", "type": "string" } }, "type": "object" }, "torq.actor.v1.Actor.Integration": { "description": "Integration configuration.", "properties": { "id": { "description": "The integration ID.", "type": "string" }, "type_id": { "description": "The integration type identifier.", "type": "string" } }, "type": "object" }, "torq.actor.v1.Actor.ServiceApiKey": { "description": "Service account API token information.", "properties": { "name": { "description": "The service account API token name.", "type": "string" }, "client_id": { "description": "The service account API token client ID.", "type": "string" } }, "type": "object" }, "torq.actor.v1.Actor.Socrates": { "description": "Original actor information.", "properties": { "original_actor": { "$ref": "#/components/schemas/torq.actor.v1.Actor" } }, "type": "object" }, "torq.actor.v1.Actor.Triage": { "description": "Triage system action.", "type": "object" }, "torq.actor.v1.Actor.Agent": { "description": "Agent execution details.", "properties": { "id": { "description": "The agent ID.", "type": "string" }, "execution_id": { "description": "The agent execution ID.", "type": "string" } }, "type": "object" }, "torq.actor.v1.Actor.Builder": { "description": "Workflow Builder acting on behalf of a user.", "properties": { "original_actor": { "$ref": "#/components/schemas/torq.actor.v1.Actor" } }, "type": "object" } }, "securitySchemes": { "bearerAuth": { "type": "http", "scheme": "bearer", "bearerFormat": "64fb4b65-44d8-4304-881c-b1f8b6b3100a" } } } } ````