Skip to content
StudyFetch API

Usage Tracking

Get usage statistics

OpenAPI specification
GET/api/v1/usage/stats

Authentication

x-api-key

Request

curl --globoff --request GET \
  --url 'https://api.example.com/api/v1/usage/stats' \
  --header 'x-api-key: <API_KEY>'

Replace credential and <field> placeholders with your own values. URL placeholders appear as %3Cfield%3E. Review the example values before sending your request.

Replace https://api.example.com with the API server URL.

Parameters

startDatequery · string

Start date for stats (ISO 8601)

endDatequery · string

End date for stats (ISO 8601)

userIdquery · string

Filter by user ID

groupIdquery · string

Filter by group ID

componentTypequery · string

Filter by component type

resourceIdquery · string

Filter by resource ID (component ID)

Responses

200Usage statistics retrieved