Skip to content
DocsActivity

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.

View as Markdown

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.

HTTP
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 read bucket
  • 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

#
NameInTypeRequiredDescription
taskIdpathid (task_…)YesTask id: task_ followed by 32 lowercase hex digits, for example task_0b6f1d2a8c9e4f00a1b2c3d4e5f60718.
kindsqueryarray of "created" or "updated" or "comment" or "attachment" or "deleted"NoOnly entries of these kinds (created, updated, comment, attachment, deleted), for example ["comment","attachment"] (kinds=comment,attachment in a query string). Up to 5 items.
limitqueryinteger, 1–100NoHow many to return, 1–100, for example 50. Defaults to 50 (25 over MCP).
cursorquerystringNoThe 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.

FieldTypeDescription
object"list"
hasMorebooleanTrue when there is a next page.
nextCursorstring or nullPass it as cursor to read the next page; null on the last page.
dataarray of Activity

Headers it sends: Link.

Errors

#
StatusCodeMeaning
400invalid_idThe id is for a different kind of resource
400invalid_cursorThe cursor is not valid
403insufficient_scopeThe credential lacks the required access
404not_foundNot 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"
HTTP
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.

HTTP
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 read bucket
  • 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

#
NameInTypeRequiredDescription
projectIdpathid (prj_…)YesProject id: prj_ followed by 32 lowercase hex digits, for example prj_0b6f1d2a8c9e4f00a1b2c3d4e5f60718.
sincequerystring (date-time) or date (YYYY-MM-DD)NoOnly 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).
untilquerystring (date-time) or date (YYYY-MM-DD)NoOnly 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).
actorUserIdqueryid (usr_…) or "me"NoOnly what this person did (usr_…), or me; people who have left the project too. Not with memberId.
memberIdqueryid (mem_…)NoOnly what this member did (mem_…). Not with actorUserId.
taskIdqueryid (task_…)NoOnly entries about this task (task_…), which must be in the project.
kindsqueryarray of "created" or "updated" or "comment" or "attachment" or "deleted"NoOnly entries of these kinds (created, updated, comment, attachment, deleted), for example ["comment","attachment"] (kinds=comment,attachment in a query string). Up to 5 items.
viaqueryarray of "web" or "api" or "mcp" or "assistant" or "system"NoOnly changes that came this way (web for the app, api, mcp, assistant, system), for example ["mcp","api"]. Up to 5 items.
timeZonequerystringNoThe IANA time zone dates in since and until count in, for example Europe/Berlin; UTC when left out. Up to 64 characters.
limitqueryinteger, 1–100NoHow many to return, 1–100, for example 50. Defaults to 50 (25 over MCP).
cursorquerystringNoThe 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.

FieldTypeDescription
object"list"
hasMorebooleanTrue when there is a next page.
nextCursorstring or nullPass it as cursor to read the next page; null on the last page.
dataarray of Activity

Headers it sends: Link.

Errors

#
StatusCodeMeaning
400invalid_idThe id is for a different kind of resource
400invalid_cursorThe cursor is not valid
403insufficient_scopeThe credential lacks the required access
404not_foundNot 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"
HTTP
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
}