API Docs
EN
Get started

arText API documentation

Submit text and receive a structured report containing calculated metrics, detected language issues and, where available, applicable replacements or edits.

The chosen genre decides what is reviewed: each one has its own selection of rules, its own thresholds and its own glossaries. You do not send metric_id values to POST /v1/reports; the domain and text type are enough.

Integration flow

Domains and genres

The catalog has two levels. Choosing the right genre is the decision that most affects the result: it determines what is reviewed and how strictly.

Domain (domain_slug)

The subject area: medicine, public administration, tourism, academic writing or plain language. It groups genres that share a subject and, where applicable, glossaries.

Genre (text_type_slug)

The specific type of text within that domain: a clinical history, a formal objection, a medical text addressed to the general public. This is what gets analyzed.

Every genre carries its own selection of rules, its own thresholds and its own glossaries, defined by the editorial team. Two genres in the same domain can be reviewed differently: a clinical history is not judged by the standards of a text written for the general public. The pair is therefore not a descriptive label but the configuration the text is analyzed with.

Sections of this documentation

Authentication

Direct integrations require an active key. Send it in the Authorization header and never include it in public code or client applications.

Authorization: Bearer art_live_…