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

# Get a glossary import's status and diagnostics

> Requires `glossaries:read`. Poll until `status` is `completed` or `failed`.



## OpenAPI

````yaml https://public-api.hyperlocalise.com/openapi.yaml get /v1/glossaries/{glossaryId}/import-reports/{reportId}
openapi: 3.1.0
info:
  title: Hyperlocalise Public API
  version: 1.0.0
  description: >-
    Read projects, Queries, jobs, glossaries, and translation memories from a
    Hyperlocalise workspace; create native projects from project templates and
    manage those templates; define custom project fields and set their values;
    manage the strings, translations, screenshots, and settings of native
    projects; search strings; round-trip bilingual files; update jobs one at a
    time or in bulk; register job-change webhook endpoints; import and export
    glossaries and translation memories; and read the Reports page's reports as
    JSON or CSV.
servers:
  - url: https://public-api.hyperlocalise.com
security:
  - personalAccessToken: []
tags:
  - name: Identity
  - name: Projects
  - name: Project templates
  - name: Custom fields
  - name: Queries
  - name: Jobs
  - name: Strings
  - name: Translations
  - name: Screenshots
  - name: Figma attachments
  - name: Bilingual files
  - name: Glossaries
  - name: Translation memories
  - name: Webhooks
  - name: CDN
  - name: Hyperlab
  - name: Reports
    description: >-
      The Reports page's reports for scripts, BI tools and payment systems.
      Every report needs `reports:read`, which only admins' and localization
      managers' keys hold, and the workspace's Reports feature. Each answer says
      whether recent work is still being counted (`stillUpdating`); figures can
      lag live work by one capture run. A workspace may ask for 30 reports a
      minute, in bursts of 10.
paths:
  /v1/glossaries/{glossaryId}/import-reports/{reportId}:
    parameters:
      - $ref: '#/components/parameters/GlossaryId'
      - name: reportId
        in: path
        required: true
        schema:
          type: string
          format: uuid
    get:
      tags:
        - Glossaries
      summary: Get a glossary import's status and diagnostics
      description: >-
        Requires `glossaries:read`. Poll until `status` is `completed` or
        `failed`.
      operationId: getGlossaryImportReport
      responses:
        '200':
          description: The import run.
          content:
            application/json:
              schema:
                type: object
                required:
                  - import
                properties:
                  import:
                    $ref: '#/components/schemas/GlossaryImportReport'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '503':
          $ref: '#/components/responses/Unavailable'
components:
  parameters:
    GlossaryId:
      name: glossaryId
      in: path
      required: true
      schema:
        type: string
        format: uuid
  schemas:
    GlossaryImportReport:
      type: object
      required:
        - id
        - glossaryId
        - format
        - mode
        - status
        - counts
        - errorCode
        - errorMessage
        - createdAt
        - completedAt
        - diagnostics
      properties:
        id:
          type: string
          format: uuid
        glossaryId:
          type: string
          format: uuid
        format:
          type: string
          enum:
            - tbx
            - csv
            - xlsx
        mode:
          type: string
          enum:
            - preview
            - create
            - update
            - merge
            - replace
        status:
          type: string
          description: queued, processing, completed, or failed
        counts:
          type: object
          additionalProperties:
            type: integer
          description: Concepts and terms read, and terms created, updated, and merged.
        errorCode:
          type:
            - string
            - 'null'
        errorMessage:
          type:
            - string
            - 'null'
        createdAt:
          type: string
          format: date-time
        completedAt:
          type:
            - string
            - 'null'
          format: date-time
        diagnostics:
          type: array
          description: Up to 500 validation messages.
          items:
            type: object
            required:
              - severity
              - code
              - message
              - conceptId
              - termId
              - field
            properties:
              severity:
                type: string
                enum:
                  - warning
                  - error
              code:
                type: string
              message:
                type: string
              conceptId:
                type:
                  - string
                  - 'null'
              termId:
                type:
                  - string
                  - 'null'
              field:
                type:
                  - string
                  - 'null'
    Error:
      type: object
      required:
        - error
        - message
      properties:
        error:
          type: string
        message:
          type: string
        details:
          type: object
          description: >-
            Structured context, such as the `jobId` that stopped a bulk job
            update.
          additionalProperties: true
  responses:
    Unauthorized:
      description: The personal access token is missing or invalid.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: The token lacks the required scope or workspace access.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    NotFound:
      description: The resource is missing or inaccessible.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unavailable:
      description: Authentication or resource storage is temporarily unavailable.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    personalAccessToken:
      type: apiKey
      in: header
      name: x-api-key

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.