DeepL Style Rules API

The Style Rules API from DeepL — 5 operation(s) for style rules.

GitHub OpenAPI

Operations 10

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /v3/style_rules List style rule lists · Retrieve style rule lists #
Ask an LLM
“Which custom style rule lists do I have in my account?”
“Can I see the configured rules and custom instructions for each style list?”
Tell an agent
List my style rule lists.
Show style rule lists with detailed set to {detailed}.
POST /v3/style_rules Create a style rule list · Create a style rule list #
Ask an LLM
“How do I create a custom style rule list for a language?”
“Can a new style list include its own configured rules and custom instructions?”
Tell an agent
Create a style rule list named {name} for {language}.
Create style list {name} in {language} with configured rules {configured_rules}.
GET /v3/style_rules/{style_id} Get a style rule list · Get a style rule list #
Ask an LLM
“What rules and custom instructions are in a style rule list?”
“Can I fetch one style list by its ID?”
Tell an agent
Get style rule list {style_id}.
Show the configured rules and custom instructions of style list {style_id}.
PATCH /v3/style_rules/{style_id} Rename a style rule list · Update a style rule list's name #
Ask an LLM
“Can I rename a style rule list without touching its rules?”
“What changes when I rename a style list?”
Tell an agent
Rename style rule list {style_id} to {name}.
Change the name of style list {style_id} to {name}.
DELETE /v3/style_rules/{style_id} Delete a style rule list · Delete a style rule list #
Ask an LLM
“How do I delete a style rule list I no longer use?”
“Are requests that reference a deleted style list still valid?”
Tell an agent destructive · confirm first
Delete style rule list {style_id}.
Remove the style list {style_id} and its custom instructions.
PUT /v3/style_rules/{style_id}/configured_rules Replace a style list's rules · Replace configured rules for a style rule list #
Ask an LLM
“How do I replace all the configured rules on a style list?”
“Do rules I leave out of the update get removed?”
Tell an agent
Replace the configured rules of style list {style_id} with {dates_and_times}, {formatting}, {numbers}, {punctuation}, {spelling_and_grammar}, {style_and_tone}, {vocabulary}.
Overwrite every rule on style list {style_id}.
POST /v3/style_rules/{style_id}/custom_instructions Add a custom instruction to a style list · Create a custom instruction #
Ask an LLM
“How do I add a custom style preference a predefined rule doesn't cover?”
“Can a custom instruction apply only to text in one source language?”
Tell an agent
Add custom instruction {label} with prompt {prompt} to style list {style_id}.
Create a custom instruction {label} in {prompt} for style list {style_id} in {source_language}.
GET /v3/style_rules/{style_id}/custom_instructions/{instruction_id} Get a custom instruction · Get a custom instruction #
Ask an LLM
“What does one custom instruction on a style list say?”
“Can I fetch a single custom instruction by its ID?”
Tell an agent
Get custom instruction {instruction_id} from style list {style_id}.
Show the prompt of instruction {instruction_id} on style list {style_id}.
PUT /v3/style_rules/{style_id}/custom_instructions/{instruction_id} Replace a custom instruction · Replace a custom instruction #
Ask an LLM
“How do I change the prompt of a custom instruction?”
“Do I have to resend the label and prompt when replacing an instruction?”
Tell an agent
Replace custom instruction {instruction_id} on style list {style_id} with label {label} and prompt {prompt}.
Update instruction {instruction_id} on style list {style_id} to {label}: {prompt}.
DELETE /v3/style_rules/{style_id}/custom_instructions/{instruction_id} Delete a custom instruction · Delete a custom instruction #
Ask an LLM
“How do I remove one custom instruction from a style list?”
“Does deleting a single instruction affect the rest of the style list?”
Tell an agent destructive · confirm first
Delete custom instruction {instruction_id} from style list {style_id}.
Remove instruction {instruction_id} on style list {style_id}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/deepl:deepl-style-rules-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

deepl-style-rules-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: DeepL API Documentation Style Rules API
  description: 'The DeepL API provides programmatic access to DeepL’s language AI technology.


    Note: this OpenAPI spec is embedded into our API documentation and has shortened descriptions.'
  termsOfService: https://www.deepl.com/pro-license
  contact:
    name: DeepL - Contact us
    url: https://www.deepl.com/contact-us
  version: 3.13.0
servers:
- url: https://api.deepl.com
  description: DeepL API Pro
- url: https://api-free.deepl.com
  description: DeepL API Free
tags:


# --- truncated at 32 KB (82 KB total) ---
# Full source: https://artifacts.apis.io/deepl/openapi/deepl-style-rules-api-openapi.yml