> For the complete documentation index, see [llms.txt](https://docs.layerlens.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.layerlens.ai/more-in-this-section-9/spaces.md).

# Spaces

REST — Spaces endpoints.

| Method | Path                       | Description |
| ------ | -------------------------- | ----------- |
| POST   | `/api/v1/spaces`           | Create      |
| GET    | `/api/v1/spaces`           | List        |
| GET    | `/api/v1/spaces/{id}`      | Get         |
| POST   | `/api/v1/spaces/{id}/run`  | Run         |
| GET    | `/api/v1/spaces/{id}/runs` | Run history |

## See also

* [SDK: spaces](/more-in-this-section-9/spaces-1.md)
