API Discovery Tool: Find the APIs You Have Before You Test
You can only measure test coverage on the APIs you know about. Switch on Discovery, scan your computer, capture an app's calls and read the inventory, where every row says how sure Discovery is.
This is lesson 9.18 of Shift-Left API in Depth, the product track of the learning center. Lesson 9.17 connected an AI agent. Most lessons so far began with an API you already knew: you imported its specification or its Postman collection. This lesson starts earlier, with finding the APIs. API Discovery is a paid add-on and is included in the 15-day trial. The public sandbox has no Discovery, so this lesson runs in the desktop app.
How do you find the APIs you really have?
An API test coverage tool can only measure the APIs it knows about. So the first question is not how much of an API is tested, but which APIs exist. Discovery finds them and shows where each one came from. For the measuring side, read how to measure API test coverage.
Who can say an API exists?
A source is a place Discovery reads from. Some sources declare an API: a specification, a gateway such as Kong or AWS API Gateway, or an MCP server. What they declare is Confirmed. Other sources only show an API in use: an access log or traffic file, or the calls of an app you capture. That is Observed. A hint, such as a Kubernetes route, is Inferred. Every row keeps its label until something confirms it. The article on shadow and zombie APIs shows why that matters.
How does Scan for APIs work?
Open the account menu, tick Discovery, then click Discovery in the top bar. Click Scan for APIs. The scan runs in the desktop app and asks first. It looks at the programs listening on your computer, asks each one for its home page and its documentation, and keeps only names. It never signs in, calls a tool, sends your data or changes anything, and other computers are left alone unless you tick Also scan my network.
In the video it finds one API and one app with an API, and puts the API under Ready to add. Click Add, and Discovery reads its specification.
How do you capture an app that describes nothing?
The second app publishes no description. Click Capture its calls, then Start capturing, and use the app as usual in the window that opens. Each call it makes appears in Discovery as you go. The calls become operations labelled Observed, because they were seen and not declared.
What does the inventory show?
Click Inventory: every API operation found, from every source, in one list. Each row shows the method and path, the host and path where it is reached and the service it belongs to. Next come the sources that reported it, how sure Discovery is, whether a specification describes it, and whether it can be tested. Every row in the video reads Not ready to test, with written reasons, including that it is not in a project yet.
Click Review for operations nobody has looked at. Above the list, Suggestions offer a clearer name, an owner or a domain for a service, made by your AI provider from names, tags and paths. A suggestion stays a suggestion until a person clicks Accept, Edit, then accept or Dismiss.
Which sources can you connect?
Scan and capture are the quick routes. Click Sources, then Add a source: the wizard offers specifications at an address, a folder of access logs, Kong, AWS API Gateway, Kubernetes, an AI model gateway, a Postman workspace and more, each saying what it reads and what it keeps.
Try it yourself
With a trial: open Shift-Left Studio, the desktop app, tick Discovery in the account menu and click Discovery. Start an app you are building and click Scan for APIs. Click Add on what it finds, or Capture its calls, then open Inventory and read each row. No app to hand? The empty state offers example data.
Recap
- An API test coverage tool needs a list of APIs to measure, and Discovery builds that list.
- Scan for APIs finds what runs on your computer, and Capture its calls finds an app that describes nothing.
- Every row says how sure Discovery is (Confirmed, Observed or Inferred) and whether it can be tested.
- Sources read gateways, Kubernetes, logs and Postman. REST API test coverage starts with that list.
Next, lesson 9.19 takes Discovery the rest of the way: connect a source of your own, read the evidence, decide what is real and accept APIs into a project, ready to test.
Try it: With a trial, open the Shift-Left Studio desktop app, tick Discovery in the account menu, click Discovery, start an app you are building and click Scan for APIs. Add what it finds, or click Capture its calls on an app with no specification, then open Inventory and read each row.
Frequently asked questions
How does an API test coverage tool know which APIs exist?+
It only measures the APIs it has been told about. Shift-Left API Discovery builds that list from sources. Some sources declare an API, such as a specification, a gateway or an MCP server, and are marked Confirmed. Others only show it in use, such as a traffic file or a captured app, and are marked Observed or Inferred until something confirms them.
What does Scan for APIs do on my computer?+
It looks at the programs listening on your computer and asks each one for its home page and its documentation. It keeps only names, never a page's contents, sets Studio and system services aside, and never signs in, calls a tool, sends your data or changes anything. Other computers are contacted only if you tick Also scan my network.
Who can use Discovery, and where does it run?+
API Discovery is a paid add-on, included in the 15-day trial. Scan for APIs and Capture its calls run only in the Shift-Left Studio desktop app. Suggestions of names, owners and domains need a usable AI provider.
Related lessons
Let the AI agent you already use ask your API testing tool for tests. Create an agent key with only the permissions it needs, connect a real MCP client, and see the tests it generates appear in your project.
Found is not tested. Connect a traffic file as a source, read the evidence behind each API, confirm or dismiss it, then accept the APIs into a new project and run their generated tests.
Your OpenAPI spec is most of a test plan already. Import it into Shift-Left API, explore what it creates, and generate tests from it with no requirements needed.