---
description: Reference workflow execution context, initialization, and logging APIs.
---

# Workflows API

AI-generated, awaiting review [ View as Markdown](https://flueframework.com/docs/api/workflows-api/index.md) 

## Imports

TODO: Document workflow-facing types imported from `@flue/runtime`.

## `FlueContext`

TODO: Reference workflow `id`, `payload`, `env`, request access, logger access, and `init()`.

## `init(...)`

TODO: Document initializing created agents within a workflow and returning a harness.

## `FlueLogger`

TODO: Document structured workflow logging.

## Runs and operations

TODO: Clarify workflow `runId` semantics versus operations on initialized harness sessions.

## Docs Navigation

Current page: [Workflows API](https://flueframework.com/docs/api/workflows-api/)

### Sections

* [Guide](https://flueframework.com/docs/getting-started/quickstart/)
* [Reference](https://flueframework.com/docs/api/agent-api/)
* [CLI](https://flueframework.com/docs/cli/overview/)
* [SDK](https://flueframework.com/docs/sdk/overview/)
* [Ecosystem](https://flueframework.com/docs/ecosystem/overview/)

### Runtime

* [ Configuration ](https://flueframework.com/docs/reference/configuration/)
* [ Agent API ](https://flueframework.com/docs/api/agent-api/)
* [ Workflows API ](https://flueframework.com/docs/api/workflows-api/)
* [ Application API ](https://flueframework.com/docs/api/application-api/)
* [ Events Reference ](https://flueframework.com/docs/api/events-reference/)

### Advanced

* [ Sandbox Connector API ](https://github.com/withastro/flue/blob/main/docs/sandbox-connector-spec.md)
* [ Data Persistence API ](https://flueframework.com/docs/api/data-persistence-api/)