---
title: "Get single pending task"
method: GET
path: "/task/{uid}"
tags: ["Tasks"]
---

# Get single pending task

`GET /task/{uid}`

Retrieves a pending task by uid.

## Path parameters

- `uid` string, required — Task uid

## Response `200`

Info on pending task

- Task — Task schema.
  - `data` object, required — A JSON object containing the task data, structured in JSON Schema format. This field includes a detailed schema representation of the task, as well as an embedded HTML description for visual rendering. The schema contains metadata about the form, including labels, input elements, and structure, which can be used to render a dynamic form in a UI.
  - `expiry` string, date-time, nullable, required — The expiry datetime of the task (timezone aware). Null if the task does not expire.
  - `uid` string, required — Task uid

## Other responses

- `422` — Validation Error

---

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