Home / Docs / API Reference

API Reference

Coming Soon — Developer Preview

The Aamlaa REST API lets you programmatically generate code, manage projects, and interact with the Marketplace. Integrate AI code generation directly into your CI pipelines, toolchains, or products.

Base URL

https://api.aamlaa.com

Authentication: API requests use Bearer token authentication. Include your API key in the Authorization: Bearer <key> header. Generate API keys from Settings → API Keys (BYOK plan required).

Planned Endpoints

MethodEndpointAuth
GET/api/marketplace/templatesOptional
GET/api/marketplace/templates/:idOptional
POST/api/projectsRequired
GET/api/projects/:idRequired
POST/api/projects/:id/generateRequired
GET/api/projects/:id/exportRequired
POST/api/projects/:id/deployRequired
GET/api/modelsRequired

All endpoints return JSON. Rate limits apply based on your plan. The API is versioned — all paths above are under v1.

Example response — GET /api/projects/:id

{
  "id": "proj_01hx9zk3j4abc",
  "name": "My SaaS App",
  "projectType": "fullstack",
  "status": "ready",
  "createdAt": "2026-04-01T12:00:00Z",
  "updatedAt": "2026-04-01T12:05:22Z",
  "files": {
    "src/app/page.tsx": "...",
    "src/app/layout.tsx": "...",
    "package.json": "..."
  },
  "versions": [
    { "id": "v1", "createdAt": "2026-04-01T12:00:00Z" },
    { "id": "v2", "createdAt": "2026-04-01T12:05:22Z" }
  ]
}

Get API access when it launches

Sign up for a BYOK account to be first in line for the developer preview. We'll send API credentials directly to your inbox.