---
title: "Get task"
method: GET
path: "/projects/{project_id}/tasks/{id}"
tags: ["Tasks"]
---

# Get task

`GET /projects/{project_id}/tasks/{id}`

Returns full details on a task by task_id, including task-level and assignee task file attachments.

## Path parameters

- `project_id` integer, required
- `id` integer, required

## Response `200`

successfully returns the task

- TaskExtended
  - `id` integer
  - `name` string — Name of the task
  - `description` string — Description of the task - supports limited subset of HTML &lt;b&gt;, &lt;ul&gt;, &lt;li&gt;, &lt;br&gt;, and &lt;a&gt;.
  - `description_as_string` string — Plain text description of the task
  - `status` 'to_do' | 'pending_review' | 'approved' — Status of the task
  - `created_at` string, date-time
  - `updated_at` string, date-time
  - `assignees` Assignee[]
    - `id` integer
    - `display_name` string
    - `name` string
    - `email` string, nullable — Contact's global primary email, or null if the contact has none.
  - `comments` Comment[]
    - `id` integer
    - `commentable_type` string — Type of the commentable (e.g. "Task")
    - `commentable_id` integer — ID of the commentable (e.g. "Task")
    - `commenter_type` string — Type of the commenter (e.g. "User" or "Assignee")
    - `commenter_id` integer — ID of the commenter (e.g. "User" or "Assignee")
    - `content` string — HTML content of the comment
    - `content_as_string` string — Plain text content of the comment
    - `created_at` string, date-time
    - `updated_at` string, date-time
  - `project` Project — Summary representation of a project. Contains scalar attributes plus the owning user and status — no assignees, tasks, tags, or entity. Use GET /projects/{id}, or POST /projects, for the ProjectExtended representation that includes those associations.
    - `id` integer
    - `name` string
    - `tax_year` integer, nullable — Four-digit year parsed from the project name, or null if the name contains no recent year.
    - `idempotency_key` string, nullable
    - `metadata` object
    - `last_uploaded` string, date-time, nullable — When a file was last uploaded to this project, or null if none has been.
    - `updated_at` string, date-time
    - `archived_at` string, date-time, nullable — When the project was archived, or null if it is active.
    - `user` User
      - `id` integer
      - `email` string
      - `first_name` string
      - `last_name` string
      - `idempotency_key` string, nullable
    - `project_status` ProjectStatus
      - `id` integer
      - `name` string
      - `position` integer
  - `attached_files` AttachedFile[] — Task-level and assignee task file attachments.
    - `attachment_id` integer — Identifier used to retrieve this file's text extraction.
    - `blob_id` integer
    - `filename` string
    - `content_type` string
    - `byte_size` integer
    - `download_url` string, uri, nullable — Temporary download URL valid for 10 minutes.
    - `created_at` string, date-time

## Other responses

- `404` — task not found

---

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