/api/card

GET /api/card/{id}

Changed on

Get Card with ID.

As of v57, returns the MBQL query (dataset_query) as MBQL 5; to return the query as MBQL 4 (aka legacy MBQL) instead, you can specify ?legacy-mbql=true.

get/api/card/{id}

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

value must be an integer greater than zero.

OR
string required

String must be a valid 21-character NanoID string.

Query parameters

legacy-mbqlboolean nullable

Request body

object required

Response

Successful response

Changes