/api/action

POST /api/action/{id}/execute

Changed on

Execute the Action.

parameters should be the mapped dashboard parameters with values.

post/api/action/{id}/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

Path parameters

integer required

Valid Action ID

OR
string required

String must be a valid 21-character NanoID string.

Request body

parametersMetabaseActionsSchemaExecuteParameterValues

value must map parameter ids to scalar values.

Response

Successful response

Changes

    • breaking

      removed subschema #1 subschema #2 from the request body oneOf list

    • info

      added subschema #1 subschema #2 to the request body anyOf list

    • info

      for the path request parameter id, the type was generalized from integer to no type

    • info

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