Skip to main content
POST
Improve, polish, or translate a draft with Evelin

Authorizations

Authorization
string
header
required

Use a workspace API key in the Authorization header: Bearer pk_.... Older pk_live_ and pk_test_ keys remain valid; their prefixes do not isolate data or select a separate environment.

Headers

Idempotency-Key
string
required
Required string length: 8 - 128

Path Parameters

conversationId
string
required

Body

application/json
mode
enum<string>
required
Available options:
improve,
polish,
translate
draft
string
required
Required string length: 1 - 20000
targetLanguage
string
Required string length: 1 - 100
tone
string
Maximum string length: 200
preset
enum<string>
Available options:
expand,
shorten,
friendly,
professional

Response

Run accepted or replayed. No message was sent.

data
object
required