**Source URL:** https://limited.veevavault.dev/clinical/vault-api/api-reference/26.1/clinical-operations/recalculate-milestone-document-field

# Recalculate Milestone Document Field

`Recalculate the` milestone\_\_v\` field on a specified set of documents.

*   The maximum CSV input file size is 1GB.
*   The values in the input must be UTF-8 encoded.
*   CSVs must follow the standard RFC 4180 format, with some [exceptions](/clinical/vault-api/references/csv-rfc-deviations).
*   The maximum batch size is 500.

<Endpoint path="/api/{version}/objects/documents/milestones/actions/recalculate" method="POST" />

## Headers

<FieldTable>
| Name | Description |
| --- | --- |
| `Content-Type` | `text/csv` |
| `Accept` | `application/json` (default) or `application/xml` |
</FieldTable>

## Body Parameters

Prepare a CSV input file with document `id` values in an `id` column. Invalid values or invalid columns are ignored.

## Request

<CodeExample title="">
```bash
curl -X POST -H "Authorization: {SESSION_ID}" \
-H "Content-Type: text/csv" \
--data-raw 'id
7652
9875
541' \
https://myvault.veevavault.com/api/v21.3/objects/documents/milestones/actions/recalculate
```
</CodeExample>

## Response

<CodeExample title="">
```json
{
   "responseStatus": "SUCCESS",
   "responseMessage": "SUCCESS"
}
```
</CodeExample>

---

**Previous:** [Create EDLs](/clinical/vault-api/api-reference/26.1/clinical-operations/create-edls)  
**Next:** [Apply Template EDL to a Milestone](/clinical/vault-api/api-reference/26.1/clinical-operations/apply-edl-template-to-a-milestone)