v0 Platform API/API Reference/User

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/v1/user/billing

Usage

TypeScript Example
import { v0 } from 'v0-sdk'

const result = await v0.user.getBilling()

console.log(result)

API Signature

Request

Query Parameters

scope?: string

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

Response

billingType?: 'legacy'
data?: object
remaining?: number
reset?: number
limit: number