Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

API extension classes

The CMDB CI Class Models ServiceNow Store app adds or updates classes for APIs (application programming interface).

CMDB CI Class Models is a ServiceNow Store app that adds class models that extend the CMDB class hierarchy. The new or updated classes include class descriptions, identification rules, identifier entries, and, if applicable, dependent relationships. You can use the added classes just like any other CMDB class. Applications such as Discovery and Service Mapping Patterns can use the class extensions to populate CIs and discover technologies and software.

See the release notes for all CMDB CI class models.

Request apps on the Store

Visit the ServiceNow Store to view all the available apps, and for information about submitting requests to the store. For cumulative release notes information for all released apps, see the ServiceNow Store version history release notes.

APIs

APIs are a set of definitions and protocols that enable computer programs to communicate with each other, which enables you to build or integrate application software. APIs typically use web-based technology to communicate with other APIs. APIs are generally used to programmatically perform jobs or tasks, or to view, import, export, delete, or modify data.

The classes added in this release extend the CMDB data model and provide a foundation for the representation of API CI classes. You can use this foundation to do the following:

  • Gain greater visibility into your APIs.
  • Identify security issues and vulnerabilities associated with an API endpoint.

Classes

This section lists the classes that the CMDB CI Class Models app adds or updates. For additional detail, see the Community article titled "New Data Model in CMDB for APIs".

CMDB CI Class Models: The following classes for API are available. For the list of classes in the base system, including classes that this app might extend, see CMDB tables descriptions.

ClassExtendsDescription
API\[cmdb\_ci\_api\]Configuration item\[cmdb\_ci\]APIs that enable two computer programs to communicate with each other, typically using web-based technologies. Example: ChatAPI \(https://\[apiID\].execute-api.use-east-2.amazonaws.com\).
API Component\[cmdb\_ci\_api\_component\]Configuration item\[cmdb\_ci\]Reusable objects related to your API definition that facilitate functionality or exchange of data. API Headers related list. Example: GET https://\[instance\].service-now.com/api/now/table/\{tablename\}.
API Frontend\[cmdb\_ci\_api\_frontend\]API Component\[cmdb\_ci\_api\_component\]The part of an API from which a client or user interacts or makes requests. Example: GET https://\[apiID\].execute-api.us-east-2.amazonaws.com/\{proxy+\}.
API Backend\[cmdb\_ci\_api\_backend\]API Component\[cmdb\_ci\_api\_component\]The part of an API that fulfills requests by interacting with backend services, such as servers. Example: Lambda:Chat-API-Proxy.
API Gateway\[cmdb\_ci\_api\_gateway\]Application\[cmdb\_ci\_appl\]API infrastructure that centralizes client API requests and manages backend processes and services. Example: Kong Gateway.
Managed API\[cmdb\_ci\_managed\_api\]Configuration item\[cmdb\_ci\_api\]API discovered from a gateway or management service. You can enforce a dependency on a gateway for APIs in this class.

Class attributes

CMDB CI Class Models: Release 1.49.0 adds the following attributes to the respective classes.

AttributeData typeDescription
Base URLString \(1024\)Base address from which all API components extend.
IDString \(1024\)Unique identifier from the source system.
TypeListType of API. You can specify:- REST - SOAP - HTTP - gRPC - GraphQL - Websocket
VersionNumericVersion of the API.
Spec LocationURLURL to the location of the API specification. Example: OpenAPI spec definition.
Technical Specification LocationStringLocation of the technical specification repository for an API. Example: GitHub repository containing the deployed API code.
Design Specification LocationStringURL to the location of the API design or documentation. Example: SwaggerHub API Design Specification URL.

The API [cmdb_ci_api] class supports mapping of tags and labels to the Key Value [cmdb_key_value] table to enable key-value storage for API metadata.

AttributeData typeDescription
MethodStringREST API methods. Examples:- GET - POST - DELETE
ProtocolStringCommunication protocol. Example: HTTP, HTTPS.
HostString \(100\)System that hosts the API.
PathString \(1024\)Specific route the API follows.
PortStringCommunication port. Example: 80, 443, and so on.
URLString \(1024\)URL of the resource being called.
IDString \(1024\)Unique identifier from the source system.
Internet FacingBooleanBoolean that denotes whether the component is reachable from the public internet. Specify 1 or "true" if the component is reachable.
AuthorizationStringType of authorization or authentication method. Example:- Basic - Key - OAuth - None
Request data typesString \(255\)List of data types in the request. Examples:- CC - Email - Address
Response data typesString \(255\)List of data types in the response. Examples:- CC - Email - Address

The API Component [cmdb_ci_api_component] class supports mapping of tags and labels to the Key Value [cmdb_key_value] table to enable key-value storage for API component metadata.

AttributeData typeDescription
Parent IDReference to [cmdb_ci_api_frontend]Reference to a parent API component.
AttributeData typeDescription
TypeStringBackend protocol types of the API. Examples:- Lambda - HTTP - Logic App
AttributeData typeDescription
IDString (255)Unique identifier from the source system.

The API Gateway [cmdb_ci_api_gateway] class supports mapping of tags and labels to the Key Value [cmdb_key_value] table. The mapping enables key-value storage for API gateway metadata.

The following marker classes are available for API gateways. These classes inherit all attributes from the API Gateway [cmdb_ci_api_gateway] parent class.

  • Anypoint API Gateway [cmdb_ci_api_gateway_anypoint] (provided by MuleSoft)
  • Tyk API Gateway [cmdb_ci_api_gateway_tyk] (provided by Tyk)
  • Boomi API Gateway [cmdb_ci_api_gateway_boomi] (provided by Boomi)

The marker classes follow the existing class structure and do not require changes to Identification and Reconciliation engine (IRE) rules.

Note: The Managed API [cmdb_ci_managed_api] class is specific to APIs discovered from gateways and other managed services, and does not introduce new attributes.

In API gateways and developer portals, an API product bundle is a collection of one or more APIs for consumption by developers and applications. Some platforms use the term for an API product alone.

AttributeData typeDescription
IDString (255)Unique identifier of the API product bundle.
Discovered Approval TypeStringType of request approval as discovered from the source system.
Discovered Access TypeStringAccess configuration as discovered from the source system. For example, public or internal.
Creation DateDate/TimeDate and time when the API product bundle was initially discovered or recorded.
Last Modified DateDate/TimeDate and time of the most recent update to the API product bundle.
Discovered StateStringCurrent state of the product bundle as reported by the source. For example, published or deprecated.

To access one or more API product bundles, a developer can register for an API consumer subscription on a developer portal. The subscription registers with one or more bundles and provides a key for access to the APIs in the bundles.

AttributeData typeDescription
Discovered ScopeStringScope of access as discovered from the source system. For example, all APIs or specific APIs.
API ConsumerReferenceReference to the API consumer record. For example, cmdb_ci_api_consumer.
IDString (255)Unique identifier of the API consumer subscription.
Discovered StateStringSubscription status as discovered from the source system. For example, active or inactive.
Creation DateDate/TimeDate and time when the API consumer subscription was created in the source system.
Last Modified DateDate/TimeDate and time of the most recent update to the API consumer subscription.

The WebACL class [cmdb_ci_web_acl] represents ACLs for CloudFront, API gateway REST APIs, application load balancers, AppSync GraphQL APIs, Cognito user pools, App Runner services, AWS Verified Access, and the Azure Front Door application gateway.

Key relationship structures

There are a number of key relationships that must be defined for API and Kong classes.

Parent classRelationshipChild classRelationship type
API \[cmdb\_ci\_api\]Uses::Used byAPI Component\[cmdb\_ci\_api\_component\]Suggested
API Gateway \[cmdb\_ci\_api\_gateway\]Provides::Provided ByManaged API\[cmdb\_ci\_managed\_api\]Dependent
API Frontend \[cmdb\_ci\_api\_frontend\]Use End Point To::Use End Point FromAPI Backend\[cmdb\_ci\_api\_backend\]Suggested
API Backend\[cmdb\_ci\_api\_backend\]Uses::Used ByKong Load Balancer\[cmdb\_ci\_kong\_lb\]Suggested
API Gateway \[cmdb\_ci\_api\_gateway\]Provides::Provided ByAPI Product Bundle\[cmdb\_ci\_api\_product\_bundle\]Dependent
API Gateway \[cmdb\_ci\_api\_gateway\]Provides::Provided ByAPI Consumer Subscription\[cmdb\_ci\_api\_consumer\_subscription\]Dependent
API Product BundleContains::Contained byAPI\[cmdb\_ci\_api\]Suggested
API Product BundleUsed by::UsesAPI Consumer Subscription\[cmdb\_ci\_api\_consumer\_subscription\]Suggested

CMDB CI Class Models v 1.49.0 introduces the following non-CMDB tables as related lists for the following API extension classes:

  • API related list

    AttributeData typeDescription
    NameString (100)Name of the API deployment.
    APIReferenceReference to the deployed API (cmdb_ci_api).
    Unmatched API EndpointReferenceReference to the unmatched API endpoint, if the API doesn't match an existing API (cmdb_ci_unmatched_api_endpoint).
    Configuration itemReferenceReference to the Configuration item. This is typically manually specified as a reference, if you know what CI the API is deployed to.

    Note: The API Deployment non-CMDB table relates to both the API [cmdb_ci_api] and Unmatched API Endpoint [cmdb_ci_unmatched_api_endpoint] classes.

  • API Component related list

    AttributeData typeDescription
    NameString (100)Name of the API header.
    API ComponentReferenceReference to the component where the API header is defined (cmdb_ci_api_component).
    Unmatched API EndpointReferenceReference to the unmatched API when the endpoint can't be matched to an existing API or component (cmdb_ci_unmatched_endpoint).
  • API Gateway related lists

AttributeData typeDescription
UsernameString \(100\)

Name of the API consumer.

Note: The Consumer field in the api_policy table is a reference field. To display the username in the Username field on the API Policies list, you must set the display attribute of Username to true. If the attribute is not set to true, then the list displays the Sys ID instead.

IDString \(255\)Unique identifier from the source system.
Custom IDString \(100\)Alternate display name of the user.
API GatewayReferenceReference to the gateway where the consumer is defined \(cmdb\_ci\_api\_gateway\).
API Consumer TypeListAPI user type \(user\_type\). You can specify: - Internal - External - Unknown
Discovered StateStringRepresents the current status of the API consumer's account.
ProviderStringName of the identity management provider responsible for authenticating the API consumer.
EmailStringEmail address of the API consumer.
Registration DateDate/TimeDate the consumer registered with the providing platform.
|Attribute|Data type|Description|
|---------|---------|-----------|
|API Consumer|Reference|Reference to the API consumer record. For example, cmdb\_ci\_api\_consumer.|
|API|Reference|Reference to the API \[cmdb\_ci\_api\] to which the consumer is requesting access.|
|Auth Method|String|Authentication method used by the API consumer to access the API. For example, API key or OAuth.|
|State|Choice|Indicates whether the access is currently active or inactive.|
|Last used|Date/Time|Last date and time the API consumer accessed the API.|
|Valid to|Date/Time|Expiration date of the consumer’s access to the API.|
AttributeData typeDescription
NameString \(100\)Name of the API policy.
IDString \(255\)Unique identifier from the source system.
FrontendReferenceReference to the API Front end \(cmdb\_ci\_api\_frontend\).
Managed APIReferenceReference to the Managed API \(cmdb\_ci\_managed\_api\).
ConsumerReferenceReference to the API Consumer (api_consumer) non-CMDB table. Note: Consumer is a reference field. To display the api_consumer (Username) in the API Policies list, you must set the display attribute to true for Username field on the api_consumer table. If the attribute is not set to true, then the list displays the Sys ID instead.
ProtocolsStringArray of protocols that this API policy can apply to.
ActiveBooleanDetermines if this non-CMDB table is considered active or inactive.
API GatewayReferenceReference to the gateway where the consumer is defined \(cmdb\_ci\_api\_gateway\).