Action contains actions that can be invoked from a trigger.

This datatype is used by the addActionLabels(), createActionFromTemplate(), and removeActionLabels() mutation fields.

This datatype is also used by two other datatypes: ActionEntry, which is used by the datatype, SearchResult, which in turn is used both the entitiesSearch() and entitiesPage() query fields; and by the datatype, CreateActionFromPackageTemplateMutation, which is used by the createActionFromPackageTemplate() mutation field.

Additionally, this datatype is used by Alert, Repository, and other main dataypes, which are used by several mutation and query fields.

Table: Action

ParameterTypeRequiredDefaultStabilityDescription
Some arguments may be required, as indicated in the Required column. For return datatypes, this indicates that you must specify which fields you want returned in the results.
Table last updated: Sep 30, 2025
allowedActions[AssetAction]yes Short-TermA list of allowed asset actions. See AssetAction.
createdInfoAssetCommitMetadata  Long-TermMetadata related to the creation of the action. See AssetCommitMetadata.
displayNamestringyes Long-TermThe display name of the action.
idstringyes Long-TermThe unique identifier of the action.
isAllowedToRunbooleanyes Long-TermWhether the action is allowed to run. Should be false if this type of action is disabled because of a security policy.
labels[string]yes PreviewLabels attached to the action.
modifiedInfoAssetCommitMetadata  Long-TermMetadata related to the latest modification of the action. See AssetCommitMetadata.
namestringyes Long-TermThe name of the action.
packagePackageInstallation  Long-TermThe package, if any, of which the action is part. See PackageInstallation.
packageIdVersionedPackageSpecifier  Long-TermThe unique identifier of the package. See VersionedPackageSpecifier.
requiresOrganizationOwnedQueriesPermissionToEditbooleanyes Long-TermThis should be set to true if this action is used by triggers, where the query is run by the organization. If true, then the OrganizationOwnedQueries permission is required to edit the action.
resourcestringyes Short-TermThe resource identifier for the action.
yamlTemplateYAMLyes Long-TermA template that can be used to recreate the action. YAML is a scalar.