Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,9 @@
},
{
"group": "Advanced workflows",
"pages": []
"pages": [
"serverless/advanced-workflows/batch-jobs"
]
},
{
"group": "Load balancing",
Expand Down
4 changes: 4 additions & 0 deletions release-notes.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ rss: true

<Accordion title="August 2026" defaultOpen>

**August 19, 2026**

<h4><Badge color="green">New Release</Badge> [Batch Jobs (BETA)](/serverless/advanced-workflows/batch-jobs)</h4> Submit large sets of inference requests to a Serverless endpoint as a single managed unit. Create a batch, finalize it to start processing, and poll for status and progress using per-request counts. See [Batch Jobs](/serverless/advanced-workflows/batch-jobs) to get started.

**August 18, 2026**

<h4><Badge color="green">New Release</Badge> [REST API v2](/api-reference-v2/overview)</h4> REST API v2 is now generally available. v2 moves to a new base URL (`https://api.runpod.io/v2`), reorganizes resource paths, standardizes request and response shapes, and adds new capabilities including catalog endpoints, pod log streaming, and Serverless observability. See the [migration guide](/api-reference-v2/migrate-from-v1) to move your existing integrations.
Expand Down
243 changes: 243 additions & 0 deletions serverless/advanced-workflows/batch-jobs.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,243 @@
---

Check warning on line 1 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L1

Try to keep the SMOG grade (10.48) below 10.

Check warning on line 1 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L1

Try to keep the Coleman–Liau Index grade (12.03) below 9.

Check warning on line 1 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L1

Try to keep the Flesch–Kincaid grade level (8.38) below 8.

Check warning on line 1 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L1

Try to keep the Flesch reading ease score (56.58) above 70.

Check warning on line 1 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L1

Try to keep the LIX score (42.45) below 35.

Check warning on line 1 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L1

Try to keep the Automated Readability Index (8.89) below 8.
title: "Batch jobs"
description: "Submit large collections of inference requests as a single named batch, processed asynchronously within a 24-hour SLA."

Check warning on line 3 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L3

Spell out 'SLA', if it's unfamiliar to the audience.
tag: BETA

Check warning on line 4 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L4

Spell out 'BETA', if it's unfamiliar to the audience.
---

Use batch jobs to run large volumes of inference requests against a serverless endpoint without waiting for each result in real time. Batch jobs run asynchronously on dedicated workers that are separate from your endpoint's standard `/run` traffic, so submitting a batch never delays your interactive requests.

<Note>Batch Jobs is currently in beta. Join our [Discord](https://discord.gg/runpod) to provide feedback and get support.</Note>

## When to use batch vs /run

| | Batch | `/run` |
|---|---|---|
| **Use case** | Bulk, offline workloads | Interactive, real-time inference |
| **Latency** | Completed within 24h SLA | Seconds to minutes |

Check warning on line 16 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L16

Put a nonbreaking space between the number and the unit in '24h'.

Check warning on line 16 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L16

Spell out 'SLA', if it's unfamiliar to the audience.
| **Traffic isolation** | Dedicated batch workers | Standard serverless workers |
| **Result delivery** | Poll or subscribe to notifications | Synchronous or async poll |

Choose batch when your workload can tolerate multi-hour latency — for example, nightly dataset processing, pre-computing embeddings, or running evaluations.

Check warning on line 20 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L20

Don't put a space before or after a dash.

## Batch lifecycle

A batch moves through the following states:

```
DRAFT → FINALIZED → FAILED
→ CANCELLED
```

- **DRAFT** — The batch is a draft. You can add, update, or remove individual requests. Batch workers have not started any work.

Check warning on line 31 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L31

Spell out 'DRAFT', if it's unfamiliar to the audience.

Check warning on line 31 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L31

Don't put a space before or after a dash.

Check warning on line 31 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L31

Use 'haven't' instead of 'have not'.
- **FINALIZED** — The batch is locked; no further requests can be added or removed. Batch workers process the requests while the batch stays in this state, and there is no separate `RUNNING` or `COMPLETED` batch status. Track progress through the `requestTotal`, `requestInProgress`, `requestCompleted`, and `requestFailed` counts — all requests have finished when `requestCompleted + requestFailed` equals `requestTotal`.

Check warning on line 32 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L32

In general, use active voice instead of passive voice ('is locked').

Check warning on line 32 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L32

In general, use active voice instead of passive voice ('be added').

Check warning on line 32 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L32

Don't put a space before or after a dash.
- **FAILED** — The batch itself failed before or during execution (distinct from individual request failures in a batch whose other requests finished successfully).

Check warning on line 33 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L33

Don't put a space before or after a dash.

Check warning on line 33 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L33

Use parentheses judiciously.
- **CANCELLED** — You cancelled the batch. See [Cancellation](#cancellation) for details.

Check warning on line 34 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L34

Don't put a space before or after a dash.

You must call `/finalize` before the batch begins processing. A DRAFT batch will not be executed.

Check warning on line 36 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L36

Spell out 'DRAFT', if it's unfamiliar to the audience.

Check warning on line 36 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L36

Use 'won't' instead of 'will not'.

Check warning on line 36 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L36

Avoid using 'will'.

Check warning on line 36 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L36

In general, use active voice instead of passive voice ('be executed').

## API walkthrough

### 1. Create a batch

```bash
POST /v2/{endpoint_id}/batch
Authorization: Bearer {api_key}
Content-Type: application/json
```

The request body is a top-level JSON array. Send an empty array `[]` to create a batch and add requests later, or send a populated array to include an initial list of requests. Each element uses the same shape as a standard `/run` call — a JSON object with an `input` field.

Check warning on line 48 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L48

Don't put a space before or after a dash.

```json
[
{ "input": { "text": "The quick brown fox" } },
{ "input": { "text": "Jumped over the lazy dog" } }
]
```

**Response:**

```json
{
"id": "batch_01j9abc123",
"status": "DRAFT"
}
```

### 2. Add more requests

While the batch is DRAFT, append additional requests:

Check warning on line 68 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L68

Spell out 'DRAFT', if it's unfamiliar to the audience.

```bash
POST /v2/{endpoint_id}/batch/{batch_id}/requests
Authorization: Bearer {api_key}
Content-Type: application/json
```

```json
{
"requests": [
{ "input": { "text": "More text to embed" } },
{ "input": { "text": "Another piece of text" } },
{ "input": { "text": "And another one" } }
]
}
```

Request body size is limited to 10 MiB per call. You can call this endpoint multiple times to build up large batches incrementally.

Check warning on line 86 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L86

In general, use active voice instead of passive voice ('is limited').

### 3. Finalize the batch

Once you've added all requests, finalize the batch to make it eligible for execution:

```bash
POST /v2/{endpoint_id}/batch/{batch_id}/finalize
Authorization: Bearer {api_key}
```

After finalization, the batch status transitions to `FINALIZED` and requests are locked. You can no longer add or remove individual requests.

Check warning on line 97 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L97

In general, use active voice instead of passive voice ('are locked').

### 4. Poll batch status

Check overall progress by fetching the batch summary:

```bash
GET /v2/{endpoint_id}/batch/{batch_id}
Authorization: Bearer {api_key}
```

**Response:**

```json
{
"id": "batch_01j9abc123",
"endpointId": "abc123xyz",
"status": "FINALIZED",
"requestTotal": 1000,
"requestInProgress": 8,
"requestCompleted": 244,
"requestFailed": 6,
"createdAt": 1783584000000
}
```

Poll this endpoint at whatever interval suits your workflow. A batch that is still processing reports `status: FINALIZED`; there is no `RUNNING` or `COMPLETED` status. All requests have finished when `requestCompleted + requestFailed` equals `requestTotal`. The batch reaches a terminal state only when `status` is `FAILED` or `CANCELLED`. The `createdAt` field is a Unix epoch timestamp in milliseconds.

Check warning on line 123 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L123

Use 'that's' instead of 'that is'.

Check warning on line 123 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L123

Use semicolons judiciously.

### 5. Retrieve results

Fetch paginated results for all child requests in the batch:

```bash
GET /v2/{endpoint_id}/batch/{batch_id}/requests
Authorization: Bearer {api_key}
```

**Response:**

```json
{
"requests": [
{
"id": "req_abc001",
"status": "COMPLETED",
"output": { "embedding": [0.12, 0.34, ...] },
"startedAt": "2026-07-09T09:15:00Z",
"completedAt": "2026-07-09T09:15:02Z"
},
{
"id": "req_abc002",
"status": "FAILED",
"error": "Handler raised an exception: timeout exceeded",
"startedAt": "2026-07-09T09:15:01Z",
"completedAt": "2026-07-09T09:15:10Z"
}
],
"total": 1000,
"offset": 0,
"limit": 50,
"hasMore": true
}
```

The results are paginated. Pass the `offset` and `limit` query parameters to page through results. The `hasMore` field indicates whether more pages remain.

Check warning on line 161 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L161

In general, use active voice instead of passive voice ('are paginated').

## Full API reference

| Method | Path | Description |
|--------|------|-------------|
| `POST` | `/v2/{endpoint_id}/batch` | Create a new batch, optionally with initial requests |
| `POST` | `/v2/{endpoint_id}/batch/{id}/requests` | Append requests to a DRAFT batch |

Check warning on line 168 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L168

Spell out 'DRAFT', if it's unfamiliar to the audience.
| `POST` | `/v2/{endpoint_id}/batch/{id}/finalize` | Lock the batch and make it eligible for execution |
| `PUT` | `/v2/{endpoint_id}/batch/{id}` | Update batch attributes (e.g. display name) |

Check warning on line 170 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L170

Use parentheses judiciously.

Check warning on line 170 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L170

Use 'for example' instead of 'e.g.'.
| `DELETE` | `/v2/{endpoint_id}/batch/{id}/requests/{requestId}` | Remove a single request from a DRAFT batch |

Check warning on line 171 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L171

Spell out 'DRAFT', if it's unfamiliar to the audience.
| `GET` | `/v2/{endpoint_id}/batch` | List all batches for an endpoint, newest first |
| `GET` | `/v2/{endpoint_id}/batch/{id}` | Batch summary with request counts |
| `POST` | `/v2/{endpoint_id}/batch/{id}/cancel` | Cancel a batch |
| `GET` | `/v2/{endpoint_id}/batch/{id}/requests` | Paginated child request list |

For full request and response schemas, see the [API reference](/api-reference/endpoint/batch).

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just checking that this link is meant to be broken right now.


## Monitoring batches in the console

Open your endpoint in the Runpod console and select the **Batch** tab to see all batches. Each row shows the batch name, status, and progress counts.

Click a batch to open the detail view, which shows:

- Top-level status and progress
- Per-request rows with status, timestamps, and error messages for failed requests
- Links to the full request detail view for each child request

The child request list is sorted by failures first, then in-progress, then queued, then completed.

Check warning on line 189 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L189

In general, use active voice instead of passive voice ('is sorted').

## Notifications

When a batch reaches a terminal state (`FAILED` or `CANCELLED`), Runpod sends:

Check warning on line 193 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L193

Use parentheses judiciously.

- **Console Inbox notification** — includes batch ID, endpoint name, terminal status, and item counts (completed / failed / total)

Check warning on line 195 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L195

Don't put a space before or after a dash.

Check warning on line 195 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L195

Use parentheses judiciously.
- **Webhook event** — if your account has a webhook subscription configured for batch events

Check warning on line 196 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L196

Don't put a space before or after a dash.

Notifications are sent once per terminal state transition and are not fired for intermediate progress.

Check warning on line 198 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L198

In general, use active voice instead of passive voice ('are sent').

Check warning on line 198 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L198

Use 'aren't' instead of 'are not'.

## Cancellation

To cancel a batch:

```bash
POST /v2/{endpoint_id}/batch/{batch_id}/cancel
Authorization: Bearer {api_key}
```

Cancellation behavior:

- **Queued requests** are cancelled immediately and are not billed.

Check warning on line 211 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L211

In general, use active voice instead of passive voice ('are cancelled').

Check warning on line 211 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L211

Use 'aren't' instead of 'are not'.
- **In-progress requests** are allowed to finish and are billed normally.

Check warning on line 212 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L212

In general, use active voice instead of passive voice ('are allowed').

Check warning on line 212 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L212

In general, use active voice instead of passive voice ('are billed').

The batch status transitions to `CANCELLED` once all in-progress work has drained.

## Limits

| Limit | Value |
|-------|-------|
| Active batches per endpoint | 10 |
| Requests per batch | 5,000 |
| Queued requests per endpoint | 50,000 |

Limits are configurable for enterprise accounts. Contact sales for custom limits.

## Billing

Batch jobs are billed at the same rate as standard serverless requests on your endpoint. For enterprise customers, flex worker discounts apply to batch jobs. Billing is based on the compute time used by each child request, regardless of whether the batch was later cancelled (in-progress requests that completed before cancellation are billed normally).

Check warning on line 228 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L228

In general, use active voice instead of passive voice ('are billed').

Check warning on line 228 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L228

In general, use active voice instead of passive voice ('is based').

Check warning on line 228 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L228

Use parentheses judiciously.

Check warning on line 228 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L228

In general, use active voice instead of passive voice ('are billed').

## Error handling

**Individual request failures** — A failed child request does not fail the entire batch. The batch stays `FINALIZED` and continues processing the remaining requests; overall completion is inferred from the request counts (all requests are done when `requestCompleted + requestFailed` equals `requestTotal`). Inspect failed requests via the console or the `GET .../requests` endpoint; each failed request includes an error message from the handler.

Check warning on line 232 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L232

Use parentheses judiciously.

Check warning on line 232 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L232

Don't put a space before or after a dash.

Check warning on line 232 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L232

Use 'doesn't' instead of 'does not'.

Check warning on line 232 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L232

Use semicolons judiciously.

Check warning on line 232 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L232

In general, use active voice instead of passive voice ('is inferred').

Check warning on line 232 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L232

In general, use active voice instead of passive voice ('are done').

**Batch-level failure** — If the batch itself fails (status `FAILED`), it indicates a systemic problem rather than individual handler errors. Contact support if you see this state and cannot explain it from request-level errors.

Check warning on line 234 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L234

Use parentheses judiciously.

Check warning on line 234 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L234

Don't put a space before or after a dash.

Check warning on line 234 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L234

Use 'can't' instead of 'cannot'.

**Redis durability** — Batch jobs use the same Redis-backed queue as standard serverless requests. In the event of a Redis failure, queued batch requests may be lost. This is an MVP limitation that applies equally to `/run` traffic.

Check warning on line 236 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L236

Don't put a space before or after a dash.

Check warning on line 236 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L236

In general, use active voice instead of passive voice ('be lost').

Check warning on line 236 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L236

Spell out 'MVP', if it's unfamiliar to the audience.

## Known limitations

- Batch jobs inherit the GPU type configured on your endpoint. You cannot specify a different GPU per batch or per request.

Check warning on line 240 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L240

Use 'can't' instead of 'cannot'.
- There is no per-request scheduling or ordering. Requests within a batch are processed in an unspecified order.

Check warning on line 241 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L241

In general, use active voice instead of passive voice ('are processed').
- Cost estimation before finalization is not available at launch.

Check warning on line 242 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L242

Use 'isn't' instead of 'is not'.
- Batch workers are scheduled based on global queue urgency and off-peak capacity. Start time within the 24h SLA is not guaranteed.

Check warning on line 243 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L243

In general, use active voice instead of passive voice ('are scheduled').

Check warning on line 243 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L243

Put a nonbreaking space between the number and the unit in '24h'.

Check warning on line 243 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L243

Spell out 'SLA', if it's unfamiliar to the audience.

Check warning on line 243 in serverless/advanced-workflows/batch-jobs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (runpod-b18f5ded) - vale-spellcheck

serverless/advanced-workflows/batch-jobs.mdx#L243

Use 'isn't' instead of 'is not'.
Loading