---
search:
  tags:
    - tasks
    - GET
seo:
  description: >-
    Returns complete task details including all metadata, description,…
    Reference for the GET /tasks/{identifier} endpoint in the Leadtime Public
    API API.
sidebar:
  badge: GET
  label: Get task details by UUID or shortNumber
title: Get task details by UUID or shortNumber
type: openapi-operation
---
Returns complete task details including all metadata, description, comments, history, time logs, participants, subtasks, and custom fields. The description and comment bodies are returned in HTML format (converted from the internal editor format). Accepts both UUID (id) and numeric shortNumber identifiers. Access is controlled by project permissions and guest access settings. Organization members can only access tasks with guestAccess enabled.

**Embedded images and files in HTML:** Rich text may contain `<div data-type="appImage">`, `<div data-type="appFile">`, or `<div data-type="appVideo">` nodes with a `fileId` attribute (UUID) and `filename`. Images are **not** inlined as base64 in this API response.

**Downloading embedded binaries for display or AI vision:** Use authenticated HTTP GET on the Public API endpoint `/workspace/files/{fileId}`, sending the same Bearer token. Integrations and agents should parse `fileId` from the HTML, then fetch it only when they need the binary content. Plain `/api/files/public/...` is reserved for explicitly public or signed-capability assets.

<Operation source="api-reference" id="taskscontroller-gettaskdetails" />
