---
title: "POST /#X-Amz-Target=AmazonAthena.GetCalculationExecutionStatus"
method: POST
path: "/#X-Amz-Target=AmazonAthena.GetCalculationExecutionStatus"
---

# POST /#X-Amz-Target=AmazonAthena.GetCalculationExecutionStatus

`POST /#X-Amz-Target=AmazonAthena.GetCalculationExecutionStatus`

Gets the status of a current calculation.

## Headers

- `X-Amz-Target` 'AmazonAthena.GetCalculationExecutionStatus', required

## Request body

- GetCalculationExecutionStatusRequest
  - `CalculationExecutionId` string, required — The calculation execution UUID.

## Response `200`

Success

- GetCalculationExecutionStatusResponse
  - `Status` object — Contains information about the calculation execution status.
    - `SubmissionDateTime` string, date-time — The date and time the calculation was submitted for processing.
    - `CompletionDateTime` string, date-time — The date and time the calculation completed processing.
    - `State` 'CREATING' | 'CREATED' | 'QUEUED' | 'RUNNING' | 'CANCELING' | 'CANCELED' | 'COMPLETED' | 'FAILED' — <p>The state of the calculation execution. A description of each state follows.</p> <p> <code>CREATING</code> - The calculation is in the process of being created.</p> <p> <code>CREATED</code> - The calculation has been created and is ready to run.</p> <p> <code>QUEUED</code> - The calculation has been queued for processing.</p> <p> <code>RUNNING</code> - The calculation is running.</p> <p> <code>CANCELING</code> - A request to cancel the calculation has been received and the system is working to stop it.</p> <p> <code>CANCELED</code> - The calculation is no longer running as the result of a cancel request.</p> <p> <code>COMPLETED</code> - The calculation has completed without error.</p> <p> <code>FAILED</code> - The calculation failed and is no longer running.</p>
    - `StateChangeReason` string — The reason for the calculation state change (for example, the calculation was canceled because the session was terminated).
  - `Statistics` object — Contains information about the DPU execution time and progress.
    - `DpuExecutionInMillis` integer — The data processing unit execution time in milliseconds for the calculation.
    - `Progress` string — The progress of the calculation.

## Other responses

- `480` — InternalServerException
- `481` — InvalidRequestException
- `482` — ResourceNotFoundException

---

[API](https://skmtc.net/aws/apis/athena.md) · [All operations](https://skmtc.net/aws/apis/athena/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/athena/versions/0aec8c61283d/schema)
