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

# List Definitions

List definitions of a specific category in the revision.

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

### Request Body

| Parameter  | Type   | Required | Description                 |
| :--------- | :----- | :------- | :-------------------------- |
| `engine`   | string | Yes      | Must be `workflow_blobhub`. |
| `command`  | string | Yes      | Must be `list_definitions`. |
| `category` | string | Yes      | `workflow` or `playground`. |

### Response

| Parameter     | Type  | Description                 |
| :------------ | :---- | :-------------------------- |
| `definitions` | array | List of definition objects. |

### Example

<CodeGroup>
  ```json Request theme={null}
  {
    "engine": "workflow_blobhub",
    "command": "list_definitions",
    "category": "workflow"
  }
  ```

  ```json Response theme={null}
  {
    "definitions": [
      {
        "id": "def_001",
        "alias": "data-process",
        "category": "workflow"
      }
    ]
  }
  ```
</CodeGroup>
