Get a custom instruction

Changed on

Retrieve a single custom instruction from a style rule list.

get/v3/style_rules/{style_id}/custom_instructions/{instruction_id}

Request

  • Base URL
    https://api.deepl.com
  • URL
    https://api.deepl.com/v3/style_rules/{style_id}/custom_instructions/{instruction_id}
  • Auth
    API key in header Authorization

Path parameters

style_idstring required

The ID of the style rule list

instruction_idstring required

The ID of the custom instruction

Response

Custom instruction details

idstring required

Unique identifier for the custom instruction

labelstring required

Name associated with the custom instruction

promptstring required

Prompt of the custom instruction

source_languagestring

Optional source language of the custom instruction

Example response

{
  "id": "68fdb803-c013-4e67-b62e-1aad0ab519cd",
  "label": "Currency custom instruction",
  "prompt": "Have currency symbols before the numerical value (e.g. $100, €100)",
  "source_language": "en"
}

Changes

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status