Skip to main content
GET
Get a style rule list

Authorizations

Authorization
string
header
default:DeepL-Auth-Key
required

Authentication with Authorization header and DeepL-Auth-Key authentication scheme. Example: DeepL-Auth-Key <api-key>

Path Parameters

style_id
string
required

The ID of the style rule list

Response

Style rule list details

style_id
string
required

A unique ID assigned to a style rule list.

Example:

"bd0a38f3-1831-440b-a8dd-2c702e2325ab"

name
string
required

Name associated with the style rule list.

creation_time
string<date-time>
required

The creation time of the style rule list in the ISO 8601-1:2019 format (e.g.: 2021-08-03T14:16:18.329Z).

updated_time
string<date-time>
required

The time of the style rule list when it was last updated in the ISO 8601-1:2019 format (e.g.: 2022-08-03T14:16:18.329Z).

language
enum<string>
required

The target language the style rule list applies to. Codes are matched case-insensitively; the response returns the canonical form (for example de-CH).

A root code (for example en) applies to that language and all of its variants. A variant code (for example en-GB) applies only when target_lang is that variant.

Variant lists for de-CH, fr-CA, pt-BR, and pt-PT are generally available. Variant lists for de-DE, en-GB, en-US, es-419, es-ES, fr-FR, zh-Hans, and zh-Hant are in beta. The current list and the status of each language are returned by GET /v3/languages?resource=style_rules&include=beta.

Available options:
ar,
bg,
cs,
da,
de,
de-CH,
de-DE,
el,
en,
en-GB,
en-US,
es,
es-419,
es-ES,
et,
fi,
fr,
fr-CA,
fr-FR,
he,
hu,
id,
it,
ja,
ko,
lt,
lv,
nb,
nl,
pl,
pt,
pt-BR,
pt-PT,
ro,
ru,
sk,
sl,
sv,
th,
tr,
uk,
vi,
zh,
zh-Hans,
zh-Hant
version
integer
required

The version of the style rule list. Incremented when the style rule list is updated.

Example:

13

configured_rules
object

The enabled rules for the style rule list including what option was selected for each rule. This schema combines rules from all supported languages.

Example:
custom_instructions
object[]

List of custom instructions enabled for the style rule list.