Core
Framework v2.x
2

ResponsePayload #

The ResponsePayload type represents an API response sent by Kuzzle in JSON format.

This type is returned by the SDK query method.

See the API Response Format documentation.

Example:

Copied to clipboard!
import { ResponsePayload } from 'kuzzle';

const response: ResponsePayload = await app.sdk.query(/* ... */)