REST API v1 • Bearer Token Auth • Rate Limit 1,200 req/min

Ocaq Cloud REST API Reference

Programmatically provision resources, trigger zero-downtime builds, manage encrypted secrets, and stream container logs with standard HTTP calls.

Authentication Header
Authorization: Bearer <TOKEN>
GET/v1/projects

List All Projects

Returns a paginated list of all active projects deployed within your organization workspace.

Query Parameters
limitinteger

Maximum number of projects to return (default: 20, max: 100)

statusstring

Filter by status: ready, building, failed, paused

curl -X GET "https://api.ocaq.dev/v1/projects?limit=20" \
  -H "Authorization: Bearer ocaq_pat_live_8f3a9b1c7e" \
  -H "Content-Type: application/json"
Response Payload:
{
  "object": "list",
  "data": [
    {
      "id": "proj_9f8a1bc2",
      "name": "nextjs-storefront",
      "framework": "nextjs",
      "status": "ready",
      "region": "fra1",
      "productionUrl": "https://storefront.ocaq.app",
      "createdAt": "2026-11-01T10:00:00Z",
      "updatedAt": "2026-11-20T14:32:00Z"
    }
  ],
  "hasMore": false,
  "totalCount": 1
}