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

# Get batch job files

> Returns signed download URLs for the input audio and the output transcripts of a completed job. Outputs are returned per available format (`json`, `txt`, `srt`); missing formats are omitted.



## OpenAPI

````yaml /api-reference/batch/batch.oas.json get /v1/batch/jobs/{jobId}/files
openapi: 3.1.0
info:
  version: 0.1.0
  title: SLNG Batch API
  description: >-
    Transcribe audio files asynchronously. Upload a file, monitor the job
    progress, and download the transcript when it's ready.
servers:
  - url: https://api.batch.slng.ai
    description: Production
  - url: https://stageapi.batch.slng.ai
    description: Staging
security:
  - bearerAuth: []
tags:
  - name: Speechmatics
    description: Create and manage asynchronous transcription jobs.
paths:
  /v1/batch/jobs/{jobId}/files:
    get:
      tags:
        - Speechmatics
      summary: Get batch job files
      description: >-
        Returns signed download URLs for the input audio and the output
        transcripts of a completed job. Outputs are returned per available
        format (`json`, `txt`, `srt`); missing formats are omitted.
      operationId: batchJobsFiles
      parameters:
        - $ref: '#/components/parameters/jobId'
      responses:
        '200':
          description: Input and output files with signed download URLs.
          content:
            application/json:
              schema:
                type: object
                properties:
                  job_id:
                    type: string
                    description: The job identifier.
                  inputs:
                    type: array
                    description: Uploaded audio files.
                    items:
                      $ref: '#/components/schemas/JobFile'
                  outputs:
                    type: array
                    description: >-
                      One entry per available output format. Missing formats are
                      omitted.
                    items:
                      $ref: '#/components/schemas/JobOutputFile'
              example:
                job_id: myjob123
                inputs:
                  - key: inputs/myjob123.wav
                    s3_uri: s3://slng-production-batch-input/inputs/myjob123.wav
                    download_url: >-
                      https://slng-production-batch-input.s3.amazonaws.com/inputs/myjob123.wav?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Expires=3600&...
                outputs:
                  - format: json
                    key: outputs/myjob123.json
                    s3_uri: s3://slng-production-batch-output/outputs/myjob123.json
                    download_url: >-
                      https://slng-production-batch-output.s3.amazonaws.com/outputs/myjob123.json?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Expires=3600&...
                  - format: txt
                    key: outputs/myjob123.txt
                    s3_uri: s3://slng-production-batch-output/outputs/myjob123.txt
                    download_url: >-
                      https://slng-production-batch-output.s3.amazonaws.com/outputs/myjob123.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Expires=3600&...
                  - format: srt
                    key: outputs/myjob123.srt
                    s3_uri: s3://slng-production-batch-output/outputs/myjob123.srt
                    download_url: >-
                      https://slng-production-batch-output.s3.amazonaws.com/outputs/myjob123.srt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Expires=3600&...
        '400':
          description: Validation error (non-alphanumeric `jobId`).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error: job_id must be alphanumeric
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/InternalError'
components:
  parameters:
    jobId:
      name: jobId
      in: path
      required: true
      schema:
        type: string
        pattern: ^[a-zA-Z0-9]+$
      description: The alphanumeric job identifier.
      example: myjob123
  schemas:
    JobFile:
      type: object
      description: An input file associated with a job, with a signed download URL.
      required:
        - key
        - s3_uri
        - download_url
      properties:
        key:
          type: string
          description: S3 object key.
        s3_uri:
          type: string
          description: Full `s3://bucket/key` URI.
        download_url:
          type: string
          format: uri
          description: Signed URL to download the file. Expires after approximately 1 hour.
    JobOutputFile:
      type: object
      description: >-
        An output transcript file, with format and signed download URL. Missing
        formats are omitted from the list.
      required:
        - format
        - key
        - s3_uri
        - download_url
      properties:
        format:
          type: string
          enum:
            - json
            - txt
            - srt
          description: Output transcript format.
        key:
          type: string
          description: S3 object key.
        s3_uri:
          type: string
          description: Full `s3://bucket/key` URI.
        download_url:
          type: string
          format: uri
          description: Signed URL to download the file. Expires after approximately 1 hour.
    Error:
      type: object
      description: >-
        Error envelope. A short, user-presentable string only — no internal
        codes, stack traces, or upstream raw text.
      required:
        - error
      additionalProperties: false
      properties:
        error:
          type: string
  responses:
    Forbidden:
      description: Missing or invalid API key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: API key id not found
    NotFound:
      description: Job not found, or not owned by the authenticated API key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: Job not found
    InternalError:
      description: Internal server error.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: Internal server error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API key from the SLNG dashboard.

````