API - Query Builder

https://systemsx.co.uk/products/sense

Production API URL:

The API is focused towards POST requests however these can be GET requests also.

Ensure you are using x-www-form-urlencoded or json when sending requests.

Query a table

POST https://api.sense-ai.co.uk/v4/{tableName?}

Leave table empty to view all available tables and columns for selection.

Body

Name
Type
Description

api_key

string (required)

API Key for account

per_page

number

Default: 20, Max: 100

page

number

Default: 1

type

string

first (One) or get (Many - Default)

select

array (required)

Array of columns to select

conditions

array

Array of conditions (see below)

Conditions

Conditions are how a query is built, for example a list of Calls made, but only ones that have a duration above 60 seconds would be;

Conditions are provided as an array allowing you to apply multiple conditions to a query.

Operators Supported: (=, !=, >, >=, <, <=)

Example Request

Within this request are are selecting the uuid, agent_id and duration of calls within call_history and returning only calls where the duration is ≥ (greater or equal to) 60 seconds

Example GET request:

Example POST request:

Data Understanding

Table
Column
Details

call_history

has_transcript

2 = Completed 30 = No Metrics

Data Recommendations

Type
Description

Calls

We always recommend using call_history for polling calls and using uuid to pair with the uuid within call_transcripts

Last updated