← Docs

API Reference

All API routes require authentication via Supabase session cookie.

Base URL: https://v0-optimus-the-ai-platform-to-bu-wine-eta.vercel.app

POST

/api/builder/chat

Send a message to the Masidy AI builder

auth
POST

/api/builder/deploy

Deploy generated files to production

auth
GET

/api/credits/balance

Get current credit balance

auth
POST

/api/checkout

Create a Stripe checkout session for credits

auth
GET

/api/vercel/deployments

List all deployments

auth
GET

/api/vercel/domains

List custom domains

auth
POST

/api/vercel/domains

Add a custom domain

auth
GET

/api/vercel/env

List environment variables (keys only)

auth
POST

/api/vercel/env

Create an environment variable

auth