Skip to main content
Lava’s first-party page hosting API. Post an HTML document and get back a public URL at lava.so/p/ that anyone can open in a browser. Designed for agent-generated artifacts (research summaries, dashboards, reports, share-links) that the agent wants the user to view as a real page rather than parse from a tool result. Pages are editable in place: PUT /v1/pages/ updates the content and the URL stays stable, so fix content instead of minting a new link. Full CSS works (inline styles and https stylesheets, fonts, images); JavaScript, iframes, and form posts are blocked by CSP. Every page renders a small ‘Made with Lava’ share bar. 1MB max, no expiry. 4 endpoints available through Lava’s AI Gateway. See the Lava Pages API docs for full documentation.
This provider is managed — no additional setup required.

Endpoints

Create a public HTML page hosted at lava.so/p/{id}. Body: { html: string } (max 1MB; full CSS supported, JavaScript blocked by CSP; every page renders a ‘Made with Lava’ share bar). Returns { id, url }. To change a page later, PUT /v1/pages/{id} instead of creating a new one.

POST https://api.lava.so/v1/pages — $0.03 / request

Read back a page you created: { id, url, html, created_at }. Billed at the standard $0.005 platform-fee floor.

GET https://api.lava.so/v1/pages/pg_01ABC123 — $0.005 / request

Update a page in place; the lava.so/p/{id} URL stays stable. Body: { html: string }. Billed at the standard $0.005 platform-fee floor.

PUT https://api.lava.so/v1/pages/pg_01ABC123 — $0.005 / request

Delete a page; its public URL starts returning 410 Gone. Billed at the standard $0.005 platform-fee floor.

DELETE https://api.lava.so/v1/pages/pg_01ABC123 — $0.005 / request

Next Steps

All Providers

Browse all supported AI providers

Forward Proxy

Learn how to construct proxy URLs and authenticate requests