--- title: SdkActionDefinition layout: docs-api redirect_from: - /docs/latest/embedding/api/SdkActionDefinition --- SdkActionDefinition | Embedded analytics SDK API{% include docs/embedded-analytics-sdk-metadata.html %}
Embedded analytics SDK API
    Preparing search index...

    Type Alias SdkActionDefinition

    How a data app names an action: the defineAction export, which is what a data app must pass. copiedActionId addresses the copy synchronization made in the app's own collection — the only one its viewers can read. The dev preview runs action instead, so an app works before its first synchronization.

    type SdkActionDefinition = {
        action: { id: SdkActionId };
        copiedActionId?: number;
    }
    Index

    Properties

    action: { id: SdkActionId }
    copiedActionId?: number