Surveys

Read bounded PostHog survey statistics

Reads bounded aggregate statistics for one survey. Prefer this aggregate surface for recurring review; configured provider state still does not prove where application source rendered a survey.

get/v1/projects/{project_id}/surveys/{survey_id}/stats

Request

  • Base URL: https://api.agentry.sh
  • URL: https://api.agentry.sh/v1/projects/{project_id}/surveys/{survey_id}/stats
  • Auth: HTTP bearer

Path parameters

project_idstring required
survey_idstring required

PostHog provider resource identifier. Agentry uses it only for this bounded read.

Query parameters

date_fromstring date-time

Optional aggregate-window start.

date_tostring date-time

Optional aggregate-window end; must not precede date_from.

include_per_question_statsboolean

Whether to request bounded per-question aggregates.

Response

OK

next_actionstring required

Changes

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