---
title: "List Tasks"
method: GET
path: "/tasks"
tags: ["Tasks"]
---

# List Tasks

`GET /tasks`

List the user's tasks.

## Query parameters

- `size` integer
- `cursor` string
- `userId` string
- `startDate` string, date
- `endDate` string, date
- `sourceId` string

## Response `200`

OK

- TaskListResponse
  - `code` 'OK' | 'CREATED' | 'INVALID_CREDENTIALS' | 'INVALID_PARAMETERS' | 'INVALID_TOKEN' | 'UNAUTHORIZED_ACCESS' | 'MISSING_RESOURCE' | 'REQUEST_LIMIT_EXCEEDED' | 'SERVER_ERROR' | 'UNSUPPORTED_METHOD' | 'SERVER_UNAVAILABLE' | 'TIME_LIMIT_EXCEEDED' — Request status code
  - `message` string — Message response to the request
  - `requestId` string — Unique ID that is added to the body of every response for easy traceability of the request in our logs.
  - `data` object
    - `nextCursor` string — The next cursor value that can be used in the following query.
    - `items` Task[]
      - `id` string, required — Task id
      - `type` 'LINK_ACCOUNT' | 'ANALYZE_ARCHIVE' | 'CLASSIFY_ARCHIVE' | 'UPDATE_ACCOUNT', required — Task type
      - `startedAt` string, date-time, required — Date and time
      - `finishedAt` string, date-time — Date and time
      - `status` 'Started' | 'Finished', required — Task status
      - `datapoints` RefDatapoint[] — The datapoints saved when the task finished
      - `metadata` ObjectReferenceMetadata, required — Metadata related to account-specific data
        - `itemCreatedAt` string, date-time, required — Date and time
        - `createdAt` string, date-time, required — Date and time
        - `accountId` string — The accountId of this object
        - `sourceId` string, required — The ACCOUNT or ARCHIVE ID associated with this object
        - `sourceType` 'ACCOUNT' | 'UPLOAD' | 'ARCHIVE' | 'SOCIAL_SECURITY', nullable, required — Source Type
        - `userId` string, required — The user ID associated with this object
        - `providerId` string, required — The provider ID associated with this object

## Changes

- **2025-07-14** (v1) `2e8500e069bb` — 1 warning
  - added the new `SOCIAL_SECURITY` enum value to the `data/items/items/metadata/sourceType` response property for the response status `200`
- **2024-07-16** (v1) `9ec0c75b24b5` — 1 warning
  - added the new `CLASSIFY_ARCHIVE` enum value to the `data/items/items/type` response property for the response status `200`
- **2024-06-27** (v1) `4f4b86b82632` — 1 breaking
  - the response property `data/items/items/metadata/sourceType` became nullable for the status `200`

[Change history](https://skmtc.dev/smileapi/apis/smile-api/changes/tasks/get.md)

---

[API](https://skmtc.dev/smileapi/apis/smile-api.md) · [All operations](https://skmtc.dev/smileapi/apis/smile-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/smileapi/smile-api/revisions/a4930eb49f4d/schema)
