Iterate with AI
Tent Templates
Iterate with AI
Queue an AI iteration on the template against its current HTML. Only one generation can run per template at a time — a second request fails with 409 generation_in_progress. Returns 202 with status: "generating"; poll the returned generation for completion.
POST
Iterate with AI
Authorizations
Workspace API key, e.g. Authorization: Bearer tented_.... Create keys in Workspace Settings → API Keys.
Headers
Optional idempotency key. Replaying a request with the same key returns the stored result of the first attempt. If the first attempt is still in flight, the replay fails with 409 idempotency_in_progress.
Path Parameters
Tent template ID.
Body
application/json