Retrieve Glossary Entries Run in API Explorer
List the entries of a single glossary in tsv format.
Query parameters
-
The language in which the source texts in the glossary are specified.
Values are
ar,bg,cs,da,de,el,en,es,et,fi,fr,he,hu,id,it,ja,ko,lt,lv,nb,nl,pl,pt,ro,ru,sk,sl,sv,th,tr,uk,vi, orzh. -
The language in which the target texts in the glossary are specified.
Values are
ar,bg,cs,da,de,el,en,es,et,fi,fr,he,hu,id,it,ja,ko,lt,lv,nb,nl,pl,pt,ro,ru,sk,sl,sv,th,tr,uk,vi, orzh.
Responses
-
The entries in tsv, wrapped in a JSON object.
-
Bad request. Please check error message and your parameters.
-
Authorization failed. Please supply a valid
DeepL-Auth-Keyvia theAuthorizationheader. -
Forbidden. The access to the requested resource is denied, because of insufficient access rights.
-
The requested resource could not be found.
-
Too many requests. Please wait and resend your request.
-
Internal error.
-
Resource currently unavailable. Try again later.
-
Too many requests. Please wait and resend your request.
curl \
--request GET 'https://api.deepl.com/v3/glossaries/{glossary_id}/entries?source_lang=en&target_lang=de' \
--header "Authorization: $API_KEY"
# Headers
# Payload
{
"source_lang": "en",
"target_lang": "de",
"entries": "Hello\tGuten Tag",
"entries_format": "tsv"
}
{
"message": "Invalid glossary entries provided",
"detail": "Key with the index 1 (starting at position 13) duplicates key with the index 0 (starting at position 0)"
}