Skip to main content
GET
/
v3
/
style_rules
/
{style_id}
/
custom_instructions
/
{instruction_id}
Get a custom instruction
curl --request GET \
  --url https://api.deepl.com/v3/style_rules/{style_id}/custom_instructions/{instruction_id} \
  --header 'Authorization: <api-key>'
{
  "label": "Currency custom instruction",
  "prompt": "Have currency symbols before the numerical value (e.g. $100, €100)",
  "source_language": "en"
}

Authorizations

Authorization
string
header
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

instruction_id
string
required

The ID of the custom instruction

Response

Custom instruction details

All enabled custom instructions for the style rule list

label
string

Name associated with the custom instruction

Example:

"Currency custom instruction"

prompt
string

Prompt of the custom instruction

Example:

"Have currency symbols before the numerical value (e.g. $100, €100)"

source_language
string

Optional source language of the custom instruction

Example:

"en"