For the complete documentation index, see llms.txt. This page is also available as Markdown.

Agents

Agents — Taskade REST API v1 reference: get, update, and delete AI agents, manage public access and knowledge, and read agent conversations.

Generated reference: This reference is also at taskade.com/docs/rest, generated from the live OpenAPI spec. AI agents can do most of this work through the hosted Taskade MCP server.

The Intelligence Layer is the brain of your application. It's where reasoning, logic, and autonomous action take place. This layer is powered by Taskade's AI Agents.

An Agent is more than just a chatbot. It is an autonomous worker that can be configured with a specific personality, skillset, and access to knowledge. You can use Agents to:

  • Power a Chatbot: Provide intelligent, context-aware answers to user queries based on the app's Knowledge Layer.

  • Execute Complex Tasks: Trigger agents via automations to perform multi-step operations like analyzing data, qualifying leads, or summarizing documents.

  • Collaborate with Humans: Assign tasks to agents and have them work alongside your team members within a project.

These endpoints allow you to create, manage, and interact with the AI Agents that bring your applications to life.

Learn More

Summary of Endpoints

Look Up Public Agent by Public Agent ID

get

Get public agent by public agent ID

Authorizations
OAuth2authorizationCodeRequired
Authorization URL: Token URL:
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
publicAgentIdstringRequired
Responses
200

Public Agent

application/json

Public Agent

okboolean · enumRequiredPossible values:
publicUrlstring · uriRequired
get/public-agents/{publicAgentId}
GET /api/v1/public-agents/{publicAgentId} HTTP/1.1
Host: www.taskade.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "ok": true,
  "item": {
    "id": "abc123DEF456",
    "name": "Sales Pipeline",
    "data": {
      "avatar": {
        "type": "custom",
        "data": {
          "file": {
            "ownerID": "abc123DEF456",
            "ownerType": "example",
            "id": "abc123DEF456",
            "namespace": "example",
            "extension": "example",
            "s3KeyOriginal": "example",
            "userID": 1,
            "spaceID": "abc123DEF456",
            "documentID": "abc123DEF456",
            "nodeID": "abc123DEF456",
            "size": 1,
            "mimetype": "image/png",
            "metadata": {},
            "type": "example",
            "name": "Sales Pipeline",
            "description": "Tracks deals from lead to close."
          }
        }
      },
      "conversationStarters": [
        {
          "id": "abc123DEF456",
          "text": "Follow up with client",
          "prompt": "Summarize the latest updates in this project."
        }
      ]
    },
    "preferences": {
      "mode": "template",
      "canCopyKnowledge": true,
      "hideBranding": true,
      "theme": "light",
      "autoEndChats": true,
      "meta": {
        "title": "Sales Pipeline",
        "description": "Tracks deals from lead to close.",
        "image": {
          "ownerID": "abc123DEF456",
          "ownerType": "example",
          "id": "abc123DEF456",
          "namespace": "example",
          "extension": "example",
          "s3KeyOriginal": "example",
          "userID": 1,
          "spaceID": "abc123DEF456",
          "documentID": "abc123DEF456",
          "nodeID": "abc123DEF456",
          "size": 1,
          "mimetype": "image/png",
          "metadata": {},
          "type": "example",
          "name": "Sales Pipeline",
          "description": "Tracks deals from lead to close."
        }
      },
      "color": "#4F46E5",
      "launcherIcon": {
        "type": "emoji",
        "value": "example"
      }
    }
  },
  "publicUrl": "https://example.com"
}

Update Agent Public Access

put

Enable public access in the agent

Authorizations
OAuth2authorizationCodeRequired
Authorization URL: Token URL:
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
agentIdstringRequired
Responses
200

Public access successfully enabled

application/json

Public access successfully enabled

okboolean · enumRequiredPossible values:
publicUrlstring · uriRequired
put/agents/{agentId}/publicAccess
PUT /api/v1/agents/{agentId}/publicAccess HTTP/1.1
Host: www.taskade.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "ok": true,
  "publicUrl": "https://example.com"
}

Get Agent

get

Get agent with id

Authorizations
OAuth2authorizationCodeRequired
Authorization URL: Token URL:
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
agentIdstringRequired
Responses
200

Agent

application/json

Agent

okboolean · enumRequiredPossible values:
get/agents/{agentId}
GET /api/v1/agents/{agentId} HTTP/1.1
Host: www.taskade.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "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"
    }
  }
}

Delete Agent

delete

Delete an agent

Authorizations
OAuth2authorizationCodeRequired
Authorization URL: Token URL:
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
agentIdstringRequired
Responses
200

Agent successfully deleted

application/json

Agent successfully deleted

okboolean · enumRequiredPossible values:
delete/agents/{agentId}
DELETE /api/v1/agents/{agentId} HTTP/1.1
Host: www.taskade.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "ok": true
}

Update Agent

patch

Update agent

