Find which plugin installed an entity.
Give entity_type and entity_ref (a row of a custom field template, workflow template, Forge function and so on): the live installation that created it, else one that reused it. origin is null when none did. Needs View Plugin Entity Origins and the right to read the entity.
| |
|---|
| Scope | plugins:read (sensitive) |
| Asynchronous | No |
| MCP tool | get_plugin_origin |
| Portal permissions | view_plugin_entity_origins |
Parameters
| Name | In | Type | Required | Description |
|---|
entity_type | query | string | Required | The plugin entity type, as a manifest names it (custom_field_template, workflow_template, forge_function ...). |
entity_ref | query | string | Required | The ID of the entity's stored row. |
Docwize-Version | header | string (date) | Optional | |
If-None-Match | header | string | Optional | Answers 304 when the representation is unchanged (resources that publish an ETag). |
Responses
Errors
The problem codes this operation can answer with. Each code links to its page.
Schemas
PluginOrigin
| Field | Type | Required | Description |
|---|
entity_ref | string | Required | |
entity_type | string | Required | |
origin | PluginOriginSource or null | Required | Null when no live installation created or reused the entity. |
PluginOriginSource
| Field | Type | Required | Description |
|---|
action | string | Required | |
entity_name | string | Required | |
entity_slug | string | Required | |
exists | boolean | Required | |
is_owned | boolean | Required | |
plugin_installation_id | string | Required | |
plugin_name | string | Required | |