> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tuturuuu.com/llms.txt
> Use this file to discover all available pages before exploring further.

# drive: routes

> Source entry points and route ownership for the drive workspace.

Runtime: **Next.js App Router**. Source: [apps/drive](https://github.com/tutur3u/platform/blob/main/apps/drive). Package: `@tuturuuu/drive`.

This inventory lists concrete Next page and handler files, including generated wrappers. Methods are lexical source evidence; consult the implementation for re-exports, authorization, status codes, payloads, and fallbacks. Filesystem presence does not establish public access, deployment, entitlement, or a supported external API contract. Route groups are omitted from URLs; dynamic parameters are shown in brackets.

| URL pattern | Page or HTTP methods | Source |
| - | - | - |
| `/[locale]/verify-token` | Page | [Implementation](https://github.com/tutur3u/platform/blob/main/apps/drive/src/app/%5Blocale%5D/\(auth\)/verify-token/page.tsx) |
| `/[locale]/[wsId]` | Page | [Implementation](https://github.com/tutur3u/platform/blob/main/apps/drive/src/app/%5Blocale%5D/\(dashboard\)/%5BwsId%5D/page.tsx) |
| `/api/auth/logout` | GET, POST | [Implementation](https://github.com/tutur3u/platform/blob/main/apps/drive/src/app/api/auth/logout/route.ts) |
| `/api/auth/refresh-app-session` | POST | [Implementation](https://github.com/tutur3u/platform/blob/main/apps/drive/src/app/api/auth/refresh-app-session/route.ts) |
| `/api/auth/verify-app-token` | POST | [Implementation](https://github.com/tutur3u/platform/blob/main/apps/drive/src/app/api/auth/verify-app-token/route.ts) |
| `/api/build-info` | GET | [Implementation](https://github.com/tutur3u/platform/blob/main/apps/drive/src/app/api/build-info/route.ts) |
| `/api/v1/workspaces/[wsId]/ai/credits` | GET | [Implementation](https://github.com/tutur3u/platform/blob/main/apps/drive/src/app/api/v1/workspaces/%5BwsId%5D/ai/credits/route.ts) |
| `/api/v1/workspaces/[wsId]/avatar` | DELETE, PATCH | [Implementation](https://github.com/tutur3u/platform/blob/main/apps/drive/src/app/api/v1/workspaces/%5BwsId%5D/avatar/route.ts) |
| `/api/v1/workspaces/[wsId]/avatar/upload-url` | POST | [Implementation](https://github.com/tutur3u/platform/blob/main/apps/drive/src/app/api/v1/workspaces/%5BwsId%5D/avatar/upload-url/route.ts) |
| `/api/workspaces/[wsId]` | GET, PUT | [Implementation](https://github.com/tutur3u/platform/blob/main/apps/drive/src/app/api/workspaces/%5BwsId%5D/route.ts) |

[All apps and services](/reference/repository/catalog). [Versions](/reference/repository/versions).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.