API ReferenceAnalytics
List analytics summaries
One compact row per account in the space — never merged — so a caller can see each account's collection health before drilling into one of them. Defaults to the last 7 days in the space timezone.
Authorization
http AuthorizationBearer <token>
In: header
Path Parameters
space*integer
The space ID
Query Parameters
from?string
Format
date-timeto?string
Format
date-timeResponse Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://zilfu.app/api/spaces/0/analytics"{
"data": [
{
"account": {
"id": 0,
"social": "string",
"display_name": "string",
"handler": "string",
"avatar": "string",
"disconnected_at": "string"
},
"collection": {
"state": "string",
"reason": "string",
"remedy": "string",
"last_collected_at": "string",
"cadence_hours": 0,
"polling_window_days": 0
},
"headline_metric": "string",
"totals": [
{
"key": "string",
"label": "string",
"unit": "string",
"value": 0,
"previous": 0,
"change_pct": 0,
"change_unit": "string",
"status": "string",
"reason": "string",
"remedy": "string"
}
],
"interactions": {
"key": "string",
"label": "string",
"definition": "string",
"native": true,
"source": "string",
"components": [
"string"
],
"value": 0,
"previous": 0,
"change_pct": 0,
"change_unit": "string",
"status": "string",
"reason": "string",
"remedy": "string"
},
"rates": [
{
"key": "string",
"label": "string",
"definition": "string",
"numerator_key": "string",
"denominator_key": "string",
"denominator_label": "string",
"denominator_unit": "string",
"basis": "string",
"value": 0,
"per_post_mean": 0,
"previous": 0,
"change_pp": 0,
"change_unit": "string",
"status": "string",
"reason": "string",
"remedy": "string"
}
],
"coverage": {
"posts_in_range": 0,
"posts_imported": 0,
"days_in_range": 0,
"days_with_posts": 0
}
}
]
}{
"message": "string"
}{
"message": "string"
}{
"message": "string"
}{
"message": "string",
"errors": {
"property1": [
"string"
],
"property2": [
"string"
]
}
}