> ## 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 Definition

Retrieve the full content of a definition.

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

### Request Body

| Parameter       | Type   | Required | Description                    |
| :-------------- | :----- | :------- | :----------------------------- |
| `engine`        | string | Yes      | Must be `workflow_blobhub`.    |
| `command`       | string | Yes      | Must be `download_definition`. |
| `definition_id` | string | Yes      | The ID of the definition.      |

### Response

| Parameter           | Type   | Description                      |
| :------------------ | :----- | :------------------------------- |
| `definition`        | object | The definition metadata.         |
| `definition_object` | object | The actual JSON definition body. |

### Example

<CodeGroup>
  ```json Request theme={null}
  {
    "engine": "workflow_blobhub",
    "command": "download_definition",
    "definition_id": "def_001"
  }
  ```

  ```json Response theme={null}
  {
    "definition": { "id": "def_001" },
    "definition_object": { "steps": [] }
  }
  ```
</CodeGroup>
