Complete documentation for the Deep Spec endpoint. Generate exhaustive, enterprise-grade project specifications.
| 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 |
| Feature | Fast Spec | Deep Spec |
|---|---|---|
| Cost | 10 credits | 50 credits |
| Processing Time | 30-40 sec | 2-3 min |
| Structure | Milestones → Stories | Milestones → Stories → Subtasks |
| Detail Level | Comprehensive | Ultra-detailed |
| Best For | MVPs, prototypes | Enterprise, complex systems |
| Feature Analysis | ✅ | ✅✅✅ |
| Architecture Depth | ✅ | ✅✅✅ |
| Risk Analysis | ✅ | ✅✅✅ |
| User Stories | ✅ | ✅✅✅ |
| Field | Type | Description |
|---|---|---|
endpoint | string | Endpoint used: "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" |
docURLs in your request, Architect automatically scrapes the documentation in parallel with spec generation and packages it into downloadable ZIP archives. This is especially valuable for Deep Spec where you’re building complex enterprise systems with multiple integrations.
zippedDocsUrlszippedDocsUrls returns empty array []docURLs Parameter:
zippedDocsUrls returns empty array []zippedDocsUrlsAPI 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