> For the complete documentation index, see [llms.txt](https://docs.taskade.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.taskade.com/developers/comprehensive-api-guide/folders.md).

# Folders

A **Subspace** is the top-level container for every AI-powered application you build on Taskade. It's more than just a folder; it's the complete, self-contained ecosystem for your app, holding its unique Knowledge, Intelligence, and Action layers.

When you generate an app or create one manually, you are creating a Subspace. Everything related to that app—its data (Projects), its logic (Agents), and its workflows (Automations)—is organized within it.

These endpoints allow you to manage the Subspaces in your workspace.

## Summary of Endpoints

### Get Folder Projects

{% openapi src="/files/BofPKQdStkZSorv2iHCa" path="/folders/{folderId}/projects" method="get" expanded="true" %}
[api-0.1.0.json](https://884954080-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEOkDZjClZ0y8qSYnc7hO%2Fuploads%2Fgit-blob-9c5a76176f5c8981e6384d387b40d33e01dedddc%2Fapi-0.1.0.json?alt=media)
{% endopenapi %}

### Generate Agent in Folder

{% openapi src="/files/BofPKQdStkZSorv2iHCa" path="/folders/{folderId}/agent-generate" method="post" expanded="true" %}
[api-0.1.0.json](https://884954080-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEOkDZjClZ0y8qSYnc7hO%2Fuploads%2Fgit-blob-9c5a76176f5c8981e6384d387b40d33e01dedddc%2Fapi-0.1.0.json?alt=media)
{% endopenapi %}

### Create Agent in Folder

{% openapi src="/files/BofPKQdStkZSorv2iHCa" path="/folders/{folderId}/agents" method="post" expanded="true" %}
[api-0.1.0.json](https://884954080-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEOkDZjClZ0y8qSYnc7hO%2Fuploads%2Fgit-blob-9c5a76176f5c8981e6384d387b40d33e01dedddc%2Fapi-0.1.0.json?alt=media)
{% endopenapi %}

### Get Folder Agents

{% openapi src="/files/BofPKQdStkZSorv2iHCa" path="/folders/{folderId}/agents" method="get" expanded="true" %}
[api-0.1.0.json](https://884954080-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEOkDZjClZ0y8qSYnc7hO%2Fuploads%2Fgit-blob-9c5a76176f5c8981e6384d387b40d33e01dedddc%2Fapi-0.1.0.json?alt=media)
{% endopenapi %}

### Get Folder Medias

{% openapi src="/files/BofPKQdStkZSorv2iHCa" path="/folders/{folderId}/medias" method="get" expanded="true" %}
[api-0.1.0.json](https://884954080-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEOkDZjClZ0y8qSYnc7hO%2Fuploads%2Fgit-blob-9c5a76176f5c8981e6384d387b40d33e01dedddc%2Fapi-0.1.0.json?alt=media)
{% endopenapi %}

### Get Folder Project Templates

{% openapi src="/files/BofPKQdStkZSorv2iHCa" path="/folders/{folderId}/project-templates" method="get" expanded="true" %}
[api-0.1.0.json](https://884954080-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEOkDZjClZ0y8qSYnc7hO%2Fuploads%2Fgit-blob-9c5a76176f5c8981e6384d387b40d33e01dedddc%2Fapi-0.1.0.json?alt=media)
{% endopenapi %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.taskade.com/developers/comprehensive-api-guide/folders.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
