API ReferenceAnalytics
Post analytics
All collected daily metric snapshots for one post, plus the latest snapshot. Metrics appear after publishing, once the collector has run.
Authorization
api-key AuthorizationBearer <token>
Workspace API key (nim_live_...)
In: header
Path Parameters
id*string
Post id
Response Body
application/json
curl -X GET "https://example.com/v1/analytics/posts/string"{ "postId": "123e4567-e89b-12d3-a456-426614174000", "metrics": [ { "date": "2026-07-01T00:00:00.000Z", "likes": 214, "comments": 32, "shares": 11, "saves": 40, "impressions": 9120, "reach": 7020, "clicks": 130, "engagement": 3.8 } ], "latest": { "date": "2026-07-01T00:00:00.000Z", "likes": 214, "comments": 32, "shares": 11, "saves": 40, "impressions": 9120, "reach": 7020, "clicks": 130, "engagement": 3.8 }}Empty