API Insights is a ServiceNow workspace that keeps an inventory of the APIs your organisation runs and lets people review their usage, health, ownership and lifecycle in one place. It pulls data from ServiceNow’s own API registry and from API gateway connectors, and stores it in the CMDB.
What problem the workspace is meant to solve
Integration estates can grow in layers, and each integration pattern adds its own owners. One team publishes APIs through a gateway, another exposes scripted REST services on the platform, a third keeps a spreadsheet of what the others built. When an architect asks “who owns this API, which business application does it support, and is anyone still calling version one?”, the answer lives in four places.
API Insights is ServiceNow’s attempt to collapse those places into one workspace. It is a centralized workspace for enterprise and software architects, with CMDB administrators handling the connections behind it. The value is not a new gateway. It does not replace the gateway. It gives the people around the gateway, such as architects, product owners and service owners, a view they can open without needing gateway credentials.
What lands in the workspace
The application installs a set of components, and two of them are worth understanding before any rollout: the import of ServiceNow’s own APIs and the usage metrics.
Imports from ServiceNow itself. A scheduled job named Import ServiceNow API to API Insights pulls APIs from the platform’s own registry, and a table records the ServiceNow APIs that have been imported. This means your internal ServiceNow APIs can sit next to gateway-managed APIs in the same list.
Usage metrics. A second job sends ServiceNow API usage data to MetricBase, the platform’s time-series store. A configuration table maps each discovery source to a metric and records whether the metric applies at API level or component level, and whether it measures usage, error rate, latency or cache hit. So the usage views cover request volume, failures, response time and caching behaviour.
An example of the problem
Picture a hypothetical estate, used here only as an illustration. A product owner asks which APIs support a payments application. One architect checks the gateway console, another searches the platform for scripted services, and a third opens a spreadsheet. Three answers come back, and none of them agrees. A shared workspace removes the argument about which source is right, because everyone looks at the same CMDB-backed records.
Roles that control who sees what
The application installs two roles of its own, and users holding the CMDB administrator role can also use it.
| Role | What it is for |
|---|---|
| Enterprise architect (sn_api_insights_ws.api_mgmt_architect) | Searching APIs, monitoring a team’s APIs, following API activity and access requests, and managing lifecycle gaps such as missing business context, ownership, product models or designs |
| Enterprise architect administrator (sn_api_insights_ws.api_mgmt_architect_admin) | Managing the workspace itself: reviewing data model recommendations, monitoring API connections, evaluating usage metrics and setting the parameters for recommendations and de-duplication |
Treat both roles as able to change data, because the architect role includes CMDB editing. Grant them to named reviewers, in line with your instance security and access control approach, record why each person has them, and revisit the list after the first rollout. Give the administrator role to as few people as the workspace needs.
How data gets into the CMDB
For gateway-managed APIs, the feed comes from a Service Graph Connector installed from the ServiceNow Store. The Apigee X connector is the clearest example. It reads proxies, endpoints, deployments, products, consumer information and consumer subscriptions from the Apigee environment and writes them to the CMDB. API Insights then lets stakeholders review that data without having access to Apigee itself.
Connectors carry their own prerequisites, so read the requirements for the version you plan to install before you start. Apigee X connections are set up in Service Graph Connector Central, so check the credentials the connector asks for before you start. Connector releases can also carry upgrade warnings.
If you run a gateway with no connector in your plan, the imports from ServiceNow’s own registry still give you a useful first slice.
A sensible setup sequence
A first rollout can follow this order. Adjust it for your release.
- Confirm you are entitled to use it. It is not something to enable first and ask about later.
- Test in a sub-production instance. Activate the application there, and install your chosen gateway connector alongside it.
- Check CMDB readiness. The connectors write into the CMDB, so your identification and reconciliation rules matter. A messy CMDB will produce a messy API inventory.
- Assign roles to a small group first. Give the administrator role to the person who will run the workspace, and the architect role to a few reviewers.
- Run the import and the first discovery. Run the ServiceNow API import and a first connector discovery, then open the workspace to see whether counts look plausible against what the gateway console reports.
- Work the ownership gaps. Start with APIs that have no business application and no owner. Fixing those first gives the later usage numbers a meaning.
- Promote to production once the counts and relationships survive a review by the people who actually run the APIs.
Keep a short rollout log while you work: which instance you are on, which connector version you installed, who holds each role, and what you changed after each review. When a number looks wrong three weeks later, that log is the quickest route to the cause. Plan the review dates before the pilot starts, so the first numbers are checked on a schedule rather than whenever someone has a spare hour.
Agree before you start who signs off each step. The person who runs the workspace should not be the only reviewer of its first numbers. A gateway owner and a service owner make better checkers.
Expect step five to need a second pass. The first discovery can reveal naming inconsistencies, such as the same API appearing under two names, or a gateway environment that nobody told you about. Correct the source data or the mapping rules, and run discovery again before anyone outside the pilot group sees the numbers.
Reading the numbers once they appear
Once the inventory fills, use it to ask questions as well as to report.
Look for APIs with rising error rates and no owner; those are the ones likely to stay broken. Look for older versions still carrying traffic before anyone retires them. Compare latency across versions when a team claims a new release is faster.
Write down the decisions that come out of each review, such as retiring a version or assigning a missing owner, so the next review can check they happened.
Be careful with one assumption. A usage chart tells you that calls arrive, not who made them or why. Combine it with the ownership data and a conversation with the gateway owner before deciding that an API is unused.
Common mistakes on first rollout
- Switching it on before the CMDB is ready. The workspace reflects the CMDB. Duplicate or unreconciled configuration items, which usually trace back to weak CMDB class choices, produce duplicate API entries.
- Skipping ownership. An inventory without owners is a list of problems nobody can act on.
- Giving broad access too early. Both roles can change data, so grant them to named people with a recorded reason.
- Assuming one view covers every gateway. Coverage depends on which connectors you install and how they are scoped.
- Treating it as a gateway. API Insights observes and organises. Policy enforcement, rate limits and traffic routing still belong to the gateway.
Frequently asked questions
Is API Insights the same as an API gateway?
No. It is a workspace for inventory, analysis and lifecycle management. Your gateway still handles traffic and policy.
Can it show ServiceNow’s own APIs?
Yes. A scheduled job imports ServiceNow APIs from the platform registry, and a second job sends their usage data to MetricBase.
Which gateways can feed it?
Apigee X is one example, and the ServiceNow Store lists other API Service Graph Connectors. ServiceNow’s own APIs arrive through the registry import.
Who should own the workspace?
A platform or enterprise architecture function is a natural owner, since the administrator role covers connection monitoring and recommendation settings. Individual API owners who review data then need the architect role.
Does it fix a poor CMDB?
No. It depends on CMDB quality and can expose weaknesses there. Cleaning relationship data first saves rework.
Where do the usage numbers come from?
Usage metrics are stored in MetricBase, with metric configuration records that map each discovery source to a metric type.