> 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.

# Get Batch Status

GET https://api.sofer.ai/v1/transcriptions/batch/{batch_id}/status

Check the progress of a batch transcription. Returns counts of completed, failed, and pending transcriptions, plus details for each individual transcription.

If a batch item was submitted with `client_item_id`, that value is echoed back in each transcription entry.

Reference: https://docs.sofer.ai/api-reference/batch-transcribe/get-batch-status

## Authentication

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

## Request

### Path parameters

- `batch_id` (UUID, required) — The batch ID returned from [Create Batch Transcription](/api-reference/batch-transcribe/create-batch-transcription)

## Response

### 200

- `batch_id` (UUID, required) — ID of this batch
- `status` (enum, required) — Overall batch status
  - Allowed values: `RECEIVED`, `PROCESSING`, `COMPLETED`, `FAILED`
- `total_count` (integer, required) — Total transcriptions in batch
- `completed_count` (integer, required) — Successfully completed
- `failed_count` (integer, required) — Failed transcriptions
- `pending_count` (integer, required) — Still processing or queued
- `transcriptions` (list of TranscriptionInfo, required) — Status details for each transcription in the batch

## 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

### TranscriptionInfo

- `id` (UUID, required) — ID of the transcription
- `title` (string, required) — Title of the transcription
- `created_at` (datetime, required) — When the transcription was created
- `status` (enum, required) — Current status of the transcription
  - Allowed values: `RECEIVED`, `PENDING`, `PROCESSING`, `COMPLETED`, `CANCELLED`, `FAILED`, `UPLOADED`, `INSUFFICIENT_FUNDS`
- `client_item_id` (string, optional) — Caller-defined per-item identifier for batch items. This is `null` for single transcriptions and for batch items submitted without a `client_item_id`.
- `folder_id` (UUID, optional) — Containing document folder, or null for root.
- `primary_language` (enum, optional) — The primary language of the audio content. This is null when an upload has not yet been configured for transcription.
  - Allowed values: `en`, `he`, `yi`, `fr`
- `hebrew_word_format` (list of enum, optional) — Indicates how Hebrew words are transcribed in the response when the primary language is English. * `hybrid` uses italicized English transliteration for short phrases and Hebrew letters for longer phrases. * Hebrew words are in Hebrew letters if "he" is specified. * Hebrew words are transliterated into English letters if "en" is specified. * If both "he" and "en" are specified, both versions are provided back-to-back for each Hebrew word. Transliterated Hebrew words are surrounded by \<i> tags in the response text. This is null when no Hebrew-word format has been configured for the upload.
  - Allowed values: `en`, `he`, `hybrid`
- `num_speakers` (integer, optional) — Number of speakers in the audio. This can be `null` while auto-detection is pending or if no count was determined.
- `duration` (double, optional) — Duration of the audio in seconds. If None, it means the duration was not calculated yet.
- `model` (string, optional) — Model used for the transcription. V1 is the latest and most accurate model, especially for audio with longer stretches of Hebrew. V0 is suitable for audio with fewer Hebrew words.

## Examples

**Response**

```json
{
  "batch_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "status": "PROCESSING",
  "total_count": 3,
  "completed_count": 1,
  "failed_count": 0,
  "pending_count": 2,
  "transcriptions": [
    {
      "id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
      "title": "Shiur 1",
      "created_at": "2024-01-15T09:30:00Z",
      "status": "COMPLETED",
      "client_item_id": "shiur_1",
      "primary_language": "en",
      "hebrew_word_format": [
        "en",
        "he"
      ],
      "num_speakers": 1,
      "duration": 1802.5,
      "model": "v1"
    },
    {
      "id": "e6f0d95a-d3c3-5ca5-c5c1-8aad8b0aad43",
      "title": "Shiur 2",
      "created_at": "2024-01-15T09:30:00Z",
      "status": "PROCESSING",
      "client_item_id": "shiur_2",
      "primary_language": "en",
      "hebrew_word_format": [
        "en",
        "he"
      ],
      "num_speakers": 1,
      "model": "v1"
    }
  ]
}
```

**SDK Code**

```python
import requests

url = "https://api.sofer.ai/v1/transcriptions/batch/a1b2c3d4-e5f6-7890-abcd-ef1234567890/status"

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

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

print(response.json())
```

```javascript
const url = 'https://api.sofer.ai/v1/transcriptions/batch/a1b2c3d4-e5f6-7890-abcd-ef1234567890/status';
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
package main

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

func main() {

	url := "https://api.sofer.ai/v1/transcriptions/batch/a1b2c3d4-e5f6-7890-abcd-ef1234567890/status"

	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
require 'uri'
require 'net/http'

url = URI("https://api.sofer.ai/v1/transcriptions/batch/a1b2c3d4-e5f6-7890-abcd-ef1234567890/status")

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
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.sofer.ai/v1/transcriptions/batch/a1b2c3d4-e5f6-7890-abcd-ef1234567890/status")
  .header("Authorization", "Bearer <apiKey>")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.sofer.ai/v1/transcriptions/batch/a1b2c3d4-e5f6-7890-abcd-ef1234567890/status', [
  'headers' => [
    'Authorization' => 'Bearer <apiKey>',
  ],
]);

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

```csharp
using RestSharp;

var client = new RestClient("https://api.sofer.ai/v1/transcriptions/batch/a1b2c3d4-e5f6-7890-abcd-ef1234567890/status");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <apiKey>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

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

let request = NSMutableURLRequest(url: NSURL(string: "https://api.sofer.ai/v1/transcriptions/batch/a1b2c3d4-e5f6-7890-abcd-ef1234567890/status")! 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()
```