Source intelligence
API inventory
The API inventory lists every application that has an OpenAPI spec, and every endpoint each spec declares. For a spec that NightVision extracted from source, it also shows where each endpoint is handled in code, what that code reaches, and how the API has changed between versions.
In the dashboard: Source intelligenceAPI inventory
Open API inventory (opens in a new tab)Open it from the rail: Source intelligence > API inventory.
The inventory describes what an API declares. It is not a findings view. Findings from scans are under Findings.

What is in the inventory
Section titled “What is in the inventory”Each row is one API application and the spec attached to it.
| Column | Shows |
|---|---|
| Application | The application’s name and the spec’s file name |
| Project | The project the application belongs to |
| Spec source | Generated by NightVision for a spec extracted from source, or Uploaded by hand for one you attached yourself |
| Spec | The title and version the spec gives itself |
| Endpoints | How many operations the spec declares |
| Last updated | When the spec was last attached |
Use Search applications and specs to find a row, or press / to jump to the search box. The Spec source filter narrows the list to generated or uploaded specs. The line under the table totals the applications and endpoints shown.
The list follows the project you have selected at the top of the dashboard. Choose All projects to see every application you can access.
Get a spec in
Section titled “Get a spec in”An application appears in the inventory as soon as it has a spec. Until one does, the page explains both ways to add one.

Extract one from source
Section titled “Extract one from source”Run this in the repository, naming the application:
nightvision openapi extract . --target my-apiAdd -p <project> if more than one project has an application with that name. The run attaches the spec and the application shows as Generated by NightVision. See the tutorial for a full walk-through and the CLI reference for every option.
Attach one you already have
Section titled “Attach one you already have”From the CLI:
nightvision target update my-api --openapi-file openapi-spec.ymlOr upload it in the dashboard: open the application and add the spec in Setup. See API specs. The application shows as Uploaded by hand.
A spec written with --no-upload stays on your machine. It is not listed until you attach it to an application.
One application’s API
Section titled “One application’s API”Select a row to open the application’s endpoints. You can also get here from the application’s own page, through the API inventory link under its name.

The header shows the spec’s title, its version, where it came from, the server URLs it names and when it was updated. View application opens the application’s page.
The line under the header summarizes the API: the number of endpoints by method, how many require sign-in, and the language and framework the spec was read from.
| Column | Shows |
|---|---|
| Endpoint | The HTTP method and path |
| Summary | The operation’s summary, when the spec has one |
| Tag | The operation’s first tag |
| Sign-in | Required when the operation, or the spec as a whole, names a security scheme. None declared when it names none. The scheme or the required roles are listed underneath |
| Source location | The file and line of the handler, for a generated spec. Not recorded means the route comes from the framework or from configuration, not from a handler in the application’s code |
Sign-in says what the spec declares, not what the server enforces. A scan is how you find out whether the server enforces it.
When NightVision read part of an operation from a pattern instead of directly, the row says so: (inferred) after the sign-in value, or Inferred: with the part that was inferred under the source location.
Filter the endpoints
Section titled “Filter the endpoints”- Search endpoints finds endpoints by text, such as part of a path or a summary.
- Method accepts several methods at once.
- Tag narrows to one tag.
- Sign-in narrows to Required or None declared. Filtering to None declared is a quick way to list the endpoints that anyone can call.
- Source location narrows to Recorded, Not recorded or Some details inferred.
Filters are kept in the page’s URL, so you can share a filtered view by copying the link.
The endpoint panel
Section titled “The endpoint panel”Select an endpoint to open its panel beside the list. Use the arrows at the top of the panel to step through the endpoints in the filtered list.

