SDK Cookbook
Integration patterns for Taskade — agents, automations, projects, bundles, error handling, pagination, and testing.

Table of Contents
Setup & Authentication
A tiny HTTP helper
Per-request token override
TypeScript Types
Agents
Prompt an agent
Review past conversations
Attach knowledge to an agent
Handle rate limits with retry
Automations
Kick off an automation from code
Projects & Tasks
Create a project from Markdown
Add tasks
Mark a task complete
Webhooks
Receive an event in your app
Bundles (Import/Export)
Error Handling Taxonomy
err.status
Retry?
Typical Fix
Pagination
Testing & Mocking
Environment-based client
Mock with vitest / jest
Integration tests with a sandbox workspace
Related
TypeScript SDK (Preview)Action API v2 ReferenceWebhooksAutonomous AgentsLast updated
Was this helpful?