Get Billing

Fetches billing usage and quota information for the authenticated user. Can be scoped to a specific context (e.g. project or namespace).

GET /user/billing
import { v0 } from 'v0-sdk'

const result = await v0.user.getBilling()

console.log(result)
GET /user/billing
curl -X GET https://api.v0.dev/user/billing \
  -H "Authorization: Bearer $V0_API_KEY" \
  -H "Content-Type: application/json"

Parameters

Query Parameters

scope string

Filters billing data by a specific scope, such as a project ID or slug.


Response

Response Body

billingType string


data object

remaining number


reset number


limit number Required