---
title: "GET /textOperations/{operationId}"
method: GET
path: "/textOperations/{operationId}"
---

# GET /textOperations/{operationId}

`GET /textOperations/{operationId}`

This interface is used for getting text operation result. The URL to this interface should be retrieved from 'Operation-Location' field returned from Recognize Text interface.

## Path parameters

- `operationId` string, required

## Response `200`

Returns the operation status.

- TextOperationResult — Result of recognition text operation.
  - `status` 'NotStarted' | 'Running' | 'Failed' | 'Succeeded' — Status code of the text operation.
  - `recognitionResult` TextRecognitionResult — An object representing a recognized text region
    - `page` integer — The 1-based page number of the recognition result.
    - `clockwiseOrientation` number — The orientation of the image in degrees in the clockwise direction. Range between [0, 360).
    - `width` number — The width of the image in pixels or the PDF in inches.
    - `height` number — The height of the image in pixels or the PDF in inches.
    - `unit` 'pixel' | 'inch', nullable — The unit used in the Width, Height and BoundingBox. For images, the unit is 'pixel'. For PDF, the unit is 'inch'.
    - `lines` Line[], required — A list of recognized text lines.
      - `boundingBox` number[] — Quadrangle bounding box, with coordinates in original image. The eight numbers represent the four points (x-coordinate, y-coordinate from the left-top corner of the image) of the detected rectangle from the left-top corner in the clockwise direction. For images, coordinates are in pixels. For PDF, coordinates are in inches.
      - `text` string — The text content of the line.
      - `words` Word[] — List of words in the text line.
        - `boundingBox` number[], required — Quadrangle bounding box, with coordinates in original image. The eight numbers represent the four points (x-coordinate, y-coordinate from the left-top corner of the image) of the detected rectangle from the left-top corner in the clockwise direction. For images, coordinates are in pixels. For PDF, coordinates are in inches.
        - `text` string, required — The text content of the word.
        - `confidence` 'High' | 'Low', nullable — Qualitative confidence measure.

## Other responses

- `default` — Error response.

---

[API](https://skmtc.dev/azure/apis/computer-vision-client-2.md) · [All operations](https://skmtc.dev/azure/apis/computer-vision-client-2/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/computer-vision-client-2/revisions/2b3b4ba844f4/schema)
