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

# Get a task

`GET /tasks/{id}`

Get a single task by the ID provided.

## Path parameters

- `id` string, required

## Response `200`

Task

- Task — Adds an htmlUrl string attribute that represents a URL of an HTML representation of the response model.
  - `htmlUrl` string — The link to the entity within the app.
  - `htmlUrlPath` string — The path to the entity within the app.
  - `id` string — The API ID of this entity, formatted {integer}-{entityType}
  - `recurrenceRule` RecurrenceRule — Adds an htmlUrl string attribute that represents a URL of an HTML representation of the response model.
    - `htmlUrl` string — The link to the entity within the app.
    - `htmlUrlPath` string — The path to the entity within the app.
    - `rule` string — An RRULE-compatible string defining the recurrence pattern. See https://datatracker.ietf.org/doc/html/rfc5545#section-3.3.10 and https://icalendar.org/iCalendar-RFC-5545/3-3-10-recurrence-rule.html
    - `mode` 'dueDate' | 'completion' — How the next due date is calculated. 'dueDate' follows the recurrence sequence regardless of completion; 'completion' schedules the next task relative to when the prior one was completed.
    - `id` string — The API ID of this entity, formatted {integer}-{entityType}

---

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