Skip to main content

StatusOk

type StatusOk = {
status: "ok";
};

Shared { status: "ok" } response shape. Pinned to the literal 'ok' so a regression on the backend (e.g. a status code change) surfaces as a parse error here instead of being silently typed away. Most write endpoints that don't return an entity use this — archive / unarchive / mark-read / mark-all-read / mute / clear-unread / etc.

Type Declaration

NameType
status"ok"