---
title: "Create a Streamlit app"
method: POST
path: "/streamlit-apps"
tags: ["Streamlit apps"]
---

# Create a Streamlit app

`POST /streamlit-apps`

Serves an existing project file as a Streamlit app.

## Request body

- CreateStreamlitAppBody
  - `projectId` string, uuid, required — Project that contains the entrypoint file.
  - `entrypoint` string, required — Project-relative path of an existing file to serve, for example "apps/dashboard.py".

## Response `201`

Streamlit app created

- CreateStreamlitAppResponse
  - `streamlitApp` StreamlitApp, required
    - `id` string, uuid, required
    - `projectId` string, uuid, required
    - `entrypoint` string, required — Normalized project-relative path of the served file.
    - `url` string, uri, required — Address the app is served on.
    - `createdAt` string, date-time, required

## Other responses

- `400` — Validation error or entrypoint path is not a file
- `401` — Unauthorized
- `403` — Insufficient permissions
- `404` — Project or entrypoint file not found
- `409` — Project is suspended, the file is already served as an app, or the project has no free app ports
- `429` — Rate limit exceeded

---

[API](https://skmtc.net/deepnote/apis/deepnote-public-api.md) · [All operations](https://skmtc.net/deepnote/apis/deepnote-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/deepnote/deepnote-public-api/revisions/726970fd2992/schema)
