Features/Pages

Pages

Agent deploys HTML. Live URL. No hosting, no build step.

Updated March 2026

Deploy static HTML pages through the API. Landing pages, microsites, campaign pages, portfolios — anything that is HTML and CSS. No build step, no deploy pipeline, no hosting to manage. Your agent creates a page and it is immediately live at a public URL. The web runtime for agents.

What it does

  • Deploy any HTML + CSS via a single POST request
  • Every page gets a public URL at /p/:slug — live instantly
  • Custom subdomains — serve pages at alice.sutrena.com (all plans)
  • Custom domains — point your own domain at your pages (Builder+)
  • Upload static assets (images, fonts, JS) to CDN via presigned URLs
  • Full HTML control. No templates forced on you. No restrictions on markup
  • Update pages in place — PUT to change HTML, CSS, title, or published status
  • Slug-based routing — alice.sutrena.com/about serves the page with slug 'about'
  • Root path — alice.sutrena.com/ serves the page with slug 'index'
  • Unpublish without deleting — toggle isPublished to hide a page

How it works

curl -X POST https://sutrena.com/api/pages \
  -H "Authorization: Bearer YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "slug": "launch",
    "title": "We are launching",
    "html": "<div class=\"hero\"><h1>Something new is coming</h1><p>Sign up to find out first.</p></div>",
    "css": ".hero { max-width: 600px; margin: 80px auto; font-family: system-ui; }"
  }'

# Returns: { "data": { "url": "/p/launch", "slug": "launch" } }
# Page is live immediately at sutrena.com/p/launch

One POST with HTML and optional CSS. The page is live at a public URL before your next line of code runs.

What it does not do

Static pages only. No server-side rendering, no database queries, no dynamic content. If you need a full web app, this is not it. If you need a page that exists on the internet and looks the way you want it to look, this works.

FAQ

Can I use my own domain for pages?

Yes. All plans get custom subdomains (alice.sutrena.com). Builder and above can add custom domains (mysite.com) with automatic SSL. Point a CNAME to cname.sutrena.com and it works.

What is the size limit for pages?

512KB for HTML, 128KB for CSS. For images and other assets, upload them separately via the assets API and reference the CDN URL in your HTML. Asset size limits depend on your plan (2MB on free, up to 50MB on Scale).

Can I upload images and other files?

Yes. POST to /api/pages/assets with the filename and content type. You get a presigned upload URL and a public CDN URL. Upload the file, use the CDN URL in your HTML. Storage limits per plan: 50MB free, 500MB Builder, 5GB Pro, unlimited Scale.

How do I update a page after deploying it?

PUT /api/pages/:id with the new HTML, CSS, or title. The page updates immediately. The slug stays the same, so the URL does not change.

What is Sutrena?

Sutrena is the web runtime for AI agents. Three primitives — pages, forms, and dashboards — accessible through one API. Your agent creates web artifacts, humans interact with them, and your agent gets the data back. Framework-agnostic. Works from any MCP client or HTTP client.

Get started in two API calls

1. Get a trial key (no auth, no signup)

curl -X POST https://sutrena.com/api/trial

2. Create a form + dashboard from a template

curl -X POST https://sutrena.com/api/forms \
  -H "Authorization: Bearer st_trial_xxx" \
  -H "Content-Type: application/json" \
  -d '{"templateId": "waitlist", "createDashboard": true}'

Ready to build?

Get a trial API key instantly with no signup, or create an account for the full experience.

Pages — Deploy Static HTML via API | Sutrena | Sutrena