API Reference
Cinder.getRoutes
Read the currently registered route definitions from the runtime.
Need the shortest path?
Use Quick Start when you want the smallest working route → scan → graph → run flow first.
Something feels off?
Inspect scan output, graph state, active route/context, and dispatch in a practical order.
Need the full surface?
Browse all runtime methods, hooks, extension points, and lifecycle APIs.
Use getRoutes() when you want to inspect the current route registry.
Example
ts
2 lines
const routes = Cinder.getRoutes();
console.log(routes);What it returns
An array of registered CinderRouteDefinition values.
This is useful for:
- debugging route activation strategy
- verifying route registration happened as expected
- integration tests
Related pages
Continue reading