Actions50
- Authorization Actions
- Entity Actions
- Create Entity
- Create Media Entity From File Data
- Delete Entity
- Export Layout Entity
- Get Entities
- Get Entity
- Get Entity Derivative File
- Get Entity File
- Get Entity File Derivatives
- Get Entity File Metadata
- Get Entity History
- Get Entity Preview File
- Get Layout Entity Export Info
- Get Media Entity Cropped File
- Patch Entity
- Suggest Media Entity Payload From Entity File
- Suggest Media Entity Payload From File Data
- Update Entity
- Update Media Entity From File Data
- Upload File
- Entity Localization Actions
- Entity Type Actions
- GraphQL Actions
- Locale Actions
- Response Actions
- Setting Actions
- Share Link Actions
- Workflow Actions
Entity → Suggest Media Entity Payload From Entity File
AI-generatedSummary
Suggests a media entity payload using a file already attached to an entity, so you can use the returned payload when creating or updating a media entity.
Inputs
- Entity Type Name or ID (required) — Entity type containing the source entity.
- Entity ID (required) — ID of the entity that holds the file.
- File ID (required) — ID of the file to use for the media payload suggestion.
Output shape
A single record containing the suggested media entity payload.
The source pack exposes the operation's dispatch and helper names but omits their implementation, so the exact response fields and any additional effects are not shown.
Examples
Example 1: Use a file attached to an entity to prepare a media entity payload.
Provide the entity type, entity ID, and file ID.