List the rendition themes of a platform
Code Mode: praxis.studio.themes.list
HTTP: GET /studio/v1/themes
List themes: the layouts a rendition is produced with, for one platform or for all of them. Pass a platform to see only the themes that platform can use. The first page starts with the built-in themes (builtin true, such as warm-card@1 for Xiaohongshu cards and plain-mono@1 for WeChat articles), which every organization can use and nobody can change or delete; your organization’s own themes follow. A theme decides the page or card a rendition is built into, so read the chosen theme before creating a rendition rather than after the output looks wrong.
Signature
praxis.studio.themes.list(args?:{query?:{/** e.g. "wechat_mp@1" */ platform?:string;/** e.g. 20 */ page_size?:number;/** e.g. "01JQ8Z3M9K4V7B2N6C5X0YTRHW" */ page_token?:string}}):Promise<{/** Themes on this page, the built-in ones first. */ items:Array<{/** Theme identifier for an organization's own theme, or the built-in key when builtin is true. e.g. "thm_01JQ8Z3M9K4V7B2N6C5X0YTRHW" */ id:string;/** Resource kind marker, always studio.theme for this shape. e.g. "studio.theme" */ object:string;/** Creation time in RFC 3339 UTC. e.g. "2026-11-04T09:44:10Z" */ create_time?:string;/** Time of the last change to this theme in RFC 3339 UTC. e.g. "2026-11-04T10:20:33Z" */ update_time?:string;/** Versioned platform key this theme renders for; a theme of another platform cannot produce that platform's rendition. e.g. "wechat_mp@1" */ platform:string;/** Name of the theme, shown where a rendition chooses its layout. e.g. "素雅正文" */ name:string;/** Version of this theme, advanced by each change; a rendition records the version it was built with, so a later edit does not rewrite it. e.g. 3 */ version:number;/** HTML template the rendition is built from, using a small mustache-like subset over the title, the units and the pages; absent for a DOCX or card theme. e.g. "<article><h1>{{title}}</h1>{{#units}}<section>{{{markdown}}}</section>{{/units}}</article>" */ html?:string;/** Stylesheet applied to the HTML and, for a platform that inlines styles, folded into the markup before publishing. e.g. "article{font-size:16px;line-height:1.75;}" */ css?:string;/** Reference document that gives a DOCX rendition its styles, referenced by its file identifier; present instead of the markup for a word-processor platform. e.g. "file_01JQ8Z3M9K4V7B2N6C5X0YTRHW" */ reference_docx?:string;/** Fragment placed at the top of every rendition, such as a publication name; it is fixed across the whole output. e.g. "乌江连载" */ header?:string;/** Fragment placed at the bottom of every rendition, such as a follow prompt; it is fixed across the whole output. e.g. "关注「乌江日报」追更" */ footer?:string;card?:{/** Proportions of each card page, which the platform's image requirements decide. e.g. "3:4" */ aspect:"3:4"|"1:1"|"4:5";/** Width the card is rendered at in pixels before any platform-side scaling, chosen above the platform minimum. e.g. 1080 */ width_px:number;/** Font families the card expects; a font that is not available is reported rather than silently substituted. */ fonts:Array<string>};/** Whether this theme ships with the platform instead of being created here; a built-in theme cannot be changed or deleted. e.g. false */ builtin:boolean}>;/** Cursor for the next page, empty when this was the last one; pass it back as page_token unchanged. e.g. "" */ next_page_token?:string}>;Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| platform | query | string | no | Versioned platform key to filter by, such as wechat_mp@1; when given, only themes for that platform are returned. Omit it to list every platform’s themes together. |
| page_size | query | number | no | How many items this page returns, 1 to 100; omitted uses the service default. Treat the answer as one page, not the whole set, and keep following next_page_token while it is present. |
| page_token | query | string | no | Cursor from the previous answer’s next_page_token; it is opaque, so pass it back unchanged and never build one from an id or an offset. |
Responses
| Status | Content types | Description |
|---|---|---|
| 200 | application/json | One page of themes with their platforms and versions, and the cursor for the next page. |
| 400 | application/json | INVALID_PARAMS means a field is missing, malformed or not allowed for this resource; correct the named field and repeat the call. |
| 401 | application/json | The API key is missing, invalid or carries no organization; send a valid organization key in the Authorization header. |
| 500 | application/json | INTERNAL means the request could not complete; re-read the resource before retrying a write, because the write may already have landed. |