Skip to main content
GET
/
analytics
/
vendor-usage
Get usage statistics for a specific vendor
curl --request GET \
  --url http://localhost:8080/api/v1/analytics/vendor-usage \
  --header 'Authorization: <api-key>'
{
  "data": [
    123
  ],
  "labels": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

Query Parameters

start_date
string
required

Start date (YYYY-MM-DD)

end_date
string
required

End date (YYYY-MM-DD)

vendor
string
required

Vendor Name

Response

OK

data
number[]
labels
string[]