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

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil ServiceNow AI Platform Capabilities

ft:clusterId :

    - platcap

bundleId :

    - platcap

workflow :

    - Platform


---

# Use application services APIs

# Use application services APIs {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of Use application services APIs

Application services APIs in ServiceNow enable customers to manage service instances---sets of interconnected applications and hosts delivering services internally or externally.
These APIs allow you to create, update, and retrieve details about service instances using the underlying Configuration Items (CIs) stored in the CMDB.
Managing services programmatically helps maintain accurate service models and supports operational and business needs.
Show full answer Show less  

## Key Features

* **Create or update service instances:** Use the `createOrUpdateService` POST REST API to create service instances based on existing CIs in the CMDB. This supports CIs discovered via ServiceNow Discovery or imported from external sources.
* **Relationship types:** By default, CI connections within a service instance use the *Depends on::Used by* relationship type. This can be customized via the `sa.itservice.manualcireltype` property.
* **Retrieve service content:** The `getContent` GET REST API returns lists of CIs and their relationships within a manually created service instance.
* **Additional JavaScript APIs:** Provide granular control over service instances, including adding or removing CIs (`addCI()`, `removeCI()`), managing connections (`addManualConnection()`, `removeManualConnection()`), converting manual services (`migrateManualToApplicationService()`), and populating services from entry points (`populateApplicationService()`).

## Important Considerations

* Ensure all CIs that comprise the application service exist in the CMDB prior to creating a service instance and that you have their `sysid` values.
* Understand the CI hierarchy to accurately represent service dependencies.
* The `cmdbciservicediscovered` table stores all service instances, whether created manually or via APIs.
* Role required to use these APIs is `appserviceadmin`.

## Practical Benefits for ServiceNow Customers

These APIs empower ServiceNow customers to automate and standardize the creation and maintenance of application service instances, improving accuracy and efficiency in service modeling. By leveraging CMDB data and Discovery results, customers can keep service definitions up to date, enhancing service impact analysis, change management, and operational visibility. The JavaScript APIs provide flexibility for custom workflows and integrations within the ServiceNow platform.  
Application services provide APIs that let you perform operations such as creating and
updating an service instance, populating it with CIs from the CMDB, and retrieving
details from an existing service instance.
Role required: app_service_admin
A service instance is a set of interconnected applications and hosts that are configured to offer a service to the organization. Service instances can be internal, like an organization email system or customer-facing, like an organization website.

## Create an application service {#use-app-services-api__section_i1y_b2g_sdb}

Using the [createOrUpdateService - POST](https://www.servicenow.com/docs/access?context=application-service-api&version=brazil&pubname=brazil-api-reference&ft:locale=en-US) REST API to create an service instance suits your organization if the ServiceNow
CMDB already contains the CIs making up the service. Typically, it is the case when you have manually added CIs directly into the CMDB, or used the Discovery application to discover CIs and store information about them in the CMDB. You can also use this API to create an service instance containing CIs discovered using non-ServiceNow applications.

By default, when an service instance is created, all CI connections are of the Depends on::Used by
relationship type. You can modify this default type by changing the value of the [sa.it_service.manual_ci_rel_type](https://servicenow-prod.fluidtopics.net/RVojBSWvs0CyCoHJ7O5svA "Several types of components are installed with activation of the Application Service [com.snc.cmdb.it_service] plugin, including tables, user roles, and scheduled jobs.") property.  
Before creating an application service, ensure that:

* The CMDB contains all the CIs comprising the application service.
* You have the sys_id of each CI comprised in the application service you want to create.
* You understand the hierarchy that the CIs form.
{#use-app-services-api__ul_cdh_hjg_sdb}

The Mapped Application Service \[cmdb_ci_service_discovered\] table contains every service instance including services you create using APIs.

You can also manually create an service instance using the user interface as described in [Create a Service instance (application service)](https://servicenow-prod.fluidtopics.net/PBtIfzlBxQQRtZQG9AMZcw "Create an application service to adhere to Common Service Data Model standards and to standardize the organization, maintenance, and monitoring of services in your organization.").

## Retrieve content from an application service {#use-app-services-api__section_t1d_c2g_sdb}

Use the [getContent - GET](https://www.servicenow.com/docs/access?context=application-service-api&version=brazil&pubname=brazil-api-reference&ft:locale=en-US) REST API to retrieve a list of CIs and the
relationships between them, for an application service that was created manually.

## Additional APIs {#use-app-services-api__section_cgl_4y5_wdb}

The following JavaScript APIs are also available:

* [addCI()](https://www.servicenow.com/docs/access?context=BusinessServiceManagerAPI&version=brazil&pubname=brazil-api-reference&ft:locale=en-US): Add a CI to a manually created an service instance.

  For restrictions on the CIs being added and other details about adding a CI to an service instance, see [Manually add CIs to an application service](https://servicenow-prod.fluidtopics.net/iK8w3UnNOuZXgD61Xp7nKA "Add configuration items to manually created application services or to services discovered by Service Mapping.").
* [addManualConnection()](https://www.servicenow.com/docs/access?context=BusinessServiceManagerAPI&version=brazil&pubname=brazil-api-reference&ft:locale=en-US): Add a manually created connection
  to an application service.

* [migrateManualToApplicationService()](https://www.servicenow.com/docs/access?context=BusinessServiceManagerAPI&version=brazil&pubname=brazil-api-reference&ft:locale=en-US): Convert a manual
  service to an application service.

*
  [populateApplicationService()](https://www.servicenow.com/docs/access?context=BusinessServiceManagerAPI&version=brazil&pubname=brazil-api-reference&ft:locale=en-US): Populate an application
  service with CIs and relationships from the designated entry point.

* [removeCI()](https://www.servicenow.com/docs/access?context=BusinessServiceManagerAPI&version=brazil&pubname=brazil-api-reference&ft:locale=en-US): Remove a manually created CI from an
  application service.

* [removeManualConnection()](https://www.servicenow.com/docs/access?context=BusinessServiceManagerAPI&version=brazil&pubname=brazil-api-reference&ft:locale=en-US): Remove a manually created
  connection and the connected CI from an application service.

{#use-app-services-api__ul_h5f_qy5_wdb}
**Related topics**   

* [Application Service API](https://www.servicenow.com/docs/access?context=application-service-api&version=brazil&pubname=brazil-api-reference&ft:locale=en-US)

