Get project usage data – Management API – MediaKind

Get project usage data

get https://app.mk.io/api/v1/projects/:project_name/usage

Get usage data since the start of the month for a specified project.

RBAC Capability Required: core.project.get

Authentication

Authorization Bearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

project_name string Required

Response

200 OK

supplemental object ProjectUsageReportSupplementalData Required

Metadata pertaining to the query.

Show 4 properties Hide 4 properties

valuelist of objects ProjectUsageReportMeterData Required

The usage data per day per meter

Show 5 properties Hide 5 properties

Errors

400 Bad Request

error object ErrorDetail Required

Pertinent information about the error

Show 3 properties Hide 3 properties

401 Unauthorized

error object ErrorDetail Required

Pertinent information about the error

Show 3 properties Hide 3 properties

403 Forbidden

error object ErrorDetail Required

Pertinent information about the error

Show 3 properties Hide 3 properties

404 Not Found

error object ErrorDetail Required

Pertinent information about the error

Show 3 properties Hide 3 properties

429 Too Many Requests

error object ErrorDetail Required

Pertinent information about the error

Show 3 properties Hide 3 properties

500 Internal Server Error

error object ErrorDetail Required

Pertinent information about the error

Show 3 properties Hide 3 properties