Authorizations
OAuth2authorizationCodeRequired
Authorization URL: Token URL:
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
agentIdstringRequired
Body
namestringOptional
Responses
200

Agent

application/json

Agent

okboolean · enumRequiredPossible values:
patch/agents/{agentId}
PATCH /api/v1/agents/{agentId} HTTP/1.1
Host: www.taskade.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 281

{
  "name": "text",
  "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 Public Agent

get

Get public agent

Authorizations
OAuth2authorizationCodeRequired
Authorization URL: Token URL:
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
agentIdstringRequired
Responses
200

Public Agent

application/json

Public Agent

okboolean · enumRequiredPossible values:
publicUrlstring · uriRequired
get/agents/{agentId}/public-agent
GET /api/v1/agents/{agentId}/public-agent HTTP/1.1
Host: www.taskade.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "ok": true,
  "item": {
    "id": "abc123DEF456",
    "name": "Sales Pipeline",
    "data": {
      "avatar": {
        "type": "custom",
        "data": {
          "file": {
            "ownerID": "abc123DEF456",
            "ownerType": "example",
            "id": "abc123DEF456",
            "namespace": "example",
            "extension": "example",
            "s3KeyOriginal": "example",
            "userID": 1,
            "spaceID": "abc123DEF456",
            "documentID": "abc123DEF456",
            "nodeID": "abc123DEF456",
            "size": 1,
            "mimetype": "image/png",
            "metadata": {},
            "type": "example",
            "name": "Sales Pipeline",
            "description": "Tracks deals from lead to close."
          }
        }
      },
      "conversationStarters": [
        {
          "id": "abc123DEF456",
          "text": "Follow up with client",
          "prompt": "Summarize the latest updates in this project."
        }
      ]
    },
    "preferences": {
      "mode": "template",
      "canCopyKnowledge": true,
      "hideBranding": true,
      "theme": "light",
      "autoEndChats": true,
      "meta": {
        "title": "Sales Pipeline",
        "description": "Tracks deals from lead to close.",
        "image": {
          "ownerID": "abc123DEF456",
          "ownerType": "example",
          "id": "abc123DEF456",
          "namespace": "example",
          "extension": "example",
          "s3KeyOriginal": "example",
          "userID": 1,
          "spaceID": "abc123DEF456",
          "documentID": "abc123DEF456",
          "nodeID": "abc123DEF456",
          "size": 1,
          "mimetype": "image/png",
          "metadata": {},
          "type": "example",
          "name": "Sales Pipeline",
          "description": "Tracks deals from lead to close."
        }
      },
      "color": "#4F46E5",
      "launcherIcon": {
        "type": "emoji",
        "value": "example"
      }
    }
  },
  "publicUrl": "https://example.com"
}

Update Public Agent

patch

Update public agent

Authorizations
OAuth2authorizationCodeRequired
Authorization URL: Token URL:
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
agentIdstringRequired
Body
Responses
200

Public Agent

application/json

Public Agent

okboolean · enumRequiredPossible values:
patch/agents/{agentId}/public-agent
PATCH /api/v1/agents/{agentId}/public-agent HTTP/1.1
Host: www.taskade.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 568

{
  "preferences": {
    "mode": "template",
    "canCopyKnowledge": true,
    "hideBranding": true,
    "theme": "light",
    "autoEndChats": true,
    "meta": {
      "title": "text",
      "description": "text",
      "image": {
        "ownerID": "text",
        "ownerType": "text",
        "id": "text",
        "namespace": "text",
        "extension": "text",
        "s3KeyOriginal": "text",
        "userID": 1,
        "spaceID": "text",
        "documentID": "text",
        "nodeID": "text",
        "size": 1,
        "mimetype": "text",
        "metadata": {
          "ANY_ADDITIONAL_PROPERTY": "anything"
        },
        "type": "text",
        "name": "text",
        "description": "text",
        "ANY_ADDITIONAL_PROPERTY": "anything"
      }
    },
    "color": "text",
    "launcherIcon": {
      "type": "emoji",
      "value": "text"
    }
  }
}
{
  "ok": true,
  "item": {
    "id": "abc123DEF456",
    "name": "Sales Pipeline",
    "data": {
      "avatar": {
        "type": "custom",
        "data": {
          "file": {
            "ownerID": "abc123DEF456",
            "ownerType": "example",
            "id": "abc123DEF456",
            "namespace": "example",
            "extension": "example",
            "s3KeyOriginal": "example",
            "userID": 1,
            "spaceID": "abc123DEF456",
            "documentID": "abc123DEF456",
            "nodeID": "abc123DEF456",
            "size": 1,
            "mimetype": "image/png",
            "metadata": {},
            "type": "example",
            "name": "Sales Pipeline",
            "description": "Tracks deals from lead to close."
          }
        }
      },
      "conversationStarters": [
        {
          "id": "abc123DEF456",
          "text": "Follow up with client",
          "prompt": "Summarize the latest updates in this project."
        }
      ]
    },
    "preferences": {
      "mode": "template",
      "canCopyKnowledge": true,
      "hideBranding": true,
      "theme": "light",
      "autoEndChats": true,
      "meta": {
        "title": "Sales Pipeline",
        "description": "Tracks deals from lead to close.",
        "image": {
          "ownerID": "abc123DEF456",
          "ownerType": "example",
          "id": "abc123DEF456",
          "namespace": "example",
          "extension": "example",
          "s3KeyOriginal": "example",
          "userID": 1,
          "spaceID": "abc123DEF456",
          "documentID": "abc123DEF456",
          "nodeID": "abc123DEF456",
          "size": 1,
          "mimetype": "image/png",
          "metadata": {},
          "type": "example",
          "name": "Sales Pipeline",
          "description": "Tracks deals from lead to close."
        }
      },
      "color": "#4F46E5",
      "launcherIcon": {
        "type": "emoji",
        "value": "example"
      }
    }
  }
}

