variants
List Variants
get/variants
Request
- Base URL: https://api.usepolymorph.com (the document declares no server; this is the origin it was published from)
- URL: https://api.usepolymorph.com/variants
- Auth: none declared
Query parameters
searchstring nullable
channel'email' | 'fcm' | 'expo' | 'control'
created_by_kind'agent' | 'human'
lifecycle_status'draft' | 'approved' | 'rejected' | 'live' | 'idle' | 'stopped'
The variant's displayed lifecycle state — the six-state Status pill.
Folds approval (pre-send: Draft/Approved/Rejected) and delivery (post-send: Live/Idle/Stopped) into one axis. The list's Status filter selects on it and the repo derives the SQL predicate; keep in lockstep with the frontend variantStatus.ts — both encode the same rule, one in SQL for filtering, one in TS for display.
tagstring nullable
inspiration_ad_idstring uuid nullable
sort_bystring nullable
sort_order'asc' | 'desc'
per_pageinteger
pagestring nullable
include_analyticsboolean
Headers
X-Viewer-Timezonestring nullable
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.