Admin Statistics

Platform-wide statistics and usage analytics for internal management.

Internal management API. These endpoints are authenticated via TutorFlow admin auth, not via Platform API keys.

GET /v1/platform/admin/stats

Get platform-wide aggregated statistics.

Query Parameters

ParameterTypeRequiredDescription
startDatestringNoISO 8601 date to filter from
endDatestringNoISO 8601 date to filter until
servicestringNoFilter by service (e.g., evaluation, course_creation)

Example Request

curl "https://api.tutorflow.io/v1/platform/admin/stats?startDate=2025-01-01&endDate=2025-01-31" \
  -H "Authorization: Bearer tf_platform_..."

GET /v1/platform/admin/stats/daily

Get daily usage breakdown for the platform.

Query Parameters

ParameterTypeRequiredDescription
startDatestringNoISO 8601 date to filter from
endDatestringNoISO 8601 date to filter until
servicestringNoFilter by service

Example Request

curl "https://api.tutorflow.io/v1/platform/admin/stats/daily?startDate=2025-01-01&endDate=2025-01-31" \
  -H "Authorization: Bearer tf_platform_..."

GET /v1/platform/admin/stats/organizations

Get usage statistics ranked by organization. Returns organizations sorted by usage volume.

Example Request

curl https://api.tutorflow.io/v1/platform/admin/stats/organizations \
  -H "Authorization: Bearer tf_platform_..."