/api/ee/action-v2

POST /api/ee/action-v2/execute-bulk

Changed on

Execute an action with multiple inputs.

This is typically more efficient than calling execute with each input individually, for example by performing batch SQL operations.

Takes:

  • action - an identifier or an expression for what we want to execute.
  • scope - where the action is being invoked from.
  • inputs - a list of maps. 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 inputs and params are used by the relevant mapping to calculate a list of args for the underlying action fn. If there is no mapping, params are simply used as overrides for each map within inputs.

Returns the outputs from the performed action.

post/api/ee/action-v2/execute-bulk

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

inputsMetabaseEnterpriseActionV2ApiActionValueMap[] required
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-bulk was added