Skip to Content
PredictorSDK

A new layout for the API reference, with the playground in a dialog

Each API reference page opens its playground in a dialog, shows the example request and response in cards, and opens nested response fields as cards with breadcrumbs.

New

The API reference pages have a new layout. Try in Playground, beside each endpoint, opens the request in a dialog: fill in the parameters and your API key, send it with the button or Cmd/Ctrl + Enter, and read the response with its status, time and headers, next to the same request written in any of seven languages.

The example request and response sit in titled cards: pick the language of the request, the status of the response and, where an endpoint has several, the example. The Schema switch shows the JSON Schema of the example response. Nested fields of a response open as cards with breadcrumbs, and a filter finds a field by name.

The pages also load less code: syntax highlighting now fetches only the languages the examples use. No endpoint, parameter or field changed.