Method: projects.locations.metadataStores.executions.addExecutionEvents

Adds events to the specified Execution. An Event indicates whether an Artifact was used as an input or output for an Execution. If an Event already exists between the Execution and the Artifact, the Event is skipped.

HTTP request

POST https://{service-endpoint}/v1/{execution}:addExecutionEvents

Where {service-endpoint} is one of the supported service endpoints.

Path parameters



Required. The resource name of the Execution that the events connect Artifacts with. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}

Request body

The request body contains data with the following structure:

JSON representation
  "events": [
      object (Event)

object (Event)

The events to create and add.

Response body

If successful, the response body is empty.

Authorization scopes

Requires the following OAuth scope:


For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the execution resource:

  • aiplatform.executions.addExecutionEvents

For more information, see the IAM documentation.