Recommendations

The same recommendation runs that power the in-app Recommendations page, plus the endpoint that launches a new one.

GET/recommendations

Lists recommendation runs for a project with type/status filters.

Params:
  • project_idrequired
  • recommendation_typeai_visibility|social_community|brand_building|sentiment_reputation
  • statuspending|processing|completed|failed
  • page
  • per_page

Invalid enum values return ERR_INVALID_PARAM.

GET/recommendations/:id

One recommendation run with its items and report data: items array with title, priority, action steps, metadata, source references, plus item counts grouped by active, completed, archived.

Params:
  • project_idrequired
  • :idin URL
  • item_statusactive|completed|archived
  • resolve_source_refsdefault true

POST/recommendations

Launch a new generation (same engine as the in-app Recommendations page). Runs async (1-3 minutes); poll GET /recommendations/:id until status is completed. Consumes the project weekly recommendation-item budget (ERR_LIMIT_REACHED when exhausted, or when a run of the same type is already pending). sentiment_reputation requires Scale or above. Requires a writable API key.

Body (JSON):
  • project_idrequired
  • recommendation_typeai_visibility default | social_community | brand_building | sentiment_reputation