API overview

Updated at:

API standards and multilingual preset SDKs

The OpenAPI of this product (eventbridge/2020-04-01) uses the RPC 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.

Event bus

API

Title

Description

CreateEventBus Create an event bus Creates an event bus.
DeleteEventBus Delete an event bus Deletes an event bus.
UpdateEventBus Update an event bus Updates an event bus.
GetEventBus Retrieve the details of an event bus Retrieves the details of an event bus.
ListEventBuses List all event buses Queries all event buses.

Events

API

Title

Description

QueryEvent QueryEvent Queries the content of an event.
QueryEventTraces QueryEventTraces Queries event traces.
QueryTracedEventByEventId QueryTracedEventByEventId Queries event traces by event ID.
QueryTracedEvents Query event trace by time range Queries the event trace within a specified time range.

Event sources

API

Title

Description

ListAliyunOfficialEventSources ListAliyunOfficialEventSources Queries all Alibaba Cloud service event sources.
ListUserDefinedEventSources Query all external event sources Queries all external event sources.
CreateEventSource Create an event source Creates an external event source.
DeleteEventSource Delete an event source Deletes an event source.
UpdateEventSource Update an event source Updates the configuration of an event source.

Event targets

API

Title

Description

DeleteTargets DeleteTargets Deletes one or more event targets of an event rule.
PutTargets Create or update an event target under a specified rule Creates or updates an event target under a specified rule.

Event rules

API

Title

Description

CreateRule Create an event rule Creates an event rule.
DeleteRule Delete an event rule Deletes an event rule.
DisableRule DisableRule Disables an event rule.
EnableRule EnableRule Enables an event rule.
UpdateRule UpdateRule Updates the configurations of an event rule.
GetRule Get event rule details Queries the details of an event rule.
ListRules ListRules Queries all rules of an event bus.

Event streams

API

Title

Description

ListEventStreamings Query event streams Queries event streams.
DeleteEventStreaming Delete an event stream Deletes an event stream.
PauseEventStreaming Pauses a running event stream Pauses a running event stream.
StartEventStreaming Enables a created or disabled event stream Enables a created or disabled event stream.
GetEventStreaming Retrieve event stream details Retrieves the details of an event stream.
UpdateEventStreaming Update an event stream Modifies the basic information, event source, event filter pattern, or event target of an event stream.
CreateEventStreaming Create an event stream Creates an event stream.

API destinations

API

Title

Description

UpdateApiDestination UpdateApiDestination Updates an API destination.
CreateApiDestination Create API destination information Creates API destination information.
CreateConnection Create connection configuration Creates a connection configuration.
DeleteApiDestination Delete an API destination Deletes an API destination.
DeleteConnection Delete the specified connection configuration Deletes the specified connection configuration.
GetApiDestination GetApiDestination Queries the information about an API destination.
GetConnection Query a single connection configuration Queries the configuration of a single connection.
ListApiDestinations ListApiDestinations Queries a list of API destinations.
ListConnections List connection configurations Retrieves a list of connection configurations.
UpdateConnection Update connection configuration information Updates connection configuration information.

Others

API

Title

Description

CreateServiceLinkedRoleForProduct Create a service-linked role based on the associated service-linked role name Creates a service-linked role based on the service-linked role name associated with a product.
ListTargets ListTargets Queries all event targets of an event rule.
TestEventPattern Test whether the event pattern matches the provided jSON-formatted event Tests whether the event pattern matches the provided JSON-formatted event.
EventCenterQueryEvents Query events in the event analysis feature Queries events in the event analysis feature.
CheckServiceLinkedRoleForProduct Check service-linked role authorization for the account Checks whether the account has service-linked role authorization.
TestEventSourceConfig TestEventSourceConfig Checks whether the event source configuration is active.
DiscoverEventSource DiscoverEventSource Discovers the schema and simple data of an event source, such as MySQL.
UpdateEventStreamingBusinessOption UpdateEventStreamingBusinessOption Querying an event stream
DeleteNamespace Delete a namespace Deletes a namespace.
UpdateNamespace Edit namespace Modify namespace
DeleteTable Delete table Delete table
ListNamespaces List namespaces Queries the list of namespaces.
ListTables List tables Query table list
CreateAgent Create a custom agent Creates a custom agent.
UpdateAgent Update a custom agent Updates a custom agent.
GetTable Query Table Get Table
ListCatalogs Query catalog list Queries the list of data catalogs.
CreateNamespace Create a namespace Creates a namespace.
GetNamespace Query namespace Get namespace
ListAgents Retrieve custom agent list Retrieves a list of custom agents.
GetAgent Retrieve agent metadata Retrieves Agent metadata.
DeleteAgent Delete a custom agent Deletes a custom agent.
GetCatalog Query a catalog Retrieves a data catalog.
UpdateTable Update table Update table
CreateTable Create a table Creates a data catalog.
PollAskResult Poll askLuma execution result Polls for the result of a natural language query.
QueryAskLumaLog Query agent invocation logs Queries the history logs of natural language queries.
AskLuma Perform semantic query for agent Performs a natural language query.
QueryEventHouse Query event warehouse data Queries event warehouse data.

