> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.sofer.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.sofer.ai/_mcp/server.

# List Batches For Manifest

GET https://api.sofer.ai/v1/transcriptions/batch-files/{batch_file_id}/batches

Find batches created from a specific uploaded manifest, newest first. Only manifests and batches owned by the authenticated user are returned.

Use `total_count` to check whether this manifest has ever been used to create a batch. An unused manifest returns `total_count: 0` and an empty `batches` list. A missing manifest or one owned by another user returns 404.

Each batch includes its current status and transcription counts. `RECEIVED` and `PROCESSING` indicate queued or active work; `COMPLETED` and `FAILED` indicate finished work. A completed batch can contain failed items. Use [Get Batch Status](/api-reference/batch-transcribe/get-batch-status) with a returned `batch_id` for individual transcription details.

Results match the exact `batch_file_id`, not other uploads with identical contents. This is a read-only lookup, not an atomic duplicate-submission guard.

Reference: https://docs.sofer.ai/api-reference/batch-transcribe/list-batch-file-batches

## Authentication

- `Authorization` header (bearer token, required) — Bearer authentication of the form `Bearer <token>`, where token is your auth token.

## Request

### Path parameters

- `batch_file_id` (UUID, required) — The manifest ID returned by uploading a batch file or creating one from RSS.

### Query parameters

- `limit` (integer, optional) — Number of batches per page. Defaults to 20; must be between 1 and 100.
- `offset` (integer, optional) — Number of batches to skip. Defaults to 0; must be non-negative.

## Response

### 200

- `batch_file_id` (UUID, required)
- `total_count` (integer, required) — Total matching batches across all pages. Zero means no batches have been created from this manifest.
- `batches` (list of BatchSummary, required) — Matching batches ordered by creation time descending, then batch ID descending to break ties.
- `limit` (integer, required)
- `offset` (integer, required)
- `has_more` (boolean, required)
- `next_offset` (integer, optional) — Offset for the next page, omitted when there are no more results.

## Errors

### 404 Batch Not Found

Batch not found

### 401 Authentication Error

Authentication error

### 429 Rate Limit Error

Rate limit exceeded, or you have used up your quota

## Types

### BatchSummary

Current progress of a batch created from a manifest, without individual transcription payloads.

- `batch_id` (UUID, required)
- `created_at` (datetime, required)
- `status` (enum, required) — Overall status of a batch transcription job.
  - Allowed values: `RECEIVED`, `PROCESSING`, `COMPLETED`, `FAILED`
- `total_count` (integer, required) — Total transcriptions expected in this batch, including items still being initialized.
- `completed_count` (integer, required) — Successfully completed transcriptions.
- `failed_count` (integer, required) — Failed or cancelled transcriptions, including insufficient-funds failures.
- `pending_count` (integer, required) — Transcriptions still queued, processing, or being initialized.
- `title` (string, optional)

## Examples

### unused_manifest

**Response**

```json
{
  "batch_file_id": "f1234567-89ab-cdef-0123-456789abcdef",
  "total_count": 0,
  "batches": [],
  "limit": 20,
  "offset": 0,
  "has_more": false
}
```

**SDK Code**

```python unused_manifest
import requests

url = "https://api.sofer.ai/v1/transcriptions/batch-files/f1234567-89ab-cdef-0123-456789abcdef/batches"

headers = {"Authorization": "Bearer <apiKey>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript unused_manifest
const url = 'https://api.sofer.ai/v1/transcriptions/batch-files/f1234567-89ab-cdef-0123-456789abcdef/batches';
const options = {method: 'GET', headers: {Authorization: 'Bearer <apiKey>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go unused_manifest
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.sofer.ai/v1/transcriptions/batch-files/f1234567-89ab-cdef-0123-456789abcdef/batches"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <apiKey>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby unused_manifest
require 'uri'
require 'net/http'

url = URI("https://api.sofer.ai/v1/transcriptions/batch-files/f1234567-89ab-cdef-0123-456789abcdef/batches")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <apiKey>'

response = http.request(request)
puts response.read_body
```

```java unused_manifest
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.sofer.ai/v1/transcriptions/batch-files/f1234567-89ab-cdef-0123-456789abcdef/batches")
  .header("Authorization", "Bearer <apiKey>")
  .asString();
```

```php unused_manifest
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.sofer.ai/v1/transcriptions/batch-files/f1234567-89ab-cdef-0123-456789abcdef/batches', [
  'headers' => [
    'Authorization' => 'Bearer <apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp unused_manifest
using RestSharp;

var client = new RestClient("https://api.sofer.ai/v1/transcriptions/batch-files/f1234567-89ab-cdef-0123-456789abcdef/batches");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <apiKey>");
IRestResponse response = client.Execute(request);
```

```swift unused_manifest
import Foundation

let headers = ["Authorization": "Bearer <apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.sofer.ai/v1/transcriptions/batch-files/f1234567-89ab-cdef-0123-456789abcdef/batches")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### existing_batch

**Response**

```json
{
  "batch_file_id": "f1234567-89ab-cdef-0123-456789abcdef",
  "total_count": 0,
  "batches": [],
  "limit": 20,
  "offset": 0,
  "has_more": false
}
```

**SDK Code**

```python existing_batch
import requests

url = "https://api.sofer.ai/v1/transcriptions/batch-files/f1234567-89ab-cdef-0123-456789abcdef/batches"

headers = {"Authorization": "Bearer <apiKey>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript existing_batch
const url = 'https://api.sofer.ai/v1/transcriptions/batch-files/f1234567-89ab-cdef-0123-456789abcdef/batches';
const options = {method: 'GET', headers: {Authorization: 'Bearer <apiKey>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go existing_batch
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.sofer.ai/v1/transcriptions/batch-files/f1234567-89ab-cdef-0123-456789abcdef/batches"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <apiKey>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby existing_batch
require 'uri'
require 'net/http'

url = URI("https://api.sofer.ai/v1/transcriptions/batch-files/f1234567-89ab-cdef-0123-456789abcdef/batches")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <apiKey>'

response = http.request(request)
puts response.read_body
```

```java existing_batch
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.sofer.ai/v1/transcriptions/batch-files/f1234567-89ab-cdef-0123-456789abcdef/batches")
  .header("Authorization", "Bearer <apiKey>")
  .asString();
```

```php existing_batch
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.sofer.ai/v1/transcriptions/batch-files/f1234567-89ab-cdef-0123-456789abcdef/batches', [
  'headers' => [
    'Authorization' => 'Bearer <apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp existing_batch
using RestSharp;

var client = new RestClient("https://api.sofer.ai/v1/transcriptions/batch-files/f1234567-89ab-cdef-0123-456789abcdef/batches");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <apiKey>");
IRestResponse response = client.Execute(request);
```

```swift existing_batch
import Foundation

let headers = ["Authorization": "Bearer <apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.sofer.ai/v1/transcriptions/batch-files/f1234567-89ab-cdef-0123-456789abcdef/batches")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```