REST API · v1 · Agency plan

Prism Cloud AI REST API

Generate engineering-grade specifications programmatically. The API mirrors the four pipeline stages of the product — Constitution, Specification, Architecture and Tasks — and returns the same artifacts you see in the dashboard, as structured JSON or Markdown.

Bearer authentication
Workspace-scoped tokens with granular scopes.
Predictable limits
60 req/min on Pro, 600 req/min on Agency, burst-friendly.
Webhooks
Signed HMAC payloads for pipeline.completed and credit.exhausted.

Authentication

All requests must include a bearer token issued from the dashboard. Tokens inherit the credits and plan of the issuing workspace.

curl https://api.prismcloud.app/v1/pipelines \
  -H "Authorization: Bearer $PRISMCLOUD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "idea": "A subscription billing dashboard for SaaS finance teams",
    "stack_hints": ["Next.js", "Postgres", "Stripe"],
    "stages": ["constitution", "specification", "architecture", "tasks"]
  }'

Endpoints

MethodPathDescription
POST/v1/pipelinesRun the full 4-stage pipeline for an idea.
GET/v1/pipelines/:idRetrieve a pipeline run and its generated artifacts.
GET/v1/projectsList projects in your workspace.
POST/v1/projects/:id/exportsExport a project to PDF, Markdown or JSON.
GET/v1/creditsInspect remaining credits and renewal date.
POST/v1/webhooksSubscribe to pipeline.completed and credit.exhausted events.

Response shape

Every pipeline run returns four artifact blocks with stable JSON keys you can render or pipe into a downstream workflow.

Security

TLS 1.3, signed webhooks, IP allowlists on Agency plans, and zero-retention upstream model routing.

Request API access

The REST API is available on the Agency plan. Tokens are provisioned within one business day of contract signature.

Talk to sales