# editor.markers.list

Source: https://docs.lightair.app/developers/remote-api/editor.markers.list

> Lists a canvas's markers.

JSON-RPC 2.0 method of Lightair's Remote API (ws://localhost:4455/rpc). Group: Editor. Script plugins need the `project.read` permission.

## Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `canvas` | `string` | no | A canvas's id or name, shown first. Default: the canvas shown. |

## Result

| Name | Type | Required | Description |
|---|---|---|---|
| `markers` | `{ at_ms: number, name: string, colour: number | null, len_ms: number }[]` | no | The markers. |

## Errors

A state error (-32005) when no Editor project is open.

## From an AI agent

The MCP server's `editor_markers (action: list)` reaches this method.

## Related

- [editor.markers.add](https://docs.lightair.app/developers/remote-api/editor.markers.add.md)
- [editor.markers.remove](https://docs.lightair.app/developers/remote-api/editor.markers.remove.md)
