List Modes
Tokensets
List Modes
Get all modes for a tokenset
GET
List Modes
Documentation Index
Fetch the complete documentation index at: https://docs.tokencraft.dev/llms.txt
Use this file to discover all available pages before exploring further.
List Modes
Retrieves all modes (themes/variations) for a specific tokenset.Endpoint
Request
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Tokenset ID |
Response
Status:200 OK
Response Fields
| Field | Type | Description |
|---|---|---|
modes | array | Array of mode objects |
total | number | Total number of modes |
Mode Object
| Field | Type | Description |
|---|---|---|
id | string | Unique mode identifier |
tokenset_id | string | Parent tokenset ID |
name | string | Mode name (e.g., “Light”, “Dark”) |
is_default | boolean | Whether this is the default mode |
created_at | string | ISO 8601 timestamp |
updated_at | string | ISO 8601 timestamp |
Examples
Next Steps
Get Tokens
List tokens in a mode
Export Mode
Export a specific mode