/api/dashboard

POST /api/dashboard/{dashboard-id}/dashcard/{dashcard-id}/execute/values

Changed on

Fetches the values for filling in execution parameters. Pass PK parameters and values to select.

Parameters are sent in the request body rather than the query string so their values stay out of URLs and logs.

post/api/dashboard/{dashboard-id}/dashcard/{dashcard-id}/execute/values

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

dashboard-idinteger required

value must be an integer greater than zero.

dashcard-idinteger required

value must be an integer greater than zero.

Request body

parametersMetabaseActionsSchemaPrefetchParameterValues

value must be a JSON object mapping parameter ids to scalar values.

Response

Successful response

object required

Changes