---
title: "Get list of tasks"
method: GET
path: "/v2/actor-tasks"
tags: ["Actor tasks"]
---

# Get list of tasks

`GET /v2/actor-tasks`

Gets the complete list of tasks that a user has created or used.

The response is a list of objects in which each object contains essential
information about a single task.

The endpoint supports pagination using the `limit` and `offset` parameters,
and it does not return more than a 1000 records.

By default, the records are sorted by the `createdAt` field in ascending
order; therefore you can use pagination to incrementally fetch all tasks while new
ones are still being created. To sort the records in descending order, use
the `desc=1` parameter.

## Query parameters

- `offset` number, double
- `limit` number, double
- `desc` boolean

## Response `200`

- ListOfTasksResponse
  - `data` ListOfTasks, required — Common pagination fields for list responses.
    - `total` integer, required — The total number of items available across all pages.
    - `offset` integer, required — The starting position for this page of results.
    - `limit` integer, required — The maximum number of items returned per page.
    - `desc` boolean, required — Whether the results are sorted in descending order.
    - `count` integer, required — The number of items returned in this response.
    - `items` TaskShort[], required
      - `id` string, required
      - `userId` string, required
      - `actId` string, required
      - `actName` string, nullable
      - `name` string, required
      - `username` string, nullable
      - `actUsername` string, nullable
      - `createdAt` string, date-time, required
      - `modifiedAt` string, date-time, required
      - `stats` TaskStats
        - `totalRuns` integer

## Other responses

- `400` — Bad request - invalid input parameters or request body.
- `401` — Unauthorized - authentication required or invalid token.
- `403` — Forbidden - insufficient permissions to perform this action.
- `405` — Method not allowed.
- `429` — Too many requests - rate limit exceeded.

---

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