> For the complete documentation index, see [llms.txt](https://docs.we360.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.we360.ai/deployment-and-it-ops/integrations-and-api-access/integrations/oauth-for-direct-api-access/project-suite/list-tasks-of-a-project-api.md).

# List Tasks of a Project API

Search tasks within a project.

Search tasks within a project. Filter the project through `project.id` in the request body.

For filter syntax, see [Broken mention](broken://spaces/icuEWisKb5zNsnnUwY1Y/pages/HomtdDztCd3G62CVE1Jd).

### Endpoint

```http
POST https://api.in.we360.ai/api/v1/tasks/search
```

Use `page`, `size`, `sortBy`, and `direction` as query parameters. Supported sort fields include `lastModifiedDate`, `createdDate`, and `summary`.

### Request body

Return non-archived tasks in one project:

```json
{
  "equals": {
    "project.id": "a1b2c3d4-...",
    "archived": false
  },
  "hints": {
    "equals.project.id": "uuid"
  }
}
```

Filter by status, type, and assignee:

```json
{
  "equals": {
    "project.id": "a1b2c3d4-...",
    "archived": false
  },
  "contains": {
    "type": ["TASK", "EPIC", "BUG", "SUB_TASK", "CASE"],
    "status": ["<statusUuid>"]
  },
  "arrayContainsAny": {
    "assignee_ids": ["f9c8f8f8-..."]
  },
  "hints": {
    "equals.project.id": "uuid",
    "contains.status": "uuid",
    "contains.type": "we360_task_type",
    "arrayContainsAny.assignee_ids": "elementCollection"
  }
}
```

### Example

```bash
curl -X POST "https://api.in.we360.ai/api/v1/tasks/search?page=1&size=200&sortBy=lastModifiedDate&direction=desc" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer ${access_token}" \
  -d '{"equals":{"project.id":"a1b2c3d4-...","archived":false},"hints":{"equals.project.id":"uuid"}}'
```

### Response

```json
{
  "data": [
    {
      "id": "c7d8e9f0-aaaa-bbbb-cccc-ddddeeeeffff",
      "summary": "Draft deposition outline",
      "type": "TASK",
      "priority": "NORMAL",
      "status": "<statusUuid>",
      "due_date": "2026-04-05",
      "project": { "id": "a1b2c3d4-...", "name": "Case 4821 — Acme Litigation", "code": "ACME" },
      "assignee_ids": ["f9c8f8f8-..."],
      "task_number": 142,
      "archived": false,
      "last_modified_date": "2026-04-03T10:15:00",
      "story_points": 3
    }
  ],
  "meta": { "totalCount": 23 }
}
```

Resolve the returned status ID through the project's `configuration.statuses`. Observed task types include `TASK`, `BUG`, `EPIC`, `SUB_TASK`, `STORY`, and `CASE`.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.we360.ai/deployment-and-it-ops/integrations-and-api-access/integrations/oauth-for-direct-api-access/project-suite/list-tasks-of-a-project-api.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
