Agents

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

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
put
/agents/{agentId}/publicAccess

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
get
/agents/{agentId}

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
delete
/agents/{agentId}

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
patch
/agents/{agentId}

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
get
/agents/{agentId}/public-agent

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
patch
/agents/{agentId}/public-agent

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
post
/agents/{agentId}/knowledge/project

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
post
/agents/{agentId}/knowledge/media

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
delete
/agents/{agentId}/knowledge/project/{projectId}

Remove Media from Agent Knowledge

delete

Remove a knowledge media

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
delete
/agents/{agentId}/knowledge/media/{mediaId}

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
get
/agents/{agentId}/convos/

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
get
/agents/{agentId}/convos/{convoId}

Last updated