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

# Get translation results

> Returns HTML translations of each uploaded file, per upload, with per-page output.



## OpenAPI

````yaml /partner-api/openapi.json get /cases/{id}/translation
openapi: 3.0.3
info:
  title: TruEnroll Partner API
  version: 1.0.0
  description: >-
    Submit academic documents and retrieve structured extraction, forensics, and
    translation results.
servers:
  - url: https://eval-api.trential.dev/partner/v1
    description: Sandbox
  - url: https://api.truenroll.com/partner/v1
    description: Production
security:
  - apiKey: []
tags:
  - name: Cases
    description: Create and manage processing cases.
  - name: Results
    description: Fetch extraction, forensics, and translation results.
  - name: Webhooks
    description: Register endpoints that receive case events.
paths:
  /cases/{id}/translation:
    get:
      tags:
        - Results
      summary: Get translation results
      description: >-
        Returns HTML translations of each uploaded file, per upload, with
        per-page output.
      operationId: getCaseTranslation
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: TruEnroll case ID.
      responses:
        '200':
          description: Translation result.
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/SuccessResponse'
                  - properties:
                      data:
                        $ref: '#/components/schemas/TranslationResult'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Case not found or deleted.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '409':
          description: Translation was not requested for this case.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    SuccessResponse:
      type: object
      properties:
        success:
          type: boolean
          example: true
        message:
          type: string
        meta:
          type: object
          description: >-
            Optional metadata (e.g. pagination). Empty object when not
            applicable.
        data: {}
      required:
        - success
        - message
        - meta
        - data
    TranslationResult:
      type: object
      properties:
        id:
          type: string
        externalId:
          type: string
          nullable: true
        status:
          $ref: '#/components/schemas/CaseStatus'
        files:
          type: array
          items:
            $ref: '#/components/schemas/TranslationFile'
      required:
        - id
        - status
        - files
    ErrorResponse:
      type: object
      properties:
        statusCode:
          type: integer
        message:
          type: string
      required:
        - statusCode
        - message
    CaseStatus:
      type: string
      enum:
        - queued
        - processing
        - completed
        - failed
      description: Processing status.
    TranslationFile:
      type: object
      properties:
        uploadId:
          type: string
        credentialId:
          type: string
          nullable: true
          description: >-
            ID of the credential this file belongs to. `null` for raw files
            (uploads submitted with `classify: false`).
        fileId:
          type: string
        fileName:
          type: string
        status:
          $ref: '#/components/schemas/CaseStatus'
        htmlRepresentation:
          type: string
          nullable: true
          description: Full HTML translation of the document.
        htmlPages:
          type: array
          nullable: true
          items:
            type: string
          description: Per-page HTML strings.
      required:
        - uploadId
        - fileId
        - fileName
        - status
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: 'Partner API key. Also accepted as `Authorization: Bearer <key>`.'

````