---
title: "Update the analysis text on an alert"
method: PUT
path: "/alerts/{id}/analysis"
tags: ["Alert Analysis"]
---

# Update the analysis text on an alert

`PUT /alerts/{id}/analysis`

## Request

- Base URL: `https://www.virustotal.com/api/v3/dtm`
- URL: `https://www.virustotal.com/api/v3/dtm/alerts/{id}/analysis`
- Auth: none required

## Path parameters

- `id` string, required

## Headers

- `x-apikey` string, required
- `Content-Type` 'application/json', required

## Request body

- AlertAnalysisOp: The analysis text for an alert. This can be in markdown format.
  - `analysis` string: The analysis text that can be in markdown format.

## Response `200`

OK

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `500`: Internal Server Error

---

[API](https://skmtc.dev/virustotal/apis/dtm-digital-threat-monitoring.md) - [All operations](https://skmtc.dev/virustotal/apis/dtm-digital-threat-monitoring/llms.txt) - [OpenAPI document](https://skmtc.dev/virustotal/apis/dtm-digital-threat-monitoring/revisions/ba27db660651?raw)
