> ## 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 alert history > Returns a paginated, reverse-chronological list of history events for an alert. ## OpenAPI ````json GET /v1/triage/alerts/{alert_id}/history { "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/{alert_id}/history": { "get": { "description": "Returns a paginated, reverse-chronological list of history events for an alert.", "operationId": "HistoryService_ListAlertHistory", "parameters": [ { "description": "The ID of the alert to retrieve history for. This property is required.", "in": "path", "name": "alert_id", "required": true, "schema": { "type": "string" } }, { "description": "The maximum number of history events 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 alert history request and providing the page token from the previous response.", "in": "query", "name": "page_size", "schema": { "format": "int32", "type": "integer" } }, { "description": "The token received from a previous List alert history response.\nProvide this to retrieve the next page of results.", "in": "query", "name": "page_token", "schema": { "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/torq.public.triage.v1.ListAlertHistoryResponse" } } }, "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 alert history", "tags": [ "Auto Triage Alert History" ] } } }, "components": { "schemas": { "torq.public.triage.v1.ListAlertHistoryResponse": { "properties": { "events": { "description": "The history events in reverse-chronological order.", "items": { "$ref": "#/components/schemas/torq.public.triage.v1.HistoryEvent" }, "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 alert history request.\nIf this field is empty, there are no additional pages to retrieve.", "title": "Next page token", "type": "string" } }, "title": "List alert history response", "type": "object" }, "torq.public.triage.v1.HistoryEvent": { "description": "A single event in an alert's history. Exactly one details field is set, identifying the event type.", "properties": { "id": { "description": "The unique identifier of the history event.", "title": "ID", "type": "string" }, "alert_id": { "description": "The identifier of the alert this event belongs to.", "title": "Alert ID", "type": "string" }, "timestamp": { "description": "The timestamp when the event occurred.", "format": "date-time", "title": "Timestamp", "type": "string" }, "actor": { "$ref": "#/components/schemas/torq.actor.v1.Actor" }, "type": { "description": "The event type, which identifies which details field is populated. One of: \"alert_created\",\n\"enrichment_completed\", \"triage_completed\", \"verdict_set\", \"verdict_confirmed\",\n\"verdict_changed\", \"severity_changed\", \"verdict_review_undone\", \"case_created\",\n\"case_closed\", \"case_deleted\".", "title": "Type", "type": "string" }, "alert_created": { "$ref": "#/components/schemas/torq.public.triage.v1.AlertCreatedDetails" }, "enrichment_completed": { "$ref": "#/components/schemas/torq.public.triage.v1.EnrichmentCompletedDetails" }, "triage_completed": { "$ref": "#/components/schemas/torq.public.triage.v1.TriageCompletedDetails" }, "verdict_set": { "$ref": "#/components/schemas/torq.public.triage.v1.VerdictSetDetails" }, "verdict_confirmed": { "$ref": "#/components/schemas/torq.public.triage.v1.VerdictConfirmedDetails" }, "verdict_changed": { "$ref": "#/components/schemas/torq.public.triage.v1.VerdictChangedDetails" }, "severity_changed": { "$ref": "#/components/schemas/torq.public.triage.v1.SeverityChangedDetails" }, "verdict_review_undone": { "$ref": "#/components/schemas/torq.public.triage.v1.VerdictReviewUndoneDetails" }, "case_created": { "$ref": "#/components/schemas/torq.public.triage.v1.CaseCreatedDetails" }, "case_closed": { "$ref": "#/components/schemas/torq.public.triage.v1.CaseClosedDetails" }, "case_deleted": { "$ref": "#/components/schemas/torq.public.triage.v1.CaseDeletedDetails" } }, "title": "History event", "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.AlertCreatedDetails": { "description": "Details of an alert_created event.", "type": "object" }, "torq.public.triage.v1.EnrichmentCompletedDetails": { "description": "Details of an enrichment_completed event.", "properties": { "enrichment_name": { "description": "The enrichment label. For example, \"Threat Intelligence\", \"MITRE ATT&CK\", \"Case History\", \"Organizational Context\".", "type": "string" } }, "type": "object" }, "torq.public.triage.v1.TriageCompletedDetails": { "description": "Details of a triage_completed event.", "type": "object" }, "torq.public.triage.v1.VerdictSetDetails": { "description": "Details of a verdict_set event.", "properties": { "verdict": { "description": "The verdict value assigned by Auto Triage.", "title": "Verdict", "type": "string" } }, "type": "object" }, "torq.public.triage.v1.VerdictConfirmedDetails": { "description": "Details of a verdict_confirmed event.", "properties": { "verdict": { "description": "The confirmed verdict.", "type": "string" }, "comment": { "description": "The analyst comment provided with the confirmation.", "title": "Comment", "type": "string" } }, "type": "object" }, "torq.public.triage.v1.VerdictChangedDetails": { "description": "Details of a verdict_changed event.", "properties": { "previous_verdict": { "description": "The verdict before the change.", "title": "Previous verdict", "type": "string" }, "new_verdict": { "description": "The verdict after the change.", "title": "New verdict", "type": "string" }, "comment": { "description": "The analyst comment provided with the change.", "title": "Comment", "type": "string" } }, "type": "object" }, "torq.public.triage.v1.SeverityChangedDetails": { "description": "Details of a severity_changed event.", "properties": { "previous_severity": { "description": "The severity before the change.", "title": "Previous severity", "type": "string" }, "new_severity": { "description": "The severity after the change.", "title": "New severity", "type": "string" }, "comment": { "description": "The analyst comment provided with the change.", "title": "Comment", "type": "string" } }, "type": "object" }, "torq.public.triage.v1.VerdictReviewUndoneDetails": { "description": "Details of a verdict_review_undone event.", "properties": { "previous_verdict": { "description": "The verdict that was in effect before the review was undone.", "type": "string" }, "restored_verdict": { "description": "The Auto Triage verdict restored after the review was undone.", "type": "string" } }, "type": "object" }, "torq.public.triage.v1.CaseCreatedDetails": { "description": "Details of a case_created event.", "properties": { "case_id": { "description": "The case identifier as displayed on the Cases page.", "format": "int32", "type": "integer" } }, "type": "object" }, "torq.public.triage.v1.CaseClosedDetails": { "description": "Details of a case_closed event.", "properties": { "case_id": { "description": "The case identifier as displayed on the Cases page.", "format": "int32", "type": "integer" }, "resolution_reason": { "description": "The reason the case was closed.", "title": "Resolution reason", "type": "string" } }, "type": "object" }, "torq.public.triage.v1.CaseDeletedDetails": { "description": "Details of a case_deleted event.", "properties": { "case_id": { "description": "The case identifier as displayed on the Cases page.", "format": "int32", "type": "integer" } }, "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" } } } } ````