Empathy Stats API V2 - Reports - Next Queries

Empathy Stats API V2 - Reports - Next Queries

Currently Not Available



This report returns all the relevant tuples, (q1, q2) in a given date interval and with a minimal specified appearance (times appearing in a session).

Report ID: NextQueries

Input parameters (see common parameters)

Parameter name

Type

Required

Description

Default

Parameter name

Type

Required

Description

Default

min_sessions

int

Minimum sessions required to return each result

1

offset

int

The number of results to omit (from the start of the result set)

0

rows

int

Number of results to return

50

evol

bool

Calculate the evolution for some fields in the response

False

Responses

200 - successful information retrieve

Type: application/json
Example response
{ "data": [ { "query": "prueba", "next_query": "prueba1", "session_count": 3, "user_count": 1 }, { "query": "prueba1", "next_query": "prueba2", "session_count": 1, "user_count": 1 }, { "query": "prueba2", "next_query": "prueba3", "session_count": 1, "user_count": 1 }, { "query": "prueba3", "next_query": "prueba4", "session_count": 1, "user_count": 1 }, { "query": "prueba4", "next_query": "prueba5", "session_count": 1, "user_count": 1 }, { "query": "prueba5", "next_query": "prueba6", "session_count": 1, "user_count": 1 }, { "query": "prueba6", "next_query": "prueba7", "session_count": 1, "user_count": 1 }, { "query": "prueba7", "next_query": "prueba8", "session_count": 1, "user_count": 1 } ], "params": { "site_id": "sample", "start_date": 1519862400000, "end_date": 1525132800000, "filters": [], "offset": 0, "rows": 50, "evol": false, "min_sessions": 1 } }

Notes: results are ordered by session_count