Start or stop the analysis of who likes and comments on the user's
recent LinkedIn posts (the Audience tab of the Statistics page).
- `refresh`: start a new analysis. It runs in the background (usually
2 to 4 minutes) and collects the engagers of the recent posts, so
ask the user first. `status='started'`: read
`get_insights(view="audience")` later, `analysis.state` turns
`ready`. `status='already_fresh'`: the audience was analysed less
than 7 days ago with enough data, nothing was re-scanned.
`error_type='already_running'` (409): an analysis is in progress, do
not retry, read the audience view later.
- `stop`: stop the running analysis and keep what it gathered so far. It also
ends the completion of profiles that may still be running.
`error_type='not_running'` (409) when nothing runs.
`force` (skip the 7-day freshness rule) is reserved to MagicPost
administrators. Call once: never in a loop.
Connector
Destructive
OAuth