Others

API

Title

Description

CreateKnowledgeBase Create a knowledge base Creates a knowledge base.
DeleteEventAnalysisJob Disable event analysis Deletes a data integration job.
DeleteEventHouseRuntime Delete an eventHouse runtime Deletes an EventHouse runtime.
DeleteKnowledgeBase Delete a knowledge base Deletes a knowledge base.
GenerateAgentDataSemantics Generate dataSemantics Initiates an agent data semantics generation task.
GetAgentDataSemantics Retrieve data semantics Retrieves the currently effective data semantics of an agent.
GetChunk Retrieve chunk details Retrieves the details of a chunk.
GetDocument Query document details Queries the details of a document.
GetDocumentDownloadUrl Retrieve document download URL Retrieves the download URL for a document.
GetEventHouseRuntime Query eventHouse runtime status and operation progress Queries the status and operation progress of an EventHouse runtime.
GetGenerateAgentDataSemanticsProgress Get data semantics generation progress Retrieves the generation progress of data semantics for an agent.
GetKnowledgeBase Query knowledge base details Queries the details of a knowledge base.
GetLumaCatalog Query details of a data catalog bound to luma Retrieves the details of a specified data catalog bound to a Luma Agent. You can only query data catalogs that are already bound to the Agent. A ResourceNotFound error is returned for unbound catalogs.
GetLumaChunk Query luma bound text chunk details Retrieves the full content of a specified text chunk from a knowledge base bound to a Luma Agent.
GetLumaDocument Query luma bound document details Retrieves the details of a specified document in the knowledge base bound to a Luma Agent.
GetLumaDocumentDownloadUrl Get download URL for a document bound to luma Retrieves a temporary download URL for a specified document in the knowledge base bound to a Luma Agent. The URL is valid for one hour by default.
GetLumaKnowledgeBase Query luma-bound knowledge base details Retrieves the details of a specified knowledge base bound to a Luma Agent, including the vector model, chunking configuration, and retrieval configuration.
GetLumaNamespace Query details of a namespace bound to luma Retrieves the details of a specified namespace bound to a Luma Agent. Only namespaces that are already bound to the Agent can be queried.
GetLumaTable Get details of a specified event table bound to a luma agent Retrieves the details of a specified event table bound to a Luma Agent, including column definitions and the data retention policy. Only event tables that are already bound to the Agent can be queried.
ListChunks List document chunks Queries a list of document chunks.
ListDocuments List documents Queries the list of documents.
ListEventHouseRuntimes List eventHouse runtimes Queries the list of EventHouse runtimes.
ListKnowledgeBases List knowledge bases Queries the list of knowledge bases.
ListLumaCatalogs List all data catalogs bound to a luma agent Lists all data catalogs bound to a Luma Agent. Returns the complete set of bindings without pagination.
ListLumaChunks List text chunks in a knowledge base bound to a luma agent Lists text chunks in a knowledge base bound to a Luma Agent, with support for filtering by document, keyword, and enabled status.
ListLumaDocuments List documents in a knowledge base bound to a luma agent Lists documents in a knowledge base bound to a Luma Agent, with support for filtering by file name prefix and processing status.
ListLumaKnowledgeBases Query knowledge bases bound to a luma agent Lists all knowledge bases bound to a Luma Agent in a specified namespace. Returns the complete set of bindings without pagination.
ListLumaNamespaces List all namespaces bound to a luma agent under a specified data catalog Lists all namespaces bound to a Luma Agent under a specified data catalog. Returns the complete set of bindings without pagination.
ListLumaTables List all event tables bound to a luma agent in a specified namespace Lists all event tables bound to a Luma Agent in a specified namespace. Returns the complete set of bindings without pagination.
PutEvents Publish one or more events Sends events to an event bus.
QueryEventHouseWithTimeRange Query eventHouse Executes a read-only SQL statement to query internal EventHouse data within a specified time range. The time range only constrains the internal EventHouse data referenced in the SQL statement and does not affect mounted external data sources. Returns a structured result set.
QueryLumaWithSQL Execute an SQL query on the eventHouse of a luma agent and return structured results Executes an SQL query directly on the EventHouse associated with a Luma Agent and returns structured results. Unlike AskLuma, this operation executes the SQL provided by the caller without natural language rewriting.
QueryWithSQL Query agentBridge using SQL statements Executes an SQL statement to query data in the event warehouse. Applicable to scenarios where the exact SQL statement is known, requiring no natural language conversion or dialog context. Returns a structured result set.
SaveAgentDataSemantics Save dataSemantics Saves data semantics for an agent.
SearchKnowledgeBase Search knowledge base Searches a knowledge base.
SearchLumaKnowledgeBase Retrieve content in a knowledge base bound to a luma agent Retrieves content in the knowledge base bound to a Luma agent and returns relevant text chunks along with their relevance scores.
UpdateEventHouseRuntime Update eventHouse runtime Updates the EventHouse runtime.
UpdateKnowledgeBase Update a knowledge base Updates a knowledge base.