/api/ee/action-v2

POST /api/ee/action-v2/execute

Changed on

Execute an action with a single input.

Takes:

  • action - an identifier or an expression for what we want to execute.
  • scope - where the action is being invoked from.
  • input - a single map. currently these are typically a database table row pk, or query result.
  • params (optional) - a map of values for the parameters taken by the action's mapping.

The input and params are used by the relevant mapping to calculate a map argument to the underlying action fn. If there is no mapping, params are simply used as overrides for input.

Returns the outputs from the performed action.

post/api/ee/action-v2/execute

Request

  • Base URL
    (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    API key in header X-API-Key

Request body

inputMetabaseEnterpriseActionV2ApiActionValueMap

Value must be a map.

paramsMetabaseEnterpriseActionV2ApiActionValueMap

Value must be a map.

Response

Successful response

Changes

    • breaking

      removed subschema #1 subschema #2 subschema #3 subschema #4 subschema #5 subschema #6 subschema #7 from the request property anyOf list

    • breaking

      the request property type changed from no type to object

    • info

      added the new optional request property /

    • info

      added the new optional request property /

    • info

      added the new optional request property /

    • info

      added the new optional request property /

    • info

      added the new optional request property /

    • info

      added the new optional request property /

    • info

      added the new optional request property /

    • info

      added the new optional request property /

    • info

      added the new optional request property /

    • info

      added the new optional request property /

    • info

      api operation id post-api-ee-action-v2-execute was added