Skip to main content

Asynchronous - Speech to Text API

Get job status by ID

POSThttps://longrun-api.visai.ai/v1/job/{job-id}
Header
    X-API-Key string required

    Your API key

Parameter
    job_id string required

    Your job ID

Responses


object
id string

ID of the inference job

status string

COMPLETED | FAILED | QUEUE | PROCESS

Status of request

error string | null

null | Timeout | Bad Inference

Reason of error

webhook_url string | null

The webhook URL provided by the user in the request.

result Array [
List of file results
object
filename string

File name

page number

Page number

status string

success | failed

Status of request

result Array [
object
page number

The page number corresponding to the retrieved text.

full_text string

The full text content of the specified page. This includes all text present on the page, with newline characters (\n) representing line breaks.

image_size number[]

The size of the original file or the image of the specified page in pixels. The first value specifies the height, and the second value specifies the width (e.g. [1980, 1530]).

data Array [
object
bbox: [[x1, y1], [x2, y2], [x3, y3], [x4, y4]]

4-pixel coordinate x, y of text box.

text string

The extracted text in each box.

]
]
Loading...