---
title: "Returns the state of the specified execution."
method: GET
path: "/exec/poll/{execution_id}"
tags: ["scheduled executions"]
---

# Returns the state of the specified execution.

`GET /exec/poll/{execution_id}`

Once the execution is done, the endpoint responds with `HTTP 303` and provides a resource for querying the result in the `Location` header.

## Path parameters

- `execution_id` string, required

## Response `200`

OK

- object
  - `data` object, required
    - `id` string, required
    - `type` 'execution-result', required
    - `links` object, required
      - `self` string, required
    - `attributes` object, required
      - `result` object, required
      - `status` string, required
  - `meta` object, required

## Other responses

- `303` — See other
- `404` — Not Found

---

[API](https://skmtc.net/elastic/apis/elastic-io-rest-api-documentation-v2.md) · [All operations](https://skmtc.net/elastic/apis/elastic-io-rest-api-documentation-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elastic/elastic-io-rest-api-documentation-v2/revisions/411f9f98c01e/schema)
