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

List executions within a session.

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

### Request Body

| Parameter            | Type   | Required | Description                 |
| :------------------- | :----- | :------- | :-------------------------- |
| `engine`             | string | Yes      | Must be `workflow_blobhub`. |
| `command`            | string | Yes      | Must be `list_executions`.  |
| `session_id`         | string | Yes      | The ID of the session.      |
| `start_execution_id` | string | No       | Pagination cursor.          |

### Response

| Parameter           | Type   | Description                |
| :------------------ | :----- | :------------------------- |
| `executions`        | array  | List of execution objects. |
| `last_execution_id` | string | Cursor for next page.      |

### Example

<CodeGroup>
  ```json Request theme={null}
  {
    "engine": "workflow_blobhub",
    "command": "list_executions",
    "session_id": "sess_001"
  }
  ```

  ```json Response theme={null}
  {
    "executions": [
      {
        "id": "exec_001",
        "status": "running"
      }
    ],
    "last_execution_id": "exec_001"
  }
  ```
</CodeGroup>
