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

> Returns merged transcript and status for one file.

Returns merged transcript and status for one file.

## Query params

* `chunks` (optional bool): include per-chunk details
* `speech_information` (optional bool): include segment-level speech information (tone, accent, speaker\_id, timestamps, etc.)

## Example

```bash theme={"system"}
curl -X GET "https://api.soket.ai/transcribe/results/file/$FILE_ID?chunks=true" \
  -H "Authorization: Bearer $JWT_TOKEN"
```

## Typical response shape

* Found file: `{ file_id, filename, status, result?, errors?, chunk_results? }`
* Not found: `{ "error": "file not found" }`

In development mode, additional counters may be included:
`total_chunks`, `completed_chunks`, and `failed_chunks`.


## OpenAPI

````yaml GET /results/file/{file_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/file/{file_id}:
    get:
      summary: Get file results
      description: Returns merged transcript and status for one file.
      operationId: getFileResults
      parameters:
        - name: file_id
          in: path
          required: true
          schema:
            type: string
        - 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: File results response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FileResultsResponse'
        '401':
          description: Missing or invalid token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: File not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    FileResultsResponse:
      type: object
      properties:
        file_id:
          type: string
        filename:
          type: string
        status:
          type: string
        result:
          type: object
          additionalProperties: true
        errors:
          type: array
          items:
            type: object
            additionalProperties: true
        chunk_results:
          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

````