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

# Get batch results

> Paginated batch results grouped by file. By default returns merged per-file transcription results.

Paginated batch results endpoint.

## Query params

* `status` (optional): `completed`, `failed`, `retrying`, `processing`
* `page` (default: `1`)
* `limit` (default: `50`, max: `200`)
* `raw` (default: `false`)
  * `false`: merged per-file results
  * `true`: raw per-job records
* `chunks` (optional bool): include chunk-level details inline
* `speech_information` (optional bool): include segment-level speech information (tone, accent, speaker\_id, timestamps, etc.)

## Example (merged, completed only)

```bash theme={"system"}
curl -X GET "https://api.soket.ai/transcribe/results/batch/$BATCH_ID?status=completed&page=1&limit=100" \
  -H "Authorization: Bearer $JWT_TOKEN"
```

## Example (raw job records)

```bash theme={"system"}
curl -X GET "https://api.soket.ai/transcribe/results/batch/$BATCH_ID?raw=true&page=1&limit=100" \
  -H "Authorization: Bearer $JWT_TOKEN"
```

## Typical response shapes

* `raw=false`: `{ batch_id, page, limit, total_pages, total_files, count, files: [...] }`
* `raw=true`: `{ batch_id, page, limit, total_pages, total_jobs, count, jobs: [...] }`
* Missing batch with no status filter: `{ "error": "batch not found" }`


## OpenAPI

````yaml GET /results/batch/{batch_id}
openapi: 3.0.3
info:
  title: Dhrith ASR API
  version: 1.0.0
  description: >-
    Upload audio, submit batches, track progress, and fetch merged transcription
    results.
servers:
  - url: https://api.soket.ai/transcribe
    description: Batch transcription, status, results, and download
  - url: https://api.soket.ai
    description: File upload and management
security:
  - bearerAuth: []
paths:
  /results/batch/{batch_id}:
    get:
      summary: Get batch results
      description: >-
        Paginated batch results grouped by file. By default returns merged
        per-file transcription results.
      operationId: getBatchResults
      parameters:
        - name: batch_id
          in: path
          required: true
          schema:
            type: string
        - name: status
          in: query
          required: false
          schema:
            type: string
            enum:
              - completed
              - failed
              - retrying
              - processing
        - name: page
          in: query
          required: false
          schema:
            type: integer
            default: 1
            minimum: 1
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            default: 50
            minimum: 1
            maximum: 200
        - name: raw
          in: query
          required: false
          schema:
            type: boolean
            default: false
        - name: chunks
          in: query
          required: false
          schema:
            type: boolean
        - name: speech_information
          in: query
          required: false
          schema:
            type: boolean
          description: >-
            Include segment-level speech information (tone, accent, speaker_id,
            timestamps, etc.)
      responses:
        '200':
          description: Batch results response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BatchResultsResponse'
        '401':
          description: Missing or invalid token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Batch not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    BatchResultsResponse:
      type: object
      properties:
        batch_id:
          type: string
        page:
          type: integer
        limit:
          type: integer
        total_pages:
          type: integer
        total_files:
          type: integer
        count:
          type: integer
        files:
          type: array
          items:
            type: object
            additionalProperties: true
    ErrorResponse:
      type: object
      properties:
        detail:
          oneOf:
            - type: string
            - type: object
              additionalProperties: true
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````