Skip to main content
POST
/
workspaces
/
{uid}
/
usage
Get a workspace usage
curl --request POST \
  --url https://eu-cloudflare.vg-stuff.com/workspaces/{uid}/usage \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "uiTimeRange": "<unknown>",
  "range": {
    "start": 123,
    "end": 123
  },
  "logsPage": 123
}
'
{}

Example Request

{
  "range": {
    "start": 1700000000000,
    "end": 1700086400000
  },
  "logsPage": 1
}
Timestamps should be in Unix milliseconds format. Use range to specify custom date ranges.
Monitor your workspace usage to track costs, message volumes, and API consumption over time.

Authorizations

Authorization
string
header
required

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

Path Parameters

uid
string
required

Body

application/json
uiTimeRange
any
range
object
logsPage
number

Response

Successful response

{key}
any