Folders
Folders — Taskade REST API v1 reference: list the projects, agents, media, and templates in a folder, and create or generate agents in a folder.
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 own Memory (projects), Intelligence (agents), and Execution (automations).
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.
The API calls a Subspace a folder, so each endpoint below takes a folderId. These endpoints manage the Subspaces in your workspace.
Summary of Endpoints
Get Folder Projects
Get all projects in a team, or in the home team of a workspace.
Folder/Workspace/Space ID
Projects
Projects
Error description
GET /api/v1/folders/{folderId}/projects HTTP/1.1
Host: www.taskade.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"ok": true,
"items": [
{
"id": "abc123DEF456",
"name": "Sales Pipeline"
}
]
}Generate Agent in Folder
Generate agent based on input text prompts
Default response
Error description
POST /api/v1/folders/{folderId}/agent-generate HTTP/1.1
Host: www.taskade.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 15
{
"text": "text"
}{
"ok": true,
"item": {
"id": "abc123DEF456",
"name": "Sales Pipeline",
"space_id": "abc123DEF456",
"data": {
"commands": [
{
"name": "Sales Pipeline",
"description": "Tracks deals from lead to close.",
"prompt": "Summarize the latest updates in this project.",
"id": "abc123DEF456",
"mode": "default"
}
],
"description": "Tracks deals from lead to close.",
"tone": "authoritative",
"avatar": {
"type": "emoji",
"data": {
"value": "example"
}
},
"knowledgeEnabled": true,
"language": "en",
"inputPlaceholder": "example"
}
}
}Create Agent in Folder
Create an agent in a team or workspace.
Default response
Error description
POST /api/v1/folders/{folderId}/agents HTTP/1.1
Host: www.taskade.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 304
{
"name": "text",
"data": {
"type": "data",
"data": {
"commands": [
{
"name": "text",
"description": "text",
"prompt": "text",
"id": "text",
"mode": "default"
}
],
"description": "text",
"tone": "authoritative",
"avatar": {
"type": "emoji",
"data": {
"value": "text"
}
},
"knowledgeEnabled": true,
"language": "text",
"inputPlaceholder": "text"
}
}
}{
"ok": true,
"item": {
"id": "abc123DEF456",
"name": "Sales Pipeline",
"space_id": "abc123DEF456",
"data": {
"commands": [
{
"name": "Sales Pipeline",
"description": "Tracks deals from lead to close.",
"prompt": "Summarize the latest updates in this project.",
"id": "abc123DEF456",
"mode": "default"
}
],
"description": "Tracks deals from lead to close.",
"tone": "authoritative",
"avatar": {
"type": "emoji",
"data": {
"value": "example"
}
},
"knowledgeEnabled": true,
"language": "en",
"inputPlaceholder": "example"
}
}
}Get Folder Agents
Get agents in a folder.
201Agents
Agents
Error description
GET /api/v1/folders/{folderId}/agents HTTP/1.1
Host: www.taskade.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"ok": true,
"items": [
{
"id": "abc123DEF456",
"name": "Sales Pipeline",
"space_id": "abc123DEF456",
"data": {
"commands": [
{
"name": "Sales Pipeline",
"description": "Tracks deals from lead to close.",
"prompt": "Summarize the latest updates in this project.",
"id": "abc123DEF456",
"mode": "default"
}
],
"description": "Tracks deals from lead to close.",
"tone": "authoritative",
"avatar": {
"type": "emoji",
"data": {
"value": "example"
}
},
"knowledgeEnabled": true,
"language": "en",
"inputPlaceholder": "example"
}
}
]
}Get Folder Media
Get medias in a folder
1001Medias
Medias
Error description
GET /api/v1/folders/{folderId}/medias HTTP/1.1
Host: www.taskade.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"ok": true,
"items": [
{
"id": "abc123DEF456",
"space_id": "abc123DEF456",
"kind": "example"
}
]
}Get Folder Project Templates
Get the project templates in a folder.
201Project Templates
Project Templates
Error description
GET /api/v1/folders/{folderId}/project-templates HTTP/1.1
Host: www.taskade.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"ok": true,
"items": [
{
"id": "abc123DEF456",
"name": "Sales Pipeline"
}
]
}Last updated