Force time grouping into buckets of the specified duration. Only has an effect if "time" is in the "dimensions" list. The granularity of the result may be coarser than requested. The finest allowed granularity depends on the query's time range: data farther in the past may have coarser granularity. The exact result granularity will be reported in the response `meta.granularity_ms` field. If granularity is not specified and "time" is in the dimensions list, a default will be chosen based on the time range requested. Different relative times support different granularities: - 15m => tenSecondly, thirtySecondly, minutely - 1h => tenSecondly, thirtySecondly, minutely, fiveMinutely, tenMinutely - 6h => thirtySecondly, minutely, fiveMinutely, tenMinutely, thirtyMinutely, hourly - 12h => minutely, fiveMinutely, tenMinutely, thirtyMinutely, hourly - 24h => fiveMinutely, tenMinutely, thirtyMinutely, hourly - 7d => thirtyMinutely, hourly, twoHourly, twelveHourly, daily - 30d => hourly, twoHourly, twelveHourly, daily, weekly For special time ranges: - current_week, previous_week => thirtyMinutely, hourly, twoHourly, twelveHourly, daily - current_month, previous_month => hourly, twoHourly, twelveHourly, daily, weekly For absolute time ranges, daily will be used.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/Granularity",
"title": "Granularity",
"description": "Force time grouping into buckets of the specified duration. Only has an effect if \"time\" is in the \"dimensions\" list.\n\nThe granularity of the result may be coarser than requested. The finest allowed granularity depends on the query's time range: data farther in the past may have coarser granularity. The exact result granularity will be reported in the response `meta.granularity_ms` field.\n\nIf granularity is not specified and \"time\" is in the dimensions list, a default will be chosen based on the time range requested.\n\nDifferent relative times support different granularities:\n\n\n - 15m => tenSecondly, thirtySecondly, minutely\n - 1h => tenSecondly, thirtySecondly, minutely, fiveMinutely, tenMinutely\n - 6h => thirtySecondly, minutely, fiveMinutely, tenMinutely, thirtyMinutely, hourly\n - 12h => minutely, fiveMinutely, tenMinutely, thirtyMinutely, hourly\n - 24h => fiveMinutely, tenMinutely, thirtyMinutely, hourly\n - 7d => thirtyMinutely, hourly, twoHourly, twelveHourly, daily\n - 30d => hourly, twoHourly, twelveHourly, daily, weekly\n\nFor special time ranges:\n\n\n - current_week, previous_week => thirtyMinutely, hourly, twoHourly, twelveHourly, daily\n - current_month, previous_month => hourly, twoHourly, twelveHourly, daily, weekly\n\nFor absolute time ranges, daily will be used.\n",
"type": "string",
"enum": [
"tenSecondly",
"thirtySecondly",
"minutely",
"fiveMinutely",
"tenMinutely",
"thirtyMinutely",
"hourly",
"twoHourly",
"twelveHourly",
"daily",
"weekly"
],
"x-speakeasy-unknown-values": "allow"
}
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.