---
title: "Get Task Metadata (Legacy)"
method: GET
path: "/v1/task/{taskId}"
tags: ["Tasks (Legacy)"]
---

# Get Task Metadata (Legacy)

`GET /v1/task/{taskId}`

## Request

- Base URL: `https://api.anchorbrowser.io`
- URL: `https://api.anchorbrowser.io/v1/task/{taskId}`
- Auth: API key in header `anchor-api-key`

Retrieves task metadata without the code content. Useful for getting task information
without downloading the full task code.

If you are using the new Task Builder, see the non-deprecated Tasks endpoints in this API reference.

## Path parameters

- `taskId` string, uuid, required

## Response `200`

Task metadata retrieved successfully

- TaskMetadataResponse
  - `data` TaskMetadata
    - `id` string, uuid, required: Unique identifier for the task
    - `name` string, required: Task name
    - `teamId` string, uuid, required: Team identifier that owns this task
    - `description` string: Optional description of the task
    - `latest` string, required: Latest version identifier
    - `deleted` boolean, required: Whether the task is soft deleted
    - `createdAt` string, date-time, required: Task creation timestamp
    - `updatedAt` string, date-time, required: Task last update timestamp

## Other responses

- `404`: Task not found
- `500`: Failed to retrieve task

## Changes

- **2026-10-16** `b3bfdb98c79e`: 1 info
  - endpoint added
- **2026-03-20** `c1198ecebd31`: 1 breaking
  - api path removed without deprecation
- **2026-02-25** `ae25b3e0f20d`: 2 info
  - api tag `Tasks (Legacy)` added
  - api tag `Tasks` removed
- **2026-02-18** `4d2d945e5967`: 2 info
  - api tag `Tasks` added
  - api tag `Tasks (Legacy)` removed
- **2026-02-18** `cdc369172404`: 2 info
  - api tag `Tasks (Legacy)` added
  - api tag `Tasks` removed

[Operation history](https://skmtc.dev/anchorbrowser/apis/anchorbrowser-api/changes/v1/task/:taskId/get.md)

---

[API](https://skmtc.dev/anchorbrowser/apis/anchorbrowser-api.md) - [All operations](https://skmtc.dev/anchorbrowser/apis/anchorbrowser-api/llms.txt) - [OpenAPI document](https://skmtc.dev/anchorbrowser/apis/anchorbrowser-api/revisions/9d755f22df0e?raw)
