---
title: "Returns all activities of the task with the specified id."
method: GET
path: "/tasks/{taskId}/activities"
tags: ["taskActivities"]
---

# Returns all activities of the task with the specified id.

`GET /tasks/{taskId}/activities`

The activities contain information about the type of the activity, which property was changed and by whom.
            This contains changes to first-level properties of the task, like name, description, status, etc., as well as several related entities, such as tags, assignments, etc.
            This does not include activities of sub-entities, like tasks of a project or comments on a task.

<Check title="Required Permissions" icon="key">Any authenticated user.</Check>

## Path parameters

- `taskId` string, uuid, required

## Query parameters

- `page` integer
- `pageSize` integer
- `orderby` string
- `filterby` string

## Headers

- `Authorization` string, required

## Response `200`

OK

- ActivityModel[]
  - `id` string, uuid
  - `originType` string, nullable — Gets or sets whether the activity originated from a human or an agent.
  - `threadId` string, uuid, nullable — Gets or sets the originating agent thread.
  - `threadAvailable` boolean — Gets or sets whether the originating thread can still be opened.
  - `agentId` string, uuid, nullable — Gets or sets the agent that produced the activity.
  - `agentNameSnapshot` string, nullable — Gets or sets the agent name captured when the run was accepted.
  - `executingUserId` string, uuid, nullable — Gets or sets the user whose permissions and ownership applied to the run.
  - `triggeredByUserId` string, uuid, nullable — Gets or sets the user who triggered the run when different from the executing user.
  - `entityType` string, nullable — The type of the entity
  - `entityId` string, uuid
  - `entity` NestedModel
    - `id` string, uuid — Gets or sets the id of the nested model.
    - `name` string, nullable — The name of the entity.
  - `createdBy` string, uuid
  - `updatedBy` string, uuid
  - `createdOn` string, date-time
  - `updatedOn` string, date-time
  - `eventType` string, nullable — The type of the event of this activity log (e.g: added, updated, deleted)
  - `eventDate` string, date-time
  - `changedProperty` string, nullable — The name of the property that has changed.
  - `oldPropertyValue` string, nullable — The previous value of the updated property (as string).
  - `newPropertyValue` string, nullable — The new value for the property (as string).
  - `oldProperty` unknown
  - `newProperty` unknown
  - `userId` string, uuid, nullable — The id of the user that performed the action that created this activity log entry.
  - `user` NestedUserModel
    - `id` string, uuid — Gets or sets the id of the nested model.
    - `firstName` string, nullable — The first name of the user.
    - `lastName` string, nullable — The last name of the user.
    - `hasImage` boolean, nullable — Whether this user has a profile image.
  - `parentId` string, uuid, nullable
  - `projectId` string, uuid, nullable
  - `project` BasicNameModel
    - `id` string, uuid — The unique identifier of the entity.
    - `name` string, nullable — The name of the entity.
    - `projectTypeIcon` string, nullable
    - `projectCompanyProfileImageUrl` string, nullable
  - `taskId` string, uuid, nullable
  - `task` NameModel
    - `id` string, uuid
    - `name` string, nullable
  - `assignedUserId` string, uuid, nullable
  - `assignedUser` NestedUserModel
    - `id` string, uuid — Gets or sets the id of the nested model.
    - `firstName` string, nullable — The first name of the user.
    - `lastName` string, nullable — The last name of the user.
    - `hasImage` boolean, nullable — Whether this user has a profile image.
  - `unassignedUserId` string, uuid, nullable
  - `unassignedUser` NestedUserModel
    - `id` string, uuid — Gets or sets the id of the nested model.
    - `firstName` string, nullable — The first name of the user.
    - `lastName` string, nullable — The last name of the user.
    - `hasImage` boolean, nullable — Whether this user has a profile image.
  - `dueDate` string, date-time, nullable
  - `duration` integer, nullable
  - `memberId` string, uuid, nullable
  - `member` NestedUserModel
    - `id` string, uuid — Gets or sets the id of the nested model.
    - `firstName` string, nullable — The first name of the user.
    - `lastName` string, nullable — The last name of the user.
    - `hasImage` boolean, nullable — Whether this user has a profile image.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found

---

[API](https://skmtc.net/awork-io/apis/api-v1-reference.md) · [All operations](https://skmtc.net/awork-io/apis/api-v1-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/awork-io/api-v1-reference/versions/f784a53f60df/schema)
