Meta Pixel

Reference

API Reference

The Rytora BuildLabs API lets you programmatically create projects, generate code, trigger deployments, and manage templates. All endpoints require authentication and a Pro plan subscription.

Pro plan required

API access is available exclusively on the Pro plan. Generate your API key from the Rytora BuildLabs dashboard under Settings > API Keys.

Authentication

All API requests require a Bearer token in the Authorization header. Generate your token from the Rytora BuildLabs dashboard.

Example request header

Authorization: Bearer sk_live_your_api_key_here

Base URL

https://api.buildlabs.rytora.ai/v1

Available endpoints

Projects

MethodEndpointDescription
GET/api/v1/projectsList all projects
POST/api/v1/projectsCreate a new project
GET/api/v1/projects/:idGet project details
PATCH/api/v1/projects/:idUpdate a project
DELETE/api/v1/projects/:idDelete a project

Generate

MethodEndpointDescription
POST/api/v1/generateGenerate code from a prompt
POST/api/v1/generate/iterateIterate on existing code
GET/api/v1/generate/:id/statusCheck generation status

Deploy

MethodEndpointDescription
POST/api/v1/deploy/vercelDeploy frontend to Vercel
POST/api/v1/deploy/railwayDeploy to Supabase Hosting
GET/api/v1/deploy/:id/statusCheck deployment status

Templates

MethodEndpointDescription
GET/api/v1/templatesList available templates
GET/api/v1/templates/:idGet template details
POST/api/v1/projects/from-templateCreate project from template

Rate limits

API requests are rate-limited to ensure fair usage and platform stability. Exceeding the limit returns a 429 status code.

EndpointLimit
General API100 requests/minute
Code generation10 requests/minute
Deployment5 requests/minute

Error responses

All errors follow a consistent JSON format with a status code, error type, and human-readable message.

Error response format

{
  "statusCode": 401,
  "error": "Unauthorized",
  "message": "Invalid or expired API key"
}