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
| Parameter | Type | Required | Description |
|---|---|---|---|
startDate | string | No | ISO 8601 date to filter from |
endDate | string | No | ISO 8601 date to filter until |
service | string | No | Filter 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
| Parameter | Type | Required | Description |
|---|---|---|---|
startDate | string | No | ISO 8601 date to filter from |
endDate | string | No | ISO 8601 date to filter until |
service | string | No | Filter 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_..."