Add Project to Agent Knowledge

post

Create a knowledge project

Authorizations
OAuth2authorizationCodeRequired
Authorization URL: Token URL:
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
agentIdstringRequired
Body
projectIdstringRequired
Responses
200

Project knowledge created

application/json

Project knowledge created

okboolean · enumRequiredPossible values:
post/agents/{agentId}/knowledge/project
POST /api/v1/agents/{agentId}/knowledge/project HTTP/1.1
Host: www.taskade.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 20

{
  "projectId": "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"
    }
  }
}

Add Media to Agent Knowledge

post

Create a knowledge media

Authorizations
OAuth2authorizationCodeRequired
Authorization URL: Token URL:
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
agentIdstringRequired
Body
mediaIdstringRequired
Responses
200

Media knowledge created

application/json

Media knowledge created

okboolean · enumRequiredPossible values:
post/agents/{agentId}/knowledge/media
POST /api/v1/agents/{agentId}/knowledge/media HTTP/1.1
Host: www.taskade.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 18

{
  "mediaId": "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"
    }
  }
}

Remove Project from Agent Knowledge

delete

Remove a knowledge project

Authorizations
OAuth2authorizationCodeRequired
Authorization URL: Token URL:
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
agentIdstringRequired
projectIdstringRequired
Responses
200

Project knowledge removed

application/json

Project knowledge removed

okboolean · enumRequiredPossible values:
delete/agents/{agentId}/knowledge/project/{projectId}
DELETE /api/v1/agents/{agentId}/knowledge/project/{projectId} HTTP/1.1
Host: www.taskade.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "ok": true
}

Remove Media from Agent Knowledge

delete

Remove a media file from the agent's knowledge

Authorizations
OAuth2authorizationCodeRequired
Authorization URL: Token URL:
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
agentIdstringRequired
mediaIdstringRequired
Responses
200

Media knowledge removed

application/json

Media knowledge removed

okboolean · enumRequiredPossible values:
delete/agents/{agentId}/knowledge/media/{mediaId}
DELETE /api/v1/agents/{agentId}/knowledge/media/{mediaId} HTTP/1.1
Host: www.taskade.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "ok": true
}

Get Agent Conversations

get

Get agent conversations

Authorizations
OAuth2authorizationCodeRequired
Authorization URL: Token URL:
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
agentIdstringRequired
Query parameters
limitnumberOptionalDefault: 20
pagenumberOptionalDefault: 1
Responses
200

Agent conversations

application/json

Agent conversations

okboolean · enumRequiredPossible values:
get/agents/{agentId}/convos/
GET /api/v1/agents/{agentId}/convos/ HTTP/1.1
Host: www.taskade.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "ok": true,
  "items": [
    {
      "id": "abc123DEF456",
      "space_agent_id": "abc123DEF456",
      "status": "in_progress",
      "title": "Sales Pipeline",
      "data": {
        "llm": {
          "type": "openai",
          "name": "gpt-4.1"
        },
        "endedAt": 1
      }
    }
  ]
}

Get Specific Agent Conversation

get

Get agent conversation by id

Authorizations
OAuth2authorizationCodeRequired
Authorization URL: Token URL:
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
agentIdstringRequired
convoIdstringRequired
Responses
200

Agent conversation

application/json

Agent conversation

okboolean · enumRequiredPossible values:
get/agents/{agentId}/convos/{convoId}
GET /api/v1/agents/{agentId}/convos/{convoId} HTTP/1.1
Host: www.taskade.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "ok": true,
  "item": {
    "id": "abc123DEF456",
    "space_agent_id": "abc123DEF456",
    "status": "in_progress",
    "title": "Sales Pipeline",
    "data": {
      "llm": {
        "type": "openai",
        "name": "gpt-4.1"
      },
      "endedAt": 1
    }
  }
}

Last updated