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

# Batch Tasks

> Submit N tasks in parallel, track all to completion, and return a results map.

## What this workflow does

Submits an array of task requests in parallel to `POST /v1/tasks/{type}`, polls all task IDs concurrently until every job reaches a terminal status, and returns a results map keyed by input index.

## Inputs

| Name | Required | Description |
| - | - | - |
| `tasks` | **required** | Array of `{type, body}` objects. `type` is a task slug (currently only `transcribe`); `body` is the full request body for that task type. |

## Output

Returns `results` — a map from task index to `{task_id, status, result, error}`, where `result` is the completed task's structured output (for `transcribe`, the transcript).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.