Retrieve Glossary Details Run in API Explorer
Ask AI
Retrieve meta information for a single glossary, omitting the glossary entries.
Responses
-
JSON object containing the glossary meta-information.
-
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.
GET
/v2/glossaries/{glossary_id}
curl \
--request GET 'https://api.deepl.com/v2/glossaries/{glossary_id}' \
--header "Authorization: $API_KEY"
Response examples (200)
{
"glossary_id": "def3a26b-3e84-45b3-84ae-0c0aaf3525f7",
"name": "My Glossary",
"ready": true,
"source_lang": "EN",
"target_lang": "DE",
"creation_time": "2021-08-03T14:16:18.329Z",
"entry_count": 1
}
Response examples (400)
{
"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)"
}