Get workspace usage
Changed onCreative Units balance plus total and per-day consumption over the last days days.
Request
- Base URL: https://api.app.layer.ai/api
- URL: https://api.app.layer.ai/api/v1/workspaces/{workspace_id}/usage
- Auth: one of:
- HTTP bearer
- OAuth 2 (authorization code, authorization URL https://auth.app.layer.ai/authorize, token URL https://auth.app.layer.ai/oauth/token)
- OAuth 2 (client credentials, token URL https://api.app.layer.ai/api/oauth/token, scopes: billing:read)
Path parameters
Id of the workspace that owns the resource.
Query parameters
How many days back to report.
Response
Successful Response
Changes
- info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- info
- info
the endpoint scheme security
serviceAccountwas added to the API - info
the security scope
billing:readwas removed from the endpoint's security schemeoauth2
- info