> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blobhub.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Download Event Data

Download large data payload associated with an event.

## **POST** `/revisions/:id/data/query` (Command: `download_execution_event_data`)

### Request Body

| Parameter      | Type   | Required | Description                              |
| :------------- | :----- | :------- | :--------------------------------------- |
| `engine`       | string | Yes      | Must be `workflow_blobhub`.              |
| `command`      | string | Yes      | Must be `download_execution_event_data`. |
| `execution_id` | string | Yes      | The ID of the execution.                 |
| `data_id`      | string | Yes      | The ID of the data payload.              |

### Response

| Parameter | Type   | Description                                                             |
| :-------- | :----- | :---------------------------------------------------------------------- |
| `event`   | object | The event the payload was stored against, as `{ "id", "revision_id" }`. |
| `data`    | object | The requested data object.                                              |

The stored item carries both keys and is returned whole, so `event` comes back alongside `data`.

### Example

<CodeGroup>
  ```json Request theme={null}
  {
    "engine": "workflow_blobhub",
    "command": "download_execution_event_data",
    "execution_id": "exec_001",
    "data_id": "data_001"
  }
  ```

  ```json Response theme={null}
  {
    "status": "success",
    "event": {
      "id": "evt_001",
      "revision_id": "rev_001"
    },
    "data": { ... }
  }
  ```
</CodeGroup>
