Post Analytics Detail
Retrieve metrics and checkpoint snapshots for one dopost post.
Retrieve metrics and checkpoint snapshots for one dopost post.
/api/v1/analytics/posts/:postIdReturn the latest metrics and cumulative observations for one analyzed post.
curl 'https://dopost.co/api/v1/analytics/posts/post_123' \
--header 'x-api-key: <apiKey>'curl 'https://dopost.co/api/v1/analytics/posts/post_123' \
--header 'x-api-key: <apiKey>'{
"post": {
"postId": "post_123",
"metrics": [
{
"key": "views",
"value": 920,
"unit": "count",
"aggregation": "POINT",
"availability": "available"
}
],
"collection": {
"state": "collecting",
"completedCheckpoints": 5,
"totalCheckpoints": 34
},
"snapshots": [
{
"observedAt": "2026-08-20T17:00:00.000Z",
"elapsedHours": 1,
"metrics": [
{
"key": "views",
"value": 120,
"unit": "count",
"aggregation": "POINT",
"availability": "available"
}
]
}
],
"providerLinkAvailable": true
},
"meta": {
"asOf": "2026-08-23T12:00:00.000Z",
"lastUpdatedAt": "2026-08-21T16:05:00.000Z"
}
}{
"post": {
"postId": "post_123",
"metrics": [
{
"key": "views",
"value": 920,
"unit": "count",
"aggregation": "POINT",
"availability": "available"
}
],
"collection": {
"state": "collecting",
"completedCheckpoints": 5,
"totalCheckpoints": 34
},
"snapshots": [
{
"observedAt": "2026-08-20T17:00:00.000Z",
"elapsedHours": 1,
"metrics": [
{
"key": "views",
"value": 120,
"unit": "count",
"aggregation": "POINT",
"availability": "available"
}
]
}
],
"providerLinkAvailable": true
},
"meta": {
"asOf": "2026-08-23T12:00:00.000Z",
"lastUpdatedAt": "2026-08-21T16:05:00.000Z"
}
}Snapshots show cumulative performance at each collection checkpoint.
404 the post is outside the workspace or has no available analytics; 401 invalid key; 403 missing scope or plan.