Workflows
Overview of the Workflows API
Hand off to an LLM
Workflows orchestrate one or more functions into a directed acyclic graph (DAG) for document processing.
Use these endpoints to create, update, list, and manage workflows, and to invoke them
with file input via POST /v3/workflows/{workflowName}/call.
The call endpoint accepts files as either multipart form data or JSON with base64-encoded
content. In the Bem CLI, use @path/to/file inside JSON values to automatically read and
encode files:
bem workflows call --workflow-name my-workflow \
--input.single-file '{"inputContent": "@file.pdf", "inputType": "pdf"}' \
--waitSee also
- Workflows explained — concepts and patterns
- Quickstart — end-to-end example