Skip to main content

Upload glossary file

Upload glossary content by its ID.

Glossary with provided ID must exist and not have its CSV entries uploaded.

Glossary file must be in CSV format.

CSV file must not contain headers and contain either one (for asr-hot type) or two (for both asr and translation) columns separated by comma

Path Parameters
glossary_id uuid4 REQUIRED
Request Body REQUIRED
glossary binary REQUIRED
Responses
200

Successful Response

Schema OPTIONAL
ok Ok OPTIONAL

Indicates if the request was successful or not.

data object
glossary_id uuid4

Glossary ID

user_id User Id

User ID

name Name

Glossary name

is_enabled Is Enabled

Glossary status

glossary_type GlossaryType

Possible values: [asr_hot, asr, translation]

source_lang LangCode

Possible values: [en, en-gb, en-us, fr, de, tr, ar, it, ru, uk, es, es-mx, pt, pt-br, zh, ja, yue, ko, sv, pl, id, nl, fi, hu, el, cs, sk, da, bg, ro, en-gpt, en-zh, en-parler, en-palabra-llm, en-zns, fr-zns, en-f5, he, hi]

Supported languages in ISO-639-1 format

target_lang LangCode

Possible values: [en, en-gb, en-us, fr, de, tr, ar, it, ru, uk, es, es-mx, pt, pt-br, zh, ja, yue, ko, sv, pl, id, nl, fi, hu, el, cs, sk, da, bg, ro, en-gpt, en-zh, en-parler, en-palabra-llm, en-zns, fr-zns, en-f5, he, hi]

Supported languages in ISO-639-1 format

utc_created_at date-time

Glossary created time in UTC

utc_updated_at date-time

Glossary last update time in UTC

default

Default Response

Schema OPTIONAL
ok Ok OPTIONAL

Indicates if the request was successful or not.

errors object[]

List of errors

type uri

Possible values: 1 ≤ length ≤ 2083

A string containing a URI reference that identifies the problem type.

status Status

Possible values: 399 < value < 600

A number indicating the HTTP status code.

title Title

Possible values: 5 ≤ length

A string containing a short, human-readable summary of the problem type.

detail Detail

Possible values: 5 ≤ length

A string containing a human-readable explanation specific to this occurrence of the problem.

instance Instance

Possible values: 1 ≤ length

A string containing a URI reference that identifies the specific occurrence of the problem.

error_code Error Code

A Number that indicates the error type that occurred.