Complete documentation for the Fast Spec endpoint. Generate comprehensive project specifications in 30-40 seconds.
| Parameter | Type | Required | Description |
|---|---|---|---|
input | string | ✅ | Description of what you want to build |
currentContext | string | ❌ | CRITICAL: Existing project/codebase context. When provided, generates feature addition spec. When omitted, generates full new project spec with setup, deployment, docs, maintenance |
docURLs | string[] | ❌ | Optional: Array of documentation URLs that Architect will reference when generating specifications. Useful for API documentation, design systems, or existing project docs |
async | boolean | ❌ | false (default) - wait for completion, or true - return immediately with requestId for status polling |
| Parameter | Type | Required | Description |
|---|---|---|---|
file | File | ❌ | Optional: File to be parsed as input (e.g., existing code, documentation, requirements). Can be used alone or combined with input text |
input | string | ❌ | Optional: Additional text description when using file upload. Can be empty string if using only file |
docURLs | string[] | ❌ | Optional: Array of documentation URLs that Architect will reference when generating specifications. Useful for API documentation, design systems, or existing project docs |
async | boolean | ❌ | false (default) - wait for completion, or true - return immediately with requestId for status polling |
currentContextcurrentContext (New Project):
currentContext (Feature Addition):
| Field | Type | Description |
|---|---|---|
endpoint | string | Endpoint used: "fast_spec" or "deep_spec" |
input | string | Original input text provided |
status | string | Completion status: "completed" when successful |
success | boolean | Whether the request succeeded |
humanSpecUrl | string | URL where the human-readable spec is hosted (downloadable markdown) |
totalHumanHours | number | Estimated total hours for a human to implement the spec |
codingAgentSpecUrl | string | URL where the coding agent spec format is hosted (downloadable markdown) |
executionTime | number | Processing time in milliseconds |
predevUrl | string | pre.dev project URL where you can view and edit the spec |
lovableUrl | string | Deep link to Lovable.dev with auto-submit prompt to implement the spec |
cursorUrl | string | Deep link to Cursor with prompt to download and implement the spec |
v0Url | string | Deep link to Vercel v0 with prompt to implement the spec |
boltUrl | string | Deep link to Bolt.new with prompt to implement the spec |
zippedDocsUrls | array | New: Array of scraped documentation archives. Each object contains platform (hostname from the doc URL), masterZipShortUrl (download link to the ZIP archive), and optional masterMarkdownShortUrl (consolidated markdown). Empty array if no docURLs provided or scraping fails |
async: true:
| Field | Type | Description |
|---|---|---|
specId | string | Unique ID to poll for status (use with /api/spec-status/:specId) |
status | string | Initial status: "pending" |
/api/spec-status/:specId to check progress.
[ ] → [→] → [✓] → [⊘][ ] to [→] when starting[→] to [✓] when done[ ] to [⊘] if skipping (with reason)docURLs in your request, Architect automatically scrapes the documentation in parallel with spec generation and packages it into downloadable ZIP archives. This feature helps AI agents and developers have context about external APIs, design systems, or frameworks referenced in the spec.
zippedDocsUrls.com, .io, .org, .net.cloud, .dev, .ai.co.uk, .com.au, etc.).tech, .app, etc.)zippedDocsUrls will be an empty array []docURLs is not provided or is an empty array:
zippedDocsUrls will be an empty array []API key for authentication. Get your API key from https://pre.dev/projects/playground (Solo) or https://pre.dev/enterprise/dashboard?page=api (Enterprise). Use format: Bearer YOUR_API_KEY
Description of what you want to build or the feature you want to add
"Build a SaaS project management tool with team collaboration and real-time updates"
CRITICAL: Existing project/codebase context. When provided, generates feature addition spec. When omitted, generates full new project spec with setup, deployment, docs, maintenance
"Existing Next.js app with Supabase, has auth, task CRUD, team features"
Optional array of documentation URLs that Architect will reference when generating specifications. Each URL is automatically scraped and packaged into downloadable ZIP archives organized by platform
[
"https://docs.pre.dev",
"https://docs.stripe.com"
]If true, returns immediately with requestId for status polling. If false (default), waits for completion
Specification generated successfully
Which endpoint was used
fast_spec, deep_spec Original input text provided
Completion status
completed Whether the request succeeded
URL where the human-readable spec is hosted (downloadable markdown)
Estimated total hours for a human to implement the spec
URL where the coding agent spec format is hosted (downloadable markdown)
Processing time in milliseconds
pre.dev project URL where you can view and edit the spec
Deep link to Lovable.dev with auto-submit prompt to implement the spec
Deep link to Cursor with prompt to download and implement the spec
Deep link to Vercel v0 with prompt to implement the spec
Deep link to Bolt.new with prompt to implement the spec
Array of scraped documentation archives. Empty array if no docURLs provided or scraping fails. Each object contains platform identifier and download links