turn_suggestions

Read which PostHog AI turn suggestion cards the user already resolved

get/api/projects/{project_id}/turn_suggestions/state/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/turn_suggestions/state/
  • Auth: HTTP bearer

Path parameters

project_idstring required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

Query parameters

task_idstring uuid required

ID of the PostHog AI conversation (task) to read suggestion outcomes for.

Response

mutedboolean required

Whether the user dismissed a suggestion card in this conversation, which stops further cards.

resolved_turnsinteger[] required

Zero-based indexes of the turns whose suggestion card the user already dismissed or accepted.

Changes

No recorded changes to this operation across all 1 revision of this API.