Skip to main content

Media

A medium is the kind of writing a text is: an email, an essay, a speech. Every document you compile declares one, a face’s styles are built one per medium, and chat chooses one for each request to pick the style it applies.

List them

No API key is needed, and the answer is cached for an hour. Each medium has its name (the value to send), a one-line description, and the subcategories it covers:
Trimmed to two. Read the list from here rather than hard-coding it.

The media

25 media, as GET /v1/media lists them today: Send the name exactly. Case and surrounding whitespace are forgiven (" ESSAY " is essay); nothing else is. A subcategory or another word for a medium (keynote, sms, transcript) is a 422 that lists every name:
keynote is a subcategory of speech: send speech.

other

other is for writing that is none of the named forms. It is a declaration by the author: a document filed as other compiles, and its style is kept under other. Chat never chooses other for a request, so an other style is not applied on chat.