Overview
Tented’s Vibe Coding API lets you create new tents from your own systems without using the app UI. The current public surface is focused on the initial generation workflow:- Create a tent from a prompt
- Upload files before generation
- Poll generation status until it completes or fails
- Auto-publish the finished tent if you opt in
The Vibe Coding API is asynchronous.
POST /v1/tents returns immediately with a pending job, and you then poll GET /v1/tents/{tentId} until the status becomes completed or failed.Base URL
Use the production base URL:/v1 prefix:
POST /v1/tentsPOST /v1/tents/{tentId}/assetsGET /v1/tents/{tentId}
Authentication
Authenticate every request with a bearer API key:Set up Authentication
Learn how API keys work, where to create them, and which headers to send.
Supported Workflow
1. Optional: upload files
If your prompt should reference a brief, logo, PDF, spreadsheet, image, video, or audio file, upload it first:POST /v1/tents/new/assetscreates an idle tent and stores the filePOST /v1/tents/{tentId}/assetsattaches another file to an existing tent
actual_tent_idasset_id
POST /v1/tents.
2. Create the tent
Send the prompt and any optional generation settings:202 Accepted:
3. Poll for completion
CallGET /v1/tents/{tentId} until the status changes:
queuedgeneratingcompletedfailed
Retry-After: 10 header to guide polling frequency.
Available Endpoints
POST /v1/tentsstarts a new tent generation requestPOST /v1/tents/{tentId}/assetsuploads a file to a new or existing tentGET /v1/tents/{tentId}returns the current generation and publication status for a tent
tent_id, that tent must still be unused for generation. Once a tent already has a generation, POST /v1/tents returns 409 Conflict.
Quickstart
Minimal flow
Next Steps
Upload Assets
Attach files before generation so your prompt can reference them.
Create Tents
Learn the full request schema, optional fields, and auto-publish behavior.