GET
https://api.main.apexscore.ai
/
api
/
v1
/
reports
/
{id}
/
entry_data
curl --request GET \
  --url https://api.main.apexscore.ai/api/v1/reports/{id}/entry_data/ \
  --header 'Authorization: Bearer <token>'
[
  {
    "group_value": "<string>",
    "aggregated_value": 123
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

A UUID string identifying this report.

Query Parameters

aggregation_type
enum<string>
required

The type of aggregation to perform on the field. Any fields that are STR values only support count.

Available options:
average,
count,
max,
min,
sum
configuration_id
string

Optional configuration id to retrieve. If not provided, the primary configuration will be used.

fieldname
string
required

The field name to aggregate on. Ex: Gender, Occupation, involved, ...

group_results
boolean
default:false

Whether to group the results or not.

Response

200 - application/json

The response is of type object[].