curl https://api.runtools.ai/v1/templates/my-fullstack \ -H "X-API-Key: rt_live_xxx"
{ "data": { "id": "tpl_abc123", "slug": "my-fullstack", "name": "Full Stack Environment", "status": "building", "progress": 45, "buildLog": "https://api.runtools.ai/v1/templates/my-fullstack/logs" } }
Get template details and build status
pending
building
ready
failed
curl https://api.runtools.ai/v1/templates/my-fullstack/logs \ -H "X-API-Key: rt_live_xxx" \ -H "Accept: text/event-stream"
for await (const line of template.buildLogs()) { console.log(line); }