API overview

Updated at:

API standards and multilingual preset SDKs

The OpenAPI of this product (Cms/2024-03-30) uses the ROA signature style. We have encapsulated SDKs for common programming languages for developers. Developers can download the SDK to directly call this product's OpenAPI without worrying about technical details. If the existing SDK does not meet your needs, you can use the signature mechanism for self-signing integration. Since the details of self-signing are very complex, it may take around 5 business days. Therefore, we recommend joining our DingTalk service group (147535001692) and conducting signature integration under expert guidance.

Before using the API, you need to prepare your identity account and access key (AccessKey) to effectively access the API through client tools (such as SDK and CLI). For details, see Obtain an AccessKey.

Custom signature scenarios

If your business scenario has special requirements and you need to integrate the API through self-signing, we recommend consulting our technical support team first (DingTalk service group: 147535001692) to obtain professional guidance and ensure efficient integration.

Account and security preparation

Alibaba Cloud accounts have full administrative permissions over all resources. Once an AccessKey is compromised, all associated resources will be at risk of unauthorized access. To ensure security, it is recommended to create a RAM user with only API access permissions and configure its AccessKey, while configuring RAM policies based on the principle of least privilege (PoLP). Use the Alibaba Cloud account only in specific scenarios where Alibaba Cloud account permissions are explicitly required.

Workspace

API

Title

Description

PutWorkspace Create or modify a workspace Creates a workspace.
GetWorkspace Get a workspace Retrieves a workspace.
ListWorkspaces List workspaces Retrieves a list of workspaces.
DeleteWorkspace Delete a workspace Deletes a workspace.
CreateCloudResource Create a cloud resource center Creates a cloud resource center.
GetCloudResource Retrieve cloud resource center properties Queries the cloud resource center.
GetCloudResourceData Retrieve cloud service entity data Queries all entities of a specific cloud service within a specified time range.
DeleteCloudResource Delete a cloud resource center Deletes a cloud resource center.
CreateEntityStore Create entityStore Creates storage for EntityStore.
GetEntityStore Get EntityStore Retrieves the storage information of an EntityStore.
GetEntityStoreData Query entity and relationship data Queries the entity and relationship data in a specified workspace, and returns the entity data within a specific time range.
DeleteEntityStore Delete EntityStore Deletes an EntityStore.
CreateUmodel Create umodel configuration Creates a Umodel configuration.
GetUmodel Retrieve umodel Retrieves Umodel configuration information.
UpdateUmodel Update Umodel Updates the configuration of a Umodel.
DeleteUmodel Delete Umodel Deletes a Umodel configuration.
GetUmodelData Get Umodel Data Retrieves graph data associated with a Umodel.
UpsertUmodelData Add or overwrite umodel elements Writes Umodel elements.
DeleteUmodelData Delete umodel data Deletes Umodel elements.
GetUmodelCommonSchemaRef Retrieve the referenced public umodel schema Retrieves the referenced public Umodel schema.
DeleteUmodelCommonSchemaRef DeleteUmodelCommonSchemaRef Deletes a public Umodel schema reference.
UpsertUmodelCommonSchemaRef Reference a specified public umodel schema Updates the referenced public Umodel schema.

Data ingestion

API

Title

Description

