/api/public

GET /api/public/oembed

Changed on

oEmbed endpoint used to retrieve embed code and metadata for a (public) Metabase URL.

get/api/public/oembed

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

Query parameters

urlstring required

value must be a non-blank string.

format'json' nullable

The format param is not used by the API, but is required as part of the oEmbed spec: http://oembed.com/#section2 just return an error if format is specified and it's anything other than json.

maxheightinteger
maxwidthinteger

Response

Successful response

Changes