> ## Documentation Index
> Fetch the complete documentation index at: https://smithers.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# listPrompts

> Gateway RPC for listing registered prompts.

* Method: `listPrompts`
* Scope: `prompt:read`
* Transports: HTTP RPC, WebSocket RPC
* Request: `{}`
* Response: `Prompt[]`

Each prompt is a `.md`/`.mdx` file walked from `.smithers/prompts/`. A row carries `{ id, entryFile, source, createdAtMs?, updatedAtMs? }`: `id` is the file's relative path without extension (e.g. `refactor`), `entryFile` its workspace-relative source path (e.g. `prompts/refactor.mdx`), `source` the raw file text, and the optional timestamps come from `fs.stat`.

Errors are versioned as `v1` and include `InvalidRequest`, `Unauthorized`, `Forbidden`, and `Internal`.
