Get Entity Metrics

Retrieves daily metrics for a specific entity (e.g., primary, competitor). Data can be aggregated by query, topic, or platform. Supports filtering by date range (up to 1 month), region, and platform. Also supports pagination and sorting.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Defaults to primary

The ID of the entity to retrieve metrics for. This is a unique identifier for an entity. Use the special keyword 'primary' to retrieve metrics for the project's primary entity.

Query Params
string
required

The ID of the Project to retrieve metrics for.

string
enum

The dimension to group the metrics by. If not provided, returns metrics aggregated by date.

Allowed:
string
enum
Defaults to daily

The time interval for aggregation. 'daily' returns metrics for each day in the date range. 'selectedDateRange' returns a single aggregated metric for the entire date range.

Allowed:
string

The region code to filter data (e.g., 'US' for United States). If not provided, returns data for all regions.

string

The platform to filter data (e.g., 'openai:chatgpt' for ChatGPT). If not provided, returns data for all platforms. It supports multiple values with comma-separated values e.g. "openai:chatgpt,google:ai-overview".

string

Filters queries by metadata key-value pairs. Format: '{"key1": ["value1", "value2"], "key2": ["value3"]}'

string
enum
required

The date range for the data. Use 'custom' for specific dates.

Allowed:
date-time

Start date for custom date range (YYYY-MM-DDTHH:mm:ssZ). Required if dateRange is 'custom'.

date-time

End date for custom date range (YYYY-MM-DDTHH:mm:ssZ). Required if dateRange is 'custom'.

integer
1 to 500
Defaults to 10

The number of records to return per page. Defaults to 10.

string

A token identifying the starting point for the next page of results. Use an empty string for the first page.

Response

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json