Plug-in query Plug-in query
ListAddons List integration components Queries the grouped product list in the new Integration Center.
GetAddon Retrieve add-on configuration details Retrieves the details of an add-on.
GetAddonSchema Retrieve add-on schema information Retrieves the schema details of an add-on.
Ingestion policy management Ingestion policy management
UpdateIntegrationPolicy Update Access Center Policy Updates the specified policy.
DeleteIntegrationPolicy Delete Access Center Policy Deletes an Integration Center policy.
UpdateAddonRelease Update access component configuration Upgrades an access component.
CreateIntegrationPolicy Create an access center policy Creates an access center policy.
ListIntegrationPolicyStorageRequirements Retrieve storage requirement information for integration center policies Retrieves the storage requirement information of the integration center policy.
ListIntegrationPolicyPodMonitors Retrieve podMonitor resources of an integration center policy Retrieves the PodMonitor resources of an Integration Center policy.
ListIntegrationPolicyDashboards List dashboards Queries the list of dashboards.
ListIntegrationPolicyCustomScrapeJobRules Retrieve custom service discovery rules for an integration center policy Retrieves the custom service discovery rules for an integration center policy.
ListAddonReleases View integrated add-ons Lists the releases of an add-on.
ListIntegrationPolicies List integration center policies Queries the list of integration center policies.
GetIntegrationPolicy Query access center policy details Queries Access Center policy information.
GetAddonRelease View add-on component information Queries the details of an add-on release to check the accessed state.
CreateAddonRelease Install integration component Installs an integration component to perform an integration.
ListIntegrationPolicyServiceMonitors Retrieve serviceMonitor information of an integration center policy Retrieves the ServiceMonitor information of an Integration Center policy.
ListIntegrationPolicyCollectors Retrieve collectors of an access center policy Retrieves the collector information of an Access Center policy.
ListIntegrationPolicyAddons Retrieve the list of add-ons installed for the current policy Retrieves the list of add-ons installed for the current policy.

Application monitoring and user experience monitoring

API

Title

Description

CreateServiceObservability Create application observability Creates application observability and prepares prerequisite resources for integration.
CreateServiceRecord Create a service association entry Creates a service association entry to configure associations for the application monitoring service, such as log associations.
UpdateServiceRecord Update a service association entry Updates a service association entry.
GetServiceRecord Retrieve service association entries Queries service association entries.
DeleteServiceRecord Delete a service association entry Deletes a service association entry.
ListServiceRecords List service association entries Lists service association entries.
GetServiceObservability Retrieve application observability Retrieves the application observability instance.
DeleteService Delete application observability service Deletes the application observability service.
UpdateService Update application observability service Updates the application observability service.
GetService Query application observability service Queries the application observability service.
CreateService Create an application observability service Creates an application observability service.
ListServices Batch query application observability services Queries application observability services in batches.

Prometheus

API

Title

Description

Instance management Instance management
EnsureSharedPrometheusInstance Retrieve or create a shared prometheus instance for a workspace Retrieves or creates a shared Prometheus instance for a workspace.
ListPrometheusDashboards Retrieve prometheus instance dashboard list Retrieves the list of dashboards for a Managed Service for Prometheus instance.
DeletePrometheusInstance Delete Prometheus Instance Deletes a Prometheus instance.
UpdatePrometheusInstance Update prometheus instance information Updates a Prometheus instance.
ListPrometheusInstances List prometheus instances Retrieves a list of Prometheus instances.
GetPrometheusInstance Retrieve prometheus instance details Queries the details of a specified Prometheus instance.
CreatePrometheusInstance Create a prometheus instance Creates a Prometheus monitoring instance.
View instance management View instance management
GetPrometheusView Query the details of a specified prometheus view instance Queries the details of a specified Prometheus view instance.
UpdatePrometheusView Update prometheus view instance information Updates the information of a Prometheus view instance.
CreatePrometheusView Create a prometheus view Creates a Prometheus view.
ListPrometheusViews Retrieve prometheus view instances Retrieves a list of Prometheus view instances.
DeletePrometheusView Delete prometheus view instance. Deletes a Prometheus view instance.
Aggregation task management Aggregation task management
DeleteAggTaskGroup Delete an aggregation task group Deletes an aggregation task group.
UpdateAggTaskGroupStatus Update aggregation task group status Updates the status of an aggregation task group.
CreateAggTaskGroup Create an aggregation task group Creates an aggregation task group.
UpdateAggTaskGroup Update an aggregation task group Applies an aggregation task group.
ListAggTaskGroups List aggregation task groups Queries the list of aggregation task groups.
GetAggTaskGroup Query aggregation task group Queries the details of an aggregation task group.
Data delivery management Data delivery management
CreateDeliveryTask Create a data delivery task Creates a data delivery node that delivers metric data from a specified data source to a destination storage or MSMQ. Supports three delivery types: Prometheus Remote Write, Kafka, and MaxCompute. You can filter metrics by labels to specify the delivery scope and attach custom labels to the delivered metrics.
GetDeliveryTask Retrieve data delivery task details Retrieves the details of a data delivery task.
ListDeliveryTasks List data delivery tasks Retrieves a list of data delivery tasks.
UpdateDeliveryTask Update a data delivery task Updates a data delivery task.
DeleteDeliveryTask Delete a data delivery task Deletes a data delivery task.
Multi-tenant cluster instance management Multi-tenant cluster instance management
CreatePrometheusVirtualInstance Create a virtual instance for prometheus monitoring Creates a virtual instance for Prometheus monitoring.
ListPrometheusVirtualInstances Retrieve prometheus virtual instances Retrieves Prometheus virtual instances.
DeletePrometheusVirtualInstance Delete a prometheus virtual instance Deletes a Prometheus virtual instance by virtual instance ID.