| Section | Shows |
|---|---|
| About | The operation ID, tags, sign-in requirement and roles. A server URL is listed when the endpoint overrides the spec’s servers, and a deprecated operation is marked |
| Source | The handler’s File and Line, with a button to copy both. Reaches lists what the handler’s code calls, such as Database, OS command, Outbound HTTP request, File upload, LLM query or LLM tool call |
| Parameters | Path, query, header and cookie parameters with their type and whether each is required |
| Request body | The media type and the body’s fields |
| Responses | Each status code with its description and body type |
| Security schemes | The schemes the operation uses, when the spec defines them |
Reaches describes the code. It is not a test result. An endpoint that reaches a database is not vulnerable to SQL injection because of that. NightVision uses the same information to decide which checks matter most for the endpoint. See DAST sink hints.
The Source section appears for a generated spec, and for an uploaded spec that carries x-source values.
Download the spec
Section titled “Download the spec”Select Download spec at the top of the application’s page to save the spec as attached. Use it to review the spec, to import it into another tool, or to compare two versions with nightvision openapi diff.
Version history and compare
Section titled “Version history and compare”Every extraction is kept as a version of the API, so you can see how the API changed and when.
History lists each extraction run with its branch, commit, the pipeline run that produced it, and the CLI and analyzer versions. A run is compared with the previous run on its branch, or with the default branch when its branch is new. A run that produced only part of a spec is marked Partial and never replaces an application’s spec.
Compare shows the difference between any two versions. Choose a Base and a Head:
- Endpoints are grouped as Added, Removed and Modified.
- Breaking marks a change an existing client would notice.
- Security-relevant marks a change that alters exposure or protection, such as an endpoint that no longer requires sign-in.
- Filter to Security-relevant only or Breaking only to shorten the list.
When the analyzer was upgraded between two versions and an endpoint’s source did not change, the difference is labelled as a likely analyzer change, so you can tell it apart from a change your team made. Hide likely analyzer changes removes those from the list.
A written Summary sits above the changes. It names the commits between the two versions and the files they touched, when the run recorded them.
For history to name commits, the extraction needs the repository’s git history. In a pipeline, fetch enough history for the commits since the previous run, for example fetch-depth: 50 with actions/checkout.
Get notified about changes
Section titled “Get notified about changes”On an API’s page, select Watch to be emailed when a new version makes a security-relevant change. To send the same changes to another system, add a webhook URL under Change notifications. The URL receives a POST for each set of security-relevant changes. A Slack incoming webhook URL receives a formatted Slack message.
Follow a branch or pin a version
Section titled “Follow a branch or pin a version”An application linked to an API takes its spec from the API’s versions, so scans keep up with the code without a manual upload. Choose how each application follows:
- Track new versions: the application’s spec follows the newest version extracted on a branch. Enter the branch, or leave it empty to follow the repository’s default branch. Only versions extracted on the followed branch are used, so a feature-branch run in CI does not change what a production scan tests.
- Pin a version: the application keeps one version until you choose another. Use this to hold a release’s API steady while you retest a fix.
Each scan records the spec version it tested, so you can tell which endpoints a past scan covered.
To stop, select Stop following. The application keeps the spec it has.
Ask answers questions about one API in plain language, using its versions, changes, source locations, commits and scan results. Each answer cites the endpoints, versions and commits it relied on, and each citation links to that item.
Questions it handles well:
- Which endpoints accept file uploads without authentication?
- Which endpoints reach SQL and which of them are unauthenticated?
- What changed in the last version, and what matters for security?
- When did the newest endpoint appear, and who introduced it?
- Which endpoints added since the last scan are untested?
Ask has to be turned on for your organization first. Answers are generated from recorded data, so check the cited sources before you act on one.
Who can do what
Section titled “Who can do what”Anyone who can view an application can see it in the inventory and download its spec. Attaching a spec, linking an application and changing how it follows need permission to manage applications in the project. See Members, roles and groups.
From the API
Section titled “From the API”The inventory reads the same REST endpoints you can call yourself. Authenticate with an API token.
| To | Call |
|---|---|
| List API applications and their spec summaries | GET /api/v1/targets/openapi/ |
| Read one API application | GET /api/v1/targets/openapi/{id}/ |
| Get a link to download its spec | GET /api/v1/targets/openapi/{id}/get-spec-url/ |
See the API reference for parameters and response fields.