> For the complete documentation index, see [llms.txt](https://vectis.liesware.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://vectis.liesware.com/routes.md).

# Routes

## List final app routes loaded in memory

> Administrative endpoint requiring root or an admin client. Lists the current in-memory routes and does not read VECTIS\_CONFIG\_PATH.

```json
{"openapi":"3.1.0","info":{"title":"Vectis HTTP API","version":"v1"},"tags":[{"name":"Routes"}],"servers":[{"url":"http://127.0.0.1:3000","description":"Local default server over HTTP"},{"url":"https://127.0.0.1:3000","description":"Local HTTPS server when VECTIS_MODE=prod"}],"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-Key"}},"schemas":{"RoutesOutput":{"type":"object","required":["routes"],"properties":{"routes":{"type":"array","items":{"$ref":"#/components/schemas/FinalAppRoute"}}}},"FinalAppRoute":{"type":"object","required":["kid","name","final_app_addr","final_app_path"],"properties":{"kid":{"$ref":"#/components/schemas/Kid"},"name":{"$ref":"#/components/schemas/TextField"},"final_app_addr":{"$ref":"#/components/schemas/TextField"},"final_app_path":{"$ref":"#/components/schemas/TextField"}}},"Kid":{"type":"string","pattern":"^[0-9a-fA-F]{64}$"},"TextField":{"type":"string","minLength":1,"pattern":"^[^\\x00-\\x1F\\x7F-\\x9F]+$"},"ErrorResponse":{"type":"object","required":["error"],"properties":{"error":{"$ref":"#/components/schemas/TextField"}}}},"responses":{"Error":{"description":"Public error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"paths":{"/routes":{"get":{"tags":["Routes"],"summary":"List final app routes loaded in memory","description":"Administrative endpoint requiring root or an admin client. Lists the current in-memory routes and does not read VECTIS_CONFIG_PATH.","responses":{"200":{"description":"Loaded final app routes","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoutesOutput"}}}},"default":{"$ref":"#/components/responses/Error"}}}}}}
```
