Get User Scopes

Retrieves all accessible scopes for the authenticated user, such as personal workspaces or shared teams.

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

const result = await v0.user.getScopes()

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

Response

Response Body

object string Required


data any[] Required

Array items: string