Alerting

API

Title

Description

UpdateNotifyPolicy Update a notification policy Updates a notification policy.
ListNotifyPolicies List notification policies Lists notification policies.
GetNotifyPolicy Query notification policy details Retrieves the details of a notification policy.
EnableNotifyPolicy Enable a notification policy Enables a disabled notification policy in a specified workspace. After the policy is enabled, it resumes sending notifications for subscribed events.
DisableNotifyPolicy Disable a notification policy Disables a specified notification policy. A disabled policy stops sending notifications but retains all configurations and can be re-enabled.
CreateNotifyPolicy Create a notification policy Creates a notification policy.
DeleteNotifyPolicy Delete a notification policy Deletes a notification policy in a specified workspace. After the policy is deleted, it no longer sends notifications for subscribed events.
ListAlertActions Query alert action integrations Queries alert action integrations.
CreateAlertWebhook Create an alert webhook Creates a webhook.
DeleteAlertWebhooks Delete an alert webhook Deletes a webhook.
ListAlertWebhooks Query alert webhooks Queries webhooks.
UpdateAlertWebhook Update alert webhook Updates a webhook.
UpdateNotifyStrategy Update a notification policy Updates a notification policy.

Intelligent inspection

API

Title

Description

CreateTicket Create a password-free access ticket Creates a ticket for password-free access. You can use the ticket to construct a password-free URL to share console pages with other users or embed them into third-party systems.

Embedded console

API

Title

Description

GetCmsService Check the activation status of the prometheus service or product Checks the activation status of the Prometheus service or product.

Service activation

API

Title

Description

Memory store Memory store
UpdateMemoryStore Modify memory store Modifies a memory store.
UpdateMemory Update a memory Updates a memory.
ListMemoryStores List memory stores Queries the list of memory stores.
GetMemoryStore Query memory stores Queries memory stores.
GetMemoryHistory Retrieve memory history Retrieves the memory history.
GetMemory Retrieve a single memory Retrieves a single memory.
GetMemories Retrieve all memories Retrieves all memories.
DeleteMemoryStore Delete a memory store Deletes a memory store.
DeleteMemory Delete a single memory Deletes a single memory.
DeleteMemories Batch delete memories Deletes memories by filter attributes. At least one filter attribute must be specified. If no filter attributes are specified, a validation error is returned.
AddMemories Add memory Adds new facts, messages, or metadata to the memory store of a user. The Add Memory endpoint accepts raw text or conversation turns and initiates an asynchronous commit for them so that the memory is ready for subsequent operations such as search, retrieve, and graph queries.
CreateMemoryStore Create a memory store Creates a memory store.
Context store Context store
CreateContextStore Create a context library Creates a context library.
UpdateContextStore Modify the configuration of a context store Modifies the configuration of a context store.
ListContextStores List context stores Queries the list of context stores.
GetContextStore Query the context store Queries the context store.
DeleteContextStore Delete a context store Deletes a context store.
AddContexts Write context Writes context.
UpdateContext Update the context Modifies the context.
SearchContext Search context Searches the context.
GetContext Query a single context Queries a single context.
DeleteContexts Delete multiple contexts Deletes multiple contexts.
DeleteContext Delete a context Deletes a context.
CreateContextStoreAPIKey Create an API key Creates an API key.
ListContextStoreAPIKeys List API keys Retrieves a list of API keys.
DeleteContextStoreAPIKey Delete an API key Deletes an API key.
Datasets Datasets
ExecuteQuery Execute SQL, SPL, and other queries Executes SQL, SPL, and other query operations.
ActiveContactChannel Activate the contact channel Activates the contact channel.
CreateAlertAction Create an alert action integration Creates an alert action integration.
CreateAlertNotifyTemplate Create an alert notification template Creates a notification template.
CreateAlertRobot Create an alert chatbot Creates an alert chatbot.
CreateBizTrace Create a business link Creates a business link.
CreateContact Create a contact Creates a contact.
CreateContactGroup Create a contact group Creates a contact group.
CreateMaintainWindow Create a silence policy Creates a silence policy.
CreateOncallSchedule Create an on-call schedule Creates an on-call schedule.
CreateServiceTask Create a service task Creates a ServiceTask (heap dump or LiveDebug diagnostic task) for a specified application.
CreateSubscription Create a subscription Creates a subscription.
DeleteAlertActions Delete alert action integrations Deletes alert action integrations.
DeleteAlertNotifyTemplates Delete alert notification templates Deletes notification templates.
DeleteAlertRobots Delete an alert chatbot Deletes a chatbot.
DeleteBizTrace Delete a business link Deletes a business link.
DeleteContactGroups Delete a contact group Deletes a contact group.
DeleteContacts Delete contacts Deletes one or more contacts.
DeleteMaintainWindow Delete a silence policy Deletes a silence policy.
DeleteOncallSchedules Delete an on-call schedule Deletes an on-call schedule.
DeleteServiceTask Delete a service task Deletes a ServiceTask under a specified application.
DeleteSubscription Delete a subscription Deletes a subscription.
DisableMaintainWindow Pause a silence policy Pauses a silence policy.
EnableMaintainWindow Enable a silence policy Enables a silence policy.
EnableSubscription Start subscription Starts a subscription.
GetAddonCodeTemplate Retrieve code templates in an add-on Retrieves the schema details of an add-on.
GetAlertAction Retrieve alert action integrations Retrieves alert action integrations.
GetBizTrace Query business trace Queries the business trace.
GetIntegrationVersionForCS Query the integration center version associated with a container cluster Queries the integration center version associated with a container cluster.
GetMaintainWindow Retrieve a silence policy Retrieves a silence policy.
GetOncallSchedule Retrieve on-call schedule Retrieves the on-call schedule.
GetPrometheusUserSetting Retrieve prometheus user configurations Queries the Prometheus user configurations.
GetServiceTask Query a service task Queries the details of a single service task under a specified application.
ListAlertHistories Query alert history in cloudMonitor 2.0 Performs a paged query by paging to retrieve the monitoring alert history records in CloudMonitor 2.0.
ListAlertNotifyTemplates View notification templates Queries notification templates.
ListAlertRobots Query alert robots Queries alert robots.
ListBizTraces List business links Queries a list of business links.
ListContactGroups Query contact groups Queries contact groups.
ListContacts Query alert contacts Queries the alert contacts.
ListMaintainWindows List silence policies Queries a list of silence policies.
ListOncallContacts Retrieve on-call personnel Queries the on-call personnel at a specified time.
ListServiceTask List service tasks Lists service tasks.
ListSubscriptions Query subscriptions Queries subscriptions.
ListUserNotifyHistories Query notification history Queries the delivery history of alert notifications in a specified workspace by using paging. You can filter the results by notification channel, alert severity, subscription, alert rule, recipient, delivery result, and time range.
OpenCmsService Activate cloudMonitor services Activates CloudMonitor services, including Hybrid Cloud Monitoring, Managed Service for Prometheus, and Simple Log Service.
ResendVerifyActivate Resend the activation link Resends the activation link.
UpdateAlertAction Update alert action integration Updates an alert action integration.
UpdateAlertNotifyTemplate Update a notification template Updates a notification template.
UpdateAlertRobot Update alert chatbot Updates a chatbot.
UpdateBizTrace Update a business trace Updates a business trace.
UpdateContact Update a contact Updates a contact.
UpdateContactGroup Update a contact group Updates a contact group.
UpdateMaintainWindow Update a silence policy Updates a silence policy.
UpdateOncallSchedule Update an on-call schedule Updates an on-call schedule.
UpdatePrometheusUserSetting Update prometheus user configuration Updates the user configuration for Prometheus. Note: Modifying settingKey=financeUsageRegion switches Prometheus usage data to Log Service in the specified region, and historical usage data will no longer be available in the Prometheus console.
ViewOncallSchedule View on-call calendar Queries the on-call calendar of a specified on-call schedule within a given date range, and returns the contacts and start and end times of each on-call period grouped by shift name.
ChangeResourceGroup Modify the resource group Modifies the resource group of a resource.
CreateDataset Create a dataset Creates a dataset.
CreatePipeline Create a pipeline Creates a pipeline.
DeleteAddonRelease Uninstall an access component Deletes addon release information.
DeleteDataset Delete a dataset Deletes a dataset.
DeletePipeline Delete a pipeline Deletes a pipeline.
DescribeRegions List regions Queries the list of regions.
DisableSubscription Disable a subscription Disables a subscription.
GetDataset Query a dataset Queries a dataset.
GetPipeline Query pipelines Queries pipelines.
GetSubscription Retrieve a subscription Retrieves a subscription.
ListDatasets List datasets Lists datasets.
ListOncallSchedules Query on-call schedules Queries on-call schedules.
ListPipelines List pipelines Lists pipelines.
ListTagResources List tags Queries tags.
ManageAlertRules Manage alert rules Manages alert rules.
QueryAlertRules Query alert rules Queries alert rules.
SearchMemories Search memories Searches memories based on query conditions and filters.
TagResources Attach tags Attaches tags to resources.
UntagResources Unbind tags Unbinds tags from resources.
UpdateDataset Update a dataset Updates a dataset.
UpdatePipeline Update a pipeline Updates a pipeline.
UpdateSubscription Update a subscription Updates a subscription.
DescribeMetricMetaList Query details of metrics exposed by cloudMonitor Queries metadata.
GetRumSymbolicStack Retrieve the RUM symbolicated stack Retrieves the RUM symbolicated stack.
GetRumSymbolFiles Query RUM symbol files Queries the symbol files uploaded by Real User Monitoring (RUM) users and supports filtering by platform, file type, version, and keywords.
DeleteRumSymbolFiles Delete RUM symbol files Deletes the RUM symbol files.
GetRumSymbolFileParams Retrieve RUM symbol file upload parameters Retrieves the signature parameters required for uploading RUM symbol files.
PreviewNotifyTemplate Preview notification template rendering results Renders the provided Go template content with the specified context data and returns the rendering results for each template. Supports previewing multiple templates simultaneously, such as title and content, to enable real-time preview in frontend template editors.
CreateDataPipeline Create a data pipeline Creates a data pipeline.
DeleteDataPipeline Delete a data pipeline Deletes a DataPipeline.
GetDataPipeline Query a data pipeline Queries a data pipeline.
ListDataPipelines List all data pipelines Queries a list of data pipelines.
PreviewDataPipeline Preview pipeline Previews a data pipeline.
UpdateDataPipeline Update a data pipeline Updates a data pipeline.
DeleteEntityPortrait Delete an architecture document from the entity portrait Deletes an architecture document from the entity portrait.
GetEntityPortrait Retrieve entity cognitive profile Retrieves the cognitive profile of an entity.
GetEntityPortraitGraph Retrieve the fact graph of an entity portrait Retrieves the fact graph of an entity portrait.
GetEntityPortraitStatus Retrieve entity portrait status Retrieves the status of an entity portrait.
QueryEntityPortrait Query entity profile evidence Queries evidence for an entity profile.
ReflectEntityPortrait Infer based on an entity portrait Performs inference based on an entity portrait.
WriteEntityPortrait Write entity profile materials Writes entity profile materials.

Others

API

Title

Description

Memory store Memory store
Context store Context store
Datasets Datasets