Skip to main content
The Sutro API supports the generation, hosting and editing of production-ready backends. These generated API servers can be constructed with a single prompt, processed by our AI agent. They can also be constructed manually through calls to our API. You can learn how to generate a backend from a prompt.

Example

For a deeper walk-through, follow the Prompt to backend tutorial; the snippet below shows the type of output produced from a simple LLM prompt.

LLM Prompt for a To Do app

Build me an API server that helps users track To Dos. It should include the ability to set deadlines on To Do items, as well as mark them completed
This results in an API Server with a downloadable OpenAPI document. Once published, your API is accessible at https://{applicationId}.app.withsutro.com/api/v{version}/.
api.yaml
You can see API documentation for this example here.