Skip to main content

Overview

Kinetica provides a direct JSON egress service to allow records to be retrieved as raw JSON from the database. Several options can be used to identify & filter the data being requested. There is also limited support for aggregation. JSON objects will be returned as an array:
Single or Multiple Records
For examples, see Examples or JSON Egress Snippets.

Usage

The base JSON egress endpoint URL is:
Authentication credentials should be passed with the request. Endpoint-specific options can be passed as request parameters, as well.

Parameters

Examples

Below are templates of requesting table data as JSON, via the /get/records/json REST endpoint:
Endpoint-specific options can be passed as URL-encoded data parameters instead of being appended to the URL:
Requests containing aggregation functions are also supported:

Responses

The endpoint calls will respond with one of two message formats, one for successes and one for failures:
An example of each of these is as follows: