API reference
Activity
The lasting history of a project and its tasks: who changed what, when, and through which app (`via`). Endpoints, parameters, examples and errors.
The lasting history of a project and its tasks: who changed what, when, and through which app (via). To keep a copy of a project in sync, read the changes feed (Events) instead.
List a task’s history
#Lists a task’s history, newest first, with comments, changes and files.
GET /api/v1/tasks/{taskId}/activity- Scopes:
tasks:read - Who: Viewer or above in the project
- Project-limited credentials: allowed inside the credential’s projects; anything else is
not_found - Retries: a read; safe to repeat
- Rate limit: the
readbucket - MCP tool:
get_activity
Lists everything that happened to a task, newest first, in pages of up to 100, with no ceiling: when it was created, each change (with the fields it changed), comments and files. kinds narrows it. Each entry says who, when, and through which app (via).
Parameters
#| Name | In | Type | Required | Description |
|---|---|---|---|---|
taskId | path | id (task_…) | Yes | Task id: task_ followed by 32 lowercase hex digits, for example task_0b6f1d2a8c9e4f00a1b2c3d4e5f60718. |
kinds | query | array of "created" or "updated" or "comment" or "attachment" or "deleted" | No | Only entries of these kinds (created, updated, comment, attachment, deleted), for example ["comment","attachment"] (kinds=comment,attachment in a query string). Up to 5 items. |
limit | query | integer, 1–100 | No | How many to return, 1–100, for example 50. Defaults to 50 (25 over MCP). |
cursor | query | string | No | The nextCursor from the previous page, to read the next one. Leave it out for the first page; start again without it when you change filters. Up to 2,048 characters. |
Response
#200 with a list of Activity objects; while hasMore is true, pass nextCursor back as cursor (with the same filters) for the next page.
| Field | Type | Description |
|---|---|---|
object | "list" | |
hasMore | boolean | True when there is a next page. |
nextCursor | string or null | Pass it as cursor to read the next page; null on the last page. |
data | array of Activity |
Headers it sends: Link.
Errors
#| Status | Code | Meaning |
|---|---|---|
| 400 | invalid_id | The id is for a different kind of resource |
| 400 | invalid_cursor | The cursor is not valid |
| 403 | insufficient_scope | The credential lacks the required access |
| 404 | not_found | Not found |
And the errors every operation can return: invalid_request, validation_failed, token_in_url, unauthenticated, invalid_token, rate_limited, internal_error, service_unavailable.
Example
#curl https://taskloader.com/api/v1/tasks/task_0b6f1d2a8c9e4f00a1b2c3d4e5f60718/activity \
-H "Authorization: Bearer $TASKLOADER_API_KEY"const response = await fetch('https://taskloader.com/api/v1/tasks/task_0b6f1d2a8c9e4f00a1b2c3d4e5f60718/activity', {
headers: {
Authorization: `Bearer ${process.env.TASKLOADER_API_KEY}`,
},
});
if (!response.ok) {
const problem = await response.json();
throw new Error(`${problem.code}: ${problem.detail}`);
}
const taskActivity = await response.json();import os
import requests
response = requests.get(
"https://taskloader.com/api/v1/tasks/task_0b6f1d2a8c9e4f00a1b2c3d4e5f60718/activity",
headers={
"Authorization": f"Bearer {os.environ['TASKLOADER_API_KEY']}",
},
timeout=30,
)
if not response.ok:
problem = response.json()
raise RuntimeError(f"{problem['code']}: {problem['detail']}")
task_activity = response.json()HTTP/1.1 200 OK
Content-Type: application/json
{
"object": "list",
"data": [
{
"object": "activity",
"id": "act_0b6f1d2a8c9e4f00a1b2c3d4e5f60718",
"projectId": "prj_0b6f1d2a8c9e4f00a1b2c3d4e5f60718",
"task": {
"id": "task_0b6f1d2a8c9e4f00a1b2c3d4e5f60718",
"key": "TL-012",
"ref": "northwind/website-launch/TL-012",
"title": "Write the launch announcement"
},
"kind": "updated",
"message": "moved this task to In progress",
"changedFields": [
"status"
],
"actor": {
"userId": "usr_kq3Xb1W9pZ0aLm7c",
"name": "Maya Chen"
},
"via": {
"channel": "api",
"label": "API key “CI”"
},
"createdAt": "2026-11-18T10:00:00.123Z"
}
],
"hasMore": false,
"nextCursor": null
}List a project’s history
#Lists what happened in a project, newest first, filtered by time, person, task or kind.
GET /api/v1/projects/{projectId}/activity- Scopes:
tasks:read - Who: Viewer or above in the project
- Project-limited credentials: allowed inside the credential’s projects; anything else is
not_found - Retries: a read; safe to repeat
- Rate limit: the
readbucket - MCP tool:
get_activity
Lists a project’s history, newest first, in pages of up to 100: new tasks, changes, comments, files and deleted tasks. Filter by time (since, until: RFC 3339 times, or dates that count in timeZone), by who acted (actorUserId or memberId), by task, by kind and by channel (via). A person or member who is unknown in the project, or a task that is not in it, is a 400, never an ignored filter.
Parameters
#| Name | In | Type | Required | Description |
|---|---|---|---|---|
projectId | path | id (prj_…) | Yes | Project id: prj_ followed by 32 lowercase hex digits, for example prj_0b6f1d2a8c9e4f00a1b2c3d4e5f60718. |
since | query | string (date-time) or date (YYYY-MM-DD) | No | Only entries at or after this moment: an RFC 3339 time such as 2026-11-18T09:00:00Z, or a date such as 2026-11-16 (from the start of that day in timeZone). |
until | query | string (date-time) or date (YYYY-MM-DD) | No | Only entries at or before this moment: an RFC 3339 time such as 2026-11-18T17:00:00Z, or a date such as 2026-11-18 (to the end of that day in timeZone). |
actorUserId | query | id (usr_…) or "me" | No | Only what this person did (usr_…), or me; people who have left the project too. Not with memberId. |
memberId | query | id (mem_…) | No | Only what this member did (mem_…). Not with actorUserId. |
taskId | query | id (task_…) | No | Only entries about this task (task_…), which must be in the project. |
kinds | query | array of "created" or "updated" or "comment" or "attachment" or "deleted" | No | Only entries of these kinds (created, updated, comment, attachment, deleted), for example ["comment","attachment"] (kinds=comment,attachment in a query string). Up to 5 items. |
via | query | array of "web" or "api" or "mcp" or "assistant" or "system" | No | Only changes that came this way (web for the app, api, mcp, assistant, system), for example ["mcp","api"]. Up to 5 items. |
timeZone | query | string | No | The IANA time zone dates in since and until count in, for example Europe/Berlin; UTC when left out. Up to 64 characters. |
limit | query | integer, 1–100 | No | How many to return, 1–100, for example 50. Defaults to 50 (25 over MCP). |
cursor | query | string | No | The nextCursor from the previous page, to read the next one. Leave it out for the first page; start again without it when you change filters. Up to 2,048 characters. |
Response
#200 with a list of Activity objects; while hasMore is true, pass nextCursor back as cursor (with the same filters) for the next page.
| Field | Type | Description |
|---|---|---|
object | "list" | |
hasMore | boolean | True when there is a next page. |
nextCursor | string or null | Pass it as cursor to read the next page; null on the last page. |
data | array of Activity |
Headers it sends: Link.
Errors
#| Status | Code | Meaning |
|---|---|---|
| 400 | invalid_id | The id is for a different kind of resource |
| 400 | invalid_cursor | The cursor is not valid |
| 403 | insufficient_scope | The credential lacks the required access |
| 404 | not_found | Not found |
And the errors every operation can return: invalid_request, validation_failed, token_in_url, unauthenticated, invalid_token, rate_limited, internal_error, service_unavailable.
Example
#curl 'https://taskloader.com/api/v1/projects/prj_0b6f1d2a8c9e4f00a1b2c3d4e5f60718/activity?since=2026-11-16&kinds=comment' \
-H "Authorization: Bearer $TASKLOADER_API_KEY"const response = await fetch('https://taskloader.com/api/v1/projects/prj_0b6f1d2a8c9e4f00a1b2c3d4e5f60718/activity?since=2026-11-16&kinds=comment', {
headers: {
Authorization: `Bearer ${process.env.TASKLOADER_API_KEY}`,
},
});
if (!response.ok) {
const problem = await response.json();
throw new Error(`${problem.code}: ${problem.detail}`);
}
const projectActivity = await response.json();import os
import requests
response = requests.get(
"https://taskloader.com/api/v1/projects/prj_0b6f1d2a8c9e4f00a1b2c3d4e5f60718/activity",
params={"since": "2026-11-16", "kinds": "comment"},
headers={
"Authorization": f"Bearer {os.environ['TASKLOADER_API_KEY']}",
},
timeout=30,
)
if not response.ok:
problem = response.json()
raise RuntimeError(f"{problem['code']}: {problem['detail']}")
project_activity = response.json()HTTP/1.1 200 OK
Content-Type: application/json
{
"object": "list",
"data": [
{
"object": "activity",
"id": "act_0b6f1d2a8c9e4f00a1b2c3d4e5f60718",
"projectId": "prj_0b6f1d2a8c9e4f00a1b2c3d4e5f60718",
"task": {
"id": "task_0b6f1d2a8c9e4f00a1b2c3d4e5f60718",
"key": "TL-012",
"ref": "northwind/website-launch/TL-012",
"title": "Write the launch announcement"
},
"kind": "comment",
"message": "The draft is in the shared folder. Can someone check the dates?",
"changedFields": null,
"actor": {
"userId": "usr_kq3Xb1W9pZ0aLm7c",
"name": "Maya Chen"
},
"via": {
"channel": "web",
"label": null
},
"createdAt": "2026-11-18T10:00:00.123Z"
}
],
"hasMore": false,
"nextCursor": null
}