Apps (Subspaces)
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
Get all projects in a folder, or in the home folder of a workspace.
Folder/Workspace/Space ID
GET /api/v1/folders/{folderId}/projects HTTP/1.1
Host: www.taskade.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"ok": true,
"items": [
{
"id": "text",
"name": "text"
}
]
}
Generate Agent in Folder
Generate agent based on input text prompts
POST /api/v1/folders/{folderId}/agent-generate HTTP/1.1
Host: www.taskade.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 15
{
"text": "text"
}
{
"ok": true,
"item": {
"id": "text",
"name": "text",
"space_id": "text",
"data": {
"commands": [
{
"name": "text",
"prompt": "text",
"id": "text",
"mode": "default"
}
],
"description": "text",
"tone": "authoritative",
"avatar": {
"type": "emoji",
"data": {
"value": "text"
}
},
"knowledgeEnabled": true,
"language": "text"
}
}
}
Create Agent in Folder
Create an agent in a folder, or in the home folder of a workspace.
POST /api/v1/folders/{folderId}/agents HTTP/1.1
Host: www.taskade.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 257
{
"name": "text",
"data": {
"type": "data",
"data": {
"commands": [
{
"name": "text",
"prompt": "text",
"id": "text",
"mode": "default"
}
],
"description": "text",
"tone": "authoritative",
"avatar": {
"type": "emoji",
"data": {
"value": "text"
}
},
"knowledgeEnabled": true,
"language": "text"
}
}
}
{
"ok": true,
"item": {
"id": "text",
"name": "text",
"space_id": "text",
"data": {
"commands": [
{
"name": "text",
"prompt": "text",
"id": "text",
"mode": "default"
}
],
"description": "text",
"tone": "authoritative",
"avatar": {
"type": "emoji",
"data": {
"value": "text"
}
},
"knowledgeEnabled": true,
"language": "text"
}
}
}
Get Folder Agents
Get agents in a folder.
20
1
GET /api/v1/folders/{folderId}/agents HTTP/1.1
Host: www.taskade.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"ok": true,
"items": [
{
"id": "text",
"name": "text",
"space_id": "text",
"data": {
"commands": [
{
"name": "text",
"prompt": "text",
"id": "text",
"mode": "default"
}
],
"description": "text",
"tone": "authoritative",
"avatar": {
"type": "emoji",
"data": {
"value": "text"
}
},
"knowledgeEnabled": true,
"language": "text"
}
}
]
}
Get Folder Medias
Get medias in a folder
100
1
GET /api/v1/folders/{folderId}/medias HTTP/1.1
Host: www.taskade.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"ok": true,
"items": [
{
"id": "text",
"space_id": "text",
"kind": "text"
}
]
}
Get Folder Project Templates
Get projects templates in a folder.
20
1
GET /api/v1/folders/{folderId}/project-templates HTTP/1.1
Host: www.taskade.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"ok": true,
"items": [
{
"id": "text",
"name": "text"
}
]
}
Last updated