---
sourceDocument: Xanadu ServiceNow AI Platform Capabilities
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/xanadu/servicenow-platform

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu ServiceNow AI Platform Capabilities

ft:clusterId :

    - platcap

bundleId :

    - platcap

workflow :

    - Platform


---

# API extension classes

# API extension classes {#ariaid-title1}

* Release version: Xanadu
* 
* Updated October 10, 2024
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 5 minutes to read

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

The app adds class models that extend the CMDB class hierarchy, including class descriptions, identification rules, identifier entries, and dependent relationships (if applicable). You can use the added classes as any other CMDB class.
Applications such as Discovery and Service Mapping Patterns can use these class extensions to populate CIs and discover various technologies and software.

## Request apps on the Store {#cmdb-ci-class-models-api__section_xmz_rhf_5lb}

Visit the [ServiceNow Store](https://store.servicenow.com/sn_appstore_store.do#!/store/home) website 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](https://www.servicenow.com/docs/bundle/store-release-notes/page/release-notes/store/sn-store-release-notes.html).{#cmdb-ci-class-models-api__inline-send-to-store}

## APIs {#cmdb-ci-class-models-api__section_kfr_zqz_ryb}

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 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.
{#cmdb-ci-class-models-api__ul_lxr_psz_ryb}

## Classes {#cmdb-ci-class-models-api__section_br5_2tz_ryb}

This section lists the classes that the CMDB CI Class Models store app adds or updates.

CMDB CI Class Models: Release 1.49.0 adds the following classes for API. For the list of CMDB classes in a base system, including ones that this store app might be extending, see [CMDB tables descriptions](https://servicenow-prod.fluidtopics.net/RUkyovHiX9HAuls7gS_n0Q "List of tables in the CMDB in a base system with its name, label, and a description of the type of information that is stored in the table.").  
{#cmdb-ci-class-models-api__table_h2r_d5z_ryb__entry__3}

| Class | Extends | Description |
|-|-|-|
| 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. 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. |
[ ]

{#cmdb-ci-class-models-api__table_h2r_d5z_ryb}

## Class attributes {#cmdb-ci-class-models-api__section_pyk_vzk_tlb}

CMDB CI Class Models: Release 1.49.0 adds the following attributes to the respective classes.  
{#cmdb-ci-class-models-api__table_ch3_b1l_tlb__entry__3}

| Attribute | Data type | Description |
|-|-|-|
| Base URL | String (1024) | Base address from which all API components extend. |
| ID | String (1024) | Unique identifier from the source system. |
| Type | Choice list | Type of API. You can specify: * REST * SOAP * HTTP * gRPC * GraphQL * Websocket {#cmdb-ci-class-models-api__ul_odt_4hg_syb} |
| Version | Numeric | Version of the API. |
| Spec Location | URL | URL to the location of the API specification. Example: OpenAPI spec definition. |
[Table 1. API \[cmdb_ci_api\]]

{#cmdb-ci-class-models-api__table_ch3_b1l_tlb}  
{#cmdb-ci-class-models-api__table_jlv_fmg_syb__entry__3}

| Attribute | Data type | Description |
|-|-|-|
| Method | String | REST API methods. Examples: * GET * POST * DELETE {#cmdb-ci-class-models-api__ul_v2t_vmg_syb} |
| Protocol | String | Communication protocol. Example: HTTP, HTTPS. |
| Host | String (100) | System that hosts the API. |
| Path | String (1024) | Specific route the API follows. |
| Port | String | Communication port. Example: 80, 443, and so on. |
| URL | String (1024) | URL of the resource being called. |
| ID | String (1024) | Unique identifier from the source system. |
| Internet Facing | Boolean | Boolean that denotes whether the component is reachable from the public internet. Specify 1 or "true" if the component is reachable. |
| Authorization | String | Type of authorization or authentication method. Example: * Basic * Key * OAuth * None {#cmdb-ci-class-models-api__ul_pvn_ppg_syb} |
| Request data types | String (255) | List of data types in the request. Examples: * CC * Email * Address {#cmdb-ci-class-models-api__ul_urj_wpg_syb} |
| Response data types | String (255) | List of data types in the response. Examples: * CC * Email * Address {#cmdb-ci-class-models-api__ul_gnc_ypg_syb} |
[Table 2. API Component \[cmdb_ci_api_component\]]

{#cmdb-ci-class-models-api__table_jlv_fmg_syb}  
{#cmdb-ci-class-models-api__table_nnj_cqg_syb__entry__3}

| Attribute | Data type | Description |
|-|-|-|
| Parent ID | Reference to \[cmdb_ci_api_frontend\] | Reference to a parent API component. |
[Table 3. API Frontend \[cmdb_ci_api_frontend\]]

{#cmdb-ci-class-models-api__table_nnj_cqg_syb}  
{#cmdb-ci-class-models-api__table_tqx_q3g_syb__entry__3}

| Attribute | Data type | Description |
|-|-|-|
| Type | String | Backend protocol types of the API. Examples: * Lambda * HTTP * Logic App {#cmdb-ci-class-models-api__ul_onn_djg_syb} |
[Table 4. API Backend \[cmdb_ci_api_backend\]]

{#cmdb-ci-class-models-api__table_tqx_q3g_syb}  
{#cmdb-ci-class-models-api__table_wkl_zqg_syb__entry__3}

| Attribute | Data type | Description |
|-|-|-|
| ID | String (255) | Unique identifier from the source system. |
[Table 5. API Gateway \[cmdb_ci_api_gateway\]]

{#cmdb-ci-class-models-api__table_wkl_zqg_syb}  
Note:  
Managed API \[cmdb_ci_managed_api\] is specific to APIs discovered from gateways and other managed services, and does not introduce new attributes at this time.

## Key Relationship Structures {#cmdb-ci-class-models-api__section_cvq_432_5yb}

There are a number of key relationships that must be defined for API and Kong classes.  
{#cmdb-ci-class-models-api__table_b1s_t32_5yb__entry__4}

| Parent class | Relationship | Child class | Relationship type |
|-|-|-|-|
| API \[cmdb_ci_api\] | Uses::Used by | API Component \[cmdb_ci_api_component\] | Suggested |
| API Gateway \[cmdb_ci_api_gateway\] | Provides::Provided By | Managed API \[cmdb_ci_managed_api\] | Dependent |
| API Frontend \[cmdb_ci_api_frontend\] | Use End Point To::Use End Point From | API Backend \[cmdb_ci_api_backend\] | Suggested |
| API Backend \[cmdb_ci_api_backend\] | Uses::Used By | Kong Load Balancer \[cmdb_ci_kong_lb\] | Suggested |
[Table 6. API relationships]

{#cmdb-ci-class-models-api__table_b1s_t32_5yb}

## Related non-CMDB tables {#cmdb-ci-class-models-api__section_csp_cch_syb}

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

API related list
:   {#cmdb-ci-class-models-api__table_hyc_d1r_tyb__entry__3}

    | Attribute | Data type | Description |
    |-|-|-|
    | Name | String (100) | Name of the API deployment. |
    | API | Reference | Reference to the deployed API (cmdb_ci_api). |
    | Unmatched API Endpoint | Reference | Reference to the unmatched API endpoint, if the API doesn't match an existing API (cmdb_ci_unmatched_api_endpoint). |
    | Configuration Item | Reference | Reference to the Configuration Item. This is typically manually specified as a reference, if you know what CI the API is deployed to. |
    [Table 7. API Deployment \[api_deployment\]]

    {#cmdb-ci-class-models-api__table_hyc_d1r_tyb}  
    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
:   {#cmdb-ci-class-models-api__table_wpf_bdh_syb__entry__3}

    | Attribute | Data type | Description |
    |-|-|-|
    | Name | String (100) | Name of the API header. |
    | API Component | Reference | Reference to the component where the API header is defined (cmdb_ci_api_component). |
    | Unmatched API Endpoint | Reference | Reference to the unmatched API when the endpoint can't be matched to an existing API or component (cmdb_ci_unmatched_endpoint). |
    [Table 8. API Header \[api_header\]]

    {#cmdb-ci-class-models-api__table_wpf_bdh_syb}

API Gateway related lists
:   {#cmdb-ci-class-models-api__table_swj_lch_syb__entry__3}

    | Attribute | Data type | Description |
    |-|-|-|
    | Username | String (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. |
    | ID | String (255) | Unique identifier from the source system. |
    | Custom ID | String (100) | Alternate display name of the user. |
    | API Gateway | Reference | Reference to the gateway where the consumer is defined (cmdb_ci_api_gateway). |
    [Table 9. API Consumer \[api_consumer\]]

    {#cmdb-ci-class-models-api__table_swj_lch_syb}
:   {#cmdb-ci-class-models-api__table_l41_wch_syb__entry__3}

    | Attribute | Data type | Description |
    |-|-|-|
    | Name | String (100) | Name of the API policy. |
    | ID | String (255) | Unique identifier from the source system. |
    | Frontend | Reference | Reference to the API Frontend (cmdb_ci_api_frontend). |
    | Managed API | Reference | Reference to the Managed API (cmdb_ci_managed_api). |
    | Consumer | Reference | Reference to the API Consumer (api_consumer) non-CMDB table. Note: Consumer is a reference field. To display the Username in the API Policies list, you must set the display attribute to `true` for Username field in the api_consumer table. If the attribute is not set to `true`, then the list displays the Sys ID instead. |
    | Protocols | String | Array of protocols that this API policy can apply to. |
    | Active | Boolean | Determines if this non-CMDB table is considered active or inactive. |
    | API Gateway | Reference | Reference to the gateway where the consumer is defined (cmdb_ci_api_gateway). |
    [Table 10. API Policy \[api_policy\]]

    {#cmdb-ci-class-models-api__table_l41_wch_syb}

