List doc topics
/docsReturns every page of the scripting reference, in sidebar order, so a coding agent can find the page it needs without a browser.
Scope | Heavy call | Long poll | CLI |
|---|---|---|---|
| No | No |
|
Guidance
A topic is a scripting page's path without
/scripting/: the page at/scripting/bars-and-clocksis the topicbars-and-clocks. Pass it to Get a doc topic.depthgives the outline:0is the top level and a page inside a sidebar group is1. Sidebar groups that are labels, not pages, are left out.The list is not paginated and changes only when the docs are published. Fetch it once per session.
A
503 busymeans the docs could not be loaded. Retry after a few seconds.
Response
200 with data, an array of:
Field | Type | Description |
|---|---|---|
| string | Pass it to Get a doc topic |
| string | The page title |
| integer | How deep the page sits in the sidebar. |
Status codes
Status | Code | Meaning |
|---|---|---|
| - | Every topic, in sidebar order |
|
| The docs could not be loaded. Retry shortly |
