> ## 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.

# rewise: routes

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

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

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]/not-whitelisted` | Page | [Implementation](https://github.com/tutur3u/platform/blob/main/apps/rewise/src/app/%5Blocale%5D/\(auth\)/not-whitelisted/page.tsx) |
| `/[locale]/verify-token` | Page | [Implementation](https://github.com/tutur3u/platform/blob/main/apps/rewise/src/app/%5Blocale%5D/\(auth\)/verify-token/page.tsx) |
| `/[locale]/[wsId]/c/[chatId]` | Page | [Implementation](https://github.com/tutur3u/platform/blob/main/apps/rewise/src/app/%5Blocale%5D/\(dashboard\)/%5BwsId%5D/c/%5BchatId%5D/page.tsx) |
| `/[locale]/[wsId]/imagine` | Page | [Implementation](https://github.com/tutur3u/platform/blob/main/apps/rewise/src/app/%5Blocale%5D/\(dashboard\)/%5BwsId%5D/imagine/page.tsx) |
| `/[locale]/[wsId]/new` | Page | [Implementation](https://github.com/tutur3u/platform/blob/main/apps/rewise/src/app/%5Blocale%5D/\(dashboard\)/%5BwsId%5D/new/page.tsx) |
| `/[locale]/[wsId]` | Page | [Implementation](https://github.com/tutur3u/platform/blob/main/apps/rewise/src/app/%5Blocale%5D/\(dashboard\)/%5BwsId%5D/page.tsx) |
| `/[locale]/[wsId]/tools/[toolId]` | Page | [Implementation](https://github.com/tutur3u/platform/blob/main/apps/rewise/src/app/%5Blocale%5D/\(dashboard\)/%5BwsId%5D/tools/%5BtoolId%5D/page.tsx) |
| `/[locale]/[wsId]/tools` | Page | [Implementation](https://github.com/tutur3u/platform/blob/main/apps/rewise/src/app/%5Blocale%5D/\(dashboard\)/%5BwsId%5D/tools/page.tsx) |
| `/api/ai/chat/google/new` | POST | [Implementation](https://github.com/tutur3u/platform/blob/main/apps/rewise/src/app/api/ai/chat/google/new/route.ts) |
| `/api/ai/chat/google` | POST | [Implementation](https://github.com/tutur3u/platform/blob/main/apps/rewise/src/app/api/ai/chat/google/route.ts) |
| `/api/ai/chat/google/summary` | PATCH | [Implementation](https://github.com/tutur3u/platform/blob/main/apps/rewise/src/app/api/ai/chat/google/summary/route.ts) |
| `/api/auth/callback` | GET | [Implementation](https://github.com/tutur3u/platform/blob/main/apps/rewise/src/app/api/auth/callback/route.ts) |
| `/api/auth/email` | PATCH | [Implementation](https://github.com/tutur3u/platform/blob/main/apps/rewise/src/app/api/auth/email/route.ts) |
| `/api/auth/logout` | GET, POST | [Implementation](https://github.com/tutur3u/platform/blob/main/apps/rewise/src/app/api/auth/logout/route.ts) |
| `/api/auth/refresh-app-session` | POST | [Implementation](https://github.com/tutur3u/platform/blob/main/apps/rewise/src/app/api/auth/refresh-app-session/route.ts) |
| `/api/auth/verify-app-token` | POST | [Implementation](https://github.com/tutur3u/platform/blob/main/apps/rewise/src/app/api/auth/verify-app-token/route.ts) |
| `/api/build-info` | GET | [Implementation](https://github.com/tutur3u/platform/blob/main/apps/rewise/src/app/api/build-info/route.ts) |
| `/api/v1/infrastructure/languages` | DELETE, POST | [Implementation](https://github.com/tutur3u/platform/blob/main/apps/rewise/src/app/api/v1/infrastructure/languages/route.ts) |
| `/api/v1/workspaces/[wsId]/ai/credits` | GET | [Implementation](https://github.com/tutur3u/platform/blob/main/apps/rewise/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/rewise/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/rewise/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/rewise/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.