---
title: Get User Scopes
description: Retrieves all accessible scopes for the authenticated user, such as personal workspaces or shared teams.
docs_index: /docs/llms.txt
lastUpdated: 2026-12-02
product: v0 API
type: reference
prerequisites:
  - /docs/api/v1/quickstart
---

> For an index of all documentation, see [/docs/llms.txt](/docs/llms.txt).

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

#### `GET /v1/user/scopes`

## Usage

```typescript
import { v0 } from 'v0-sdk'

const result = await v0.user.getScopes()

console.log(result)
```

```bash
curl -X GET https://api.v0.dev/v1/user/scopes   -H "Authorization: Bearer $V0_API_KEY"   -H "Content-Type: application/json"
```

### Response

- `object: 'list'`
- `data: object[]`
  - `item: object`
    - `id?: string` A unique identifier for the scope (e.g., user or team workspace).
    - `object?: 'scope'` Fixed value identifying this object as a scope.
    - `name?: string` An optional human-readable name for the scope.

---

For a semantic overview of all documentation, see [/docs/sitemap.md](/docs/sitemap.md)

For an index of all available documentation, see [/docs/llms.txt](/docs/llms.txt)

For agent-facing discovery, including API and MCP surfaces, see [/docs/agents.md](/docs/agents.md)