Skip to main content
GET
/
account
/
usage
/
series
Get account usage series
curl --request GET \
  --url https://api.veryfront.com/account/usage/series \
  --header 'Authorization: Bearer <token>'
{
  "metric": "credits",
  "label": "<string>",
  "unit": "<string>",
  "summary": {
    "value": 123
  },
  "timeframe": {
    "from": "<string>",
    "to": "<string>",
    "granularity": "day",
    "timezone": "<string>",
    "bucket_count": 123
  },
  "series": [
    {
      "bucket_start": "<string>",
      "value": 123,
      "projects": [
        {
          "project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "project_name": "<string>",
          "project_slug": "<string>",
          "value": 123
        }
      ]
    }
  ],
  "projects": [
    {
      "project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "project_name": "<string>",
      "project_slug": "<string>",
      "value": 123
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://veryfront.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Use a JWT bearer token or a Veryfront API key in the Authorization header.

Query Parameters

metric
enum<string>
default:credits

Usage metric to chart.

Available options:
credits,
storage,
bandwidth,
api_calls
preset
enum<string>
default:30d

Relative timeframe preset.

Available options:
7d,
30d,
90d
timezone
string
default:UTC

IANA timezone for daily bucket boundaries.

Response

Account usage series statistics

metric
enum<string>
required

Usage metric represented by this series.

Available options:
credits,
storage,
bandwidth,
api_calls
label
string
required

Human-readable metric label.

unit
string
required

Unit used by values, such as credits, calls, or bytes.

summary
object
required
timeframe
object
required
series
object[]
required
projects
object[]
required