get_api_routes
Returns all API Gateway routes with HTTP methods, paths, and the Lambda function each invokes across REST, HTTP, and WebSocket APIs. Use it to map API surface area and Lambda integration coverage before writing or reviewing handlers.
Instructions
Returns all API Gateway APIs (REST, HTTP, WebSocket) with their routes, HTTP methods, paths, and the Lambda function each route invokes. Call this before writing any API handler to understand which Lambda handles a route, or when reviewing API surface area and Lambda integration coverage.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxAgeSeconds | No | Freshness tolerance in seconds. Advisory: the answer is returned either way, with dataHealth.withinRequestedAge reporting whether it met the tolerance. Nothing re-reads AWS on a tool call — run `infrawise analyze` to refresh. Pass a small value for point-in-time questions ("does this queue have a DLQ right now"); omit it for architecture questions where a day-old snapshot is fine. |