Every instance exposes three surfaces you can show your end user directly:Documentation Index
Fetch the complete documentation index at: https://agent37.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
| Surface | What it is |
|---|---|
terminal | A live shell on the instance. |
desktop | A graphical desktop over noVNC, including a headed browser. |
files | A file browser for the instance’s filesystem. |
POST /v1/instances/{id}/embeds mints a short-lived signed URL for any of them. The URL is minted on demand, never stored, and you typically drop it into an iframe so the surface renders inside your own app.
Mint embed URLs
Pass thesurfaces you want and an expires_in. The response returns one *_url per requested surface, plus the expires_at they all share.
The surfaces to mint. Any of
terminal, desktop, files.Seconds until the URLs expire. Maximum
86400 (24 hours).Response
Signed URL for the terminal. Present only when
terminal was requested.Signed URL for the noVNC desktop. Present only when
desktop was requested.Signed URL for the file browser. Present only when
files was requested.Unix seconds when all returned URLs expire.
Embed in an iframe
Render any returned URL inside an iframe in your app:html
Next steps
Instances
Create, size, and manage the computer behind every surface.
Files
Upload and read files the agent works with.
Integrations
Connect Gmail, Slack, Notion, and more to an instance.
Core concepts
Instances, sessions, and responses.