---
title: "List objective tasks"
method: GET
path: "/v1/workspaces/{workspaceId}/objectives/{objectiveId}/tasks"
tags: ["ObjectiveService", "Objectives"]
---

# List objective tasks

`GET /v1/workspaces/{workspaceId}/objectives/{objectiveId}/tasks`

Lists all tasks for an objective

## Path parameters

- `workspaceId` string, required
- `objectiveId` string, required

## Query parameters

- `limit` integer
- `cursor` string
- `sortOrder` string

## Response `200`

OK

- ListObjectiveTasksResponse
  - `items` ObjectiveTask[]
    - `metadata` BareMetadata, required — BareMetadata contains the minimal metadata for a resource: the ID and an optional human-readable name. These are used for reference fields where the full metadata (account scoping, timestamps, labels, external IDs) is not needed — e.g., the tool references inside an agent variation spec or the tools assigned to an objective. Both fields are server-populated; clients provide IDs through sibling fields rather than by constructing a BareMetadata themselves.
      - `id` string
      - `name` string — Human-readable name of the referenced resource, populated by the server on reads for convenience. Absent on references to resources that do not have a name (e.g., objective tasks).
    - `data` ObjectiveTaskData, required
      - `number` integer, required — The sequential number of this task within the objective (auto-assigned, 1-based)
      - `task` string, required — Description of the task to be completed
      - `completed` boolean, required — Whether the task has been completed
      - `completedAt` string, date-time — Timestamp when the task was marked as completed
  - `pagination` Page — Page carries cursor-based pagination state. There is no total: the cursor walks the result set without ever counting it, and a count would cost a second query on every list.
    - `nextCursor` string

## Other responses

- `default` — Default error response

## Changes

- **2026-07-08** `a99a473ee3ad` — 1 warning
  - removed the optional property `pagination/total` from the response with the `200` status

[Change history](https://skmtc.dev/cadenya/apis/cadenya-api/changes/v1/workspaces/:workspaceId/objectives/:objectiveId/tasks/get.md)

---

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