RaylightAPI

Productions

This month's usage and pitch cap

This month's usage and pitch cap. GET /v1/productions/usage in the Raylight API.

GET/v1/productions/usage

API key with the productions scope.

Parameters

FieldInTypeDescription
workspaceIdqueryuuid

Responses

200Counts and caps for the calendar month.
400Invalid request.
401Missing, invalid or revoked key.
403The key lacks the scope, or the key's owner has view-only access to the workspace (code forbidden).
404Not found.
429Rate limited, or a monthly cap reached.

200 response body

FieldTypeDescription
planrequiredstring
productionsThisMonthrequiredinteger
pitchesThisMonthrequiredinteger
pitchesCaprequiredinteger
creditsChargedrequiredinteger

Example

curl
curl https://api.raylight.app/v1/productions/usage \  -H "Authorization: Bearer $RAYLIGHT_API_KEY"