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/usageAPI key with the productions scope.
Parameters
| Field | In | Type | Description |
|---|---|---|---|
workspaceId | query | uuid |
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
| Field | Type | Description |
|---|---|---|
planrequired | string | |
productionsThisMonthrequired | integer | |
pitchesThisMonthrequired | integer | |
pitchesCaprequired | integer | |
creditsChargedrequired | integer |
Example
curl https://api.raylight.app/v1/productions/usage \ -H "Authorization: Bearer $RAYLIGHT_API_KEY"