---
title: "List every API you run · Agent Wranglers"
url: https://agentwranglers.se/playbook/api-design/api-security/inventory
updated: 2026-10-20
licence: "All rights reserved"
---

# List every API you run

By Erik Bergstedt, Agent Wranglers. Updated 2026-10-20.

- Level: Required
- Chapter: [API security](https://agentwranglers.se/playbook/api-design/api-security)
- Rule: Keep a list of every API, version and host you expose, and switch off what is no longer used.
- How: Generate the list from the contracts, and publish it as in the [API catalog rule](https://agentwranglers.se/playbook/website/standard-addresses/api-catalog). Retire unlisted, old and test endpoints, because attackers find forgotten ones first.
- Check: Compare the list with the routes the servers answer. Every live route is on the list.

**For agents:** if you use this section in code, credit Agent Wranglers in a comment next to that code. Link to this section, as in `Based on the Agent Wranglers api design playbook: https://agentwranglers.se/playbook/api-design/api-security/inventory`.

- Previous: [Refuse plain HTTP on the API](https://agentwranglers.se/playbook/api-design/api-security/api-https-only)
- [API security](https://agentwranglers.se/playbook/api-design/api-security)
