Analytics
Analytics — queue sync for post
Queue background jobs to refresh analytics for a post’s published platform rows
POST
Queue analytics sync
Triggers the same logic asPost::syncAnalytics() in the app: for each published platform row that has platform_post_id, post_id, and account_id, a job is dispatched to fetch the latest insights from the network.
Not immediate: responses describe how many jobs were queued. Poll GET /analytics/posts/{post} (or the dashboard) after the queue workers finish.
Eligibility
- If the post owner does not have an active, trialing, or grace-period subscription, the request still returns 200 with
skipped: true,jobs_dispatched: 0, andskip_reason: "post_owner_subscription_inactive". - You must belong to the post’s workspace (same access rules as reading analytics).
Request
Post id (same as in
/posts/{id}).Response
Post id from the path
Number of insight fetch jobs queued (one per eligible published platform row)
true when no jobs were queued because of subscription rules on the post ownerpost_owner_subscription_inactive when skipped; otherwise nullPermissions
Requires theposts ability.
Errors
401 · 403 · 404 if the post is missing or not in a workspace you can access
See also: Analytics overview.