Skip to main content
POST
/
reports
/
execute
Execute a report config and return chart-ready data (labels, datasets, total)
curl --request POST \
  --url https://api.supersonic.cv/reports/execute \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "config": {
    "object_type": "<string>",
    "metric": "count",
    "chart_type": "<string>",
    "metric_field": "<string>",
    "group_by": "<string>",
    "time_bucket": "day",
    "filters": [
      {}
    ]
  }
}
'
{}

Authorizations

Authorization
string
header
required

API key: supersonic_live_...

Body

application/json
config
object
required

Report config to execute

Response

Success

The response is of type object.