List the reference libraries of this organization
Code Mode: praxis.studio.codexes.list
HTTP: GET /studio/v1/codexes
List the reference libraries this API key organization owns, each with how many entries it holds, so you can choose the one a work draws on. Continue with next_page_token until the answer stops carrying one. Pass work to read one work’s own library alone; leave it out for every library the organization owns.
Signature
praxis.studio.codexes.list(args?:{query?:{/** e.g. 20 */ page_size?:number;/** e.g. "01JQ8Z3M9K4V7B2N6C5X0YTRHW" */ page_token?:string;/** e.g. "wk_01JQ8Z3M9K4V7B2N6C5X0YTRHW" */ work?:string}}):Promise<{/** Reference libraries on this page, newest first. */ items:Array<{/** Reference library identifier, which is also its only address: a library has no name-based path. e.g. "cdx_01JQ8Z3M9K4V7B2N6C5X0YTRHW" */ id:string;/** Resource kind marker, always studio.codex for this shape. e.g. "studio.codex" */ object:string;/** Creation time in RFC 3339 UTC. e.g. "2026-11-04T09:31:02Z" */ create_time?:string;/** Time of the last change to the library itself in RFC 3339 UTC; adding an entry moves the entry, not this. e.g. "2026-11-04T10:02:44Z" */ update_time?:string;/** Console address of this library, which opens its entry list; the same address carries an entry parameter when one entry is open. e.g. "https://console.deepraxis.com/studio/codexes/cdx_01JQ8Z3M9K4V7B2N6C5X0YTRHW" */ viewer_url:string;/** Name of the library, used by people to pick it when attaching it to a work; it is not unique across the organization. e.g. "乌江设定集" */ name:string;/** What this library is for and which works draw on it, shown beside the name wherever a library is chosen. e.g. "1935 年南京的人物、地点与报纸资料" */ description:string;/** How many entries the library holds right now, which is what tells a caller whether the entry list still needs paging. e.g. 48 */ entry_count:number;/** Work this library belongs to, or null for a library shared across works; every work is created with one library of its own, named after it. e.g. "wk_01JQ8Z3M9K4V7B2N6C5X0YTRHW" */ work:string;labels:{[key:string]:string}}>;/** 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 |
|---|---|---|---|---|
| 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. |
| work | query | string | no | Narrow the list to what belongs to one work, by its wk_ identifier, which is how one work’s own setting is told apart from the organization’s shared material; omit it to list everything this organization owns. |
Responses
| Status | Content types | Description |
|---|---|---|
| 200 | application/json | One page of reference libraries with their entry counts 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. |