---
title: "Get user's Dropbox storage/quota"
method: GET
path: "/api/v1/dropbox/stats"
---

# Get user's Dropbox storage/quota

`GET /api/v1/dropbox/stats`

## Request

- Base URL: `https://localhost:3000`
- URL: `https://localhost:3000/api/v1/dropbox/stats`
- Auth: OAuth 2 (authorization code, authorization URL `/oauth/authorize`, token URL `/oauth/token`)

AUTHORITATIVE source for the user's CURRENT Dropbox storage usage. Returns LIVE data: total quota, used space, remaining space. Call this whenever user asks about 'my Dropbox size', 'my Dropbox storage', 'Dropbox quota'. **NOTE:** If you get a 503 error, the user needs to authenticate with Dropbox at /oauth/dropbox/authorize first.

## Response `200`

LIVE storage stats from user's Dropbox

- DropboxStatsResponse
  - `user` string: User email or ID
  - `storage` object
    - `allocated` integer: Total storage quota in bytes
    - `used` integer: Storage used in bytes
    - `available` integer: Storage available in bytes
  - `_meta` object
    - `source` string
    - `authoritative` boolean

## Other responses

- `401`: Authentication required
- `500`: Internal server error
- `503`: Dropbox not authenticated. User must authenticate at /oauth/dropbox/authorize

---

[API](https://skmtc.dev/corpusiq/apis/multi-source-mcp-api.md) · [All operations](https://skmtc.dev/corpusiq/apis/multi-source-mcp-api/llms.txt) · [OpenAPI document](https://skmtc.dev/corpusiq/apis/multi-source-mcp-api/revisions/e25648ba6027?raw)
