data_modeling_usage
get/api/projects/{project_id}/data_modeling_usage/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/data_modeling_usage/
  • 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

daysinteger

Number of complete UTC days, up to 90.

pageinteger

Model breakdown page, starting at 1.

page_sizeinteger

Models per page, up to 100.

Response

date_fromstring date required

Inclusive UTC start date.

date_tostring date required

Exclusive UTC end date. Today's incomplete usage is excluded.

countinteger required

Total number of models in the breakdown.

usage_updated_atstring date-time nullable required

Latest usage collection timestamp in this range.

Changes