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

# execute

# `prefect.bundles.execute`

## Functions

### `execute_bundle_from_file` <sup><a href="https://github.com/PrefectHQ/prefect/blob/main/src/prefect/bundles/execute.py#L8" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>

```python theme={null}
execute_bundle_from_file(key: str) -> None
```

Loads a bundle from a file and executes it.

**Args:**

* `key`: The key of the bundle to execute.

### `execute_bundle` <sup><a href="https://github.com/PrefectHQ/prefect/blob/main/src/prefect/bundles/execute.py#L21" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>

```python theme={null}
execute_bundle(bundle: dict[str, Any]) -> None
```
