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

TypeScript SDK (Preview)

The TypeScript SDK for Taskade is in preview. Here's how to call the API today with plain HTTP, and what the generated client will look like.

Call the API today (no SDK required)

Authenticate with a personal access token and hit either API directly.

const token = process.env.TASKADE_TOKEN!;

// List your projects (RESTful v1)
const res = await fetch("https://www.taskade.com/api/v1/me/projects", {
  headers: { Authorization: `Bearer ${token}` },
});
const { items } = await res.json();

A tiny typed wrapper is all most integrations need:

async function taskade(operation: string, body: unknown) {
  const res = await fetch(`https://www.taskade.com/api/v2/${operation}`, {
    method: "POST",
    headers: {
      Authorization: `Bearer ${process.env.TASKADE_TOKEN}`,
      "Content-Type": "application/json",
    },
    body: JSON.stringify(body),
  });
  if (!res.ok) throw new Error(`${operation} failed: ${res.status}`);
  return res.json();
}

const { items } = await taskade("listSpaces", {});

cURL & Python

What the SDK will look like

@taskade/sdk is a generated client for the Action API v2. When it's published you'll construct an HttpClient (which carries your token) and a TaskadePublicApi instance whose methods map 1:1 to the v2 operations:

Method names match the v2 operations exactly — listSpaces, createProject, promptAgent, exportBundle, and so on. See the Action API v2 Reference for the full list and request shapes.

Resources

Resource
Description

Complete RESTful endpoint docs (full task CRUD)

The action-based API the SDK wraps

Personal access tokens and OAuth 2.0

Connect AI tools to your workspace

Last updated

Was this helpful?