---
title: "Get chronological history of work items for a context"
method: GET
path: "/work-center-service/work-items"
tags: ["Work Center Service"]
---

# Get chronological history of work items for a context

`GET /work-center-service/work-items`

## Request

- Base URL: `https://example.itential.io`
- URL: `https://example.itential.io/work-center-service/work-items`
- Auth: none declared

Returns chronological history of work items for a context.

## Query parameters

- `rootExecutionId` string

## Response `200`

Context work items retrieved successfully

- WorkCenterServiceGetContextHistoryResponse200
  - `items` WorkCenterServiceWorkItemsGetResponsesContentApplicationJsonSchemaItemsItems[], required: Chronological list of work items in the context.
    - `id` string, uuid, required: Unique identifier (UUID) of the work item.
    - `name` string, required: Human-readable name of the work item.
    - `summary` string, required: Brief summary of the work item.
    - `description` string: Optional detailed description of the work item.
    - `status` 'pending' | 'completed' | 'canceled', required: Current status of the work item.
    - `view` string, required: Relative URL path to the UI view for this task.
    - `execution` WorkCenterServiceWorkItemsGetResponsesContentApplicationJsonSchemaItemsItemsExecution, required: Execution that invoked createWorkItem.
      - `id` string, required: Unique identifier of the running job or session that invoked createWorkItem.
      - `name` string, required: Human-readable name of the parent job or session.
      - `type` string, required: Opaque execution type passed to the ancestry adapter (e.g. job, session).
      - `url` string: Optional URL to access the execution.
      - `description` string: Optional description of the execution, useful for differentiating between concurrent executions.
    - `metrics` WorkCenterServiceWorkItemsGetResponsesContentApplicationJsonSchemaItemsItemsMetrics, required: Work item operational metrics.
      - `owner` string, required: Account ID of the operator who claimed the work item.
      - `ownerUsername` string: Resolved username of the operator who claimed the work item.
      - `claimTime` string, required: ISO 8601 timestamp when the work item was claimed.
      - `finishState` string, required: Opaque finish state string emitted by the view component on completion.
    - `createdAt` string, required: ISO 8601 creation timestamp.
    - `updatedAt` string, required: ISO 8601 last updated timestamp.
    - `canView` boolean, required: Whether the requesting user has write access to this work item.

## Other responses

- `500`: Error response from API

## Changes

- **2026-10-31** `2095cc90e583`: 2 info
  - api tag `Work Center Service` added
  - api tag `workCenterService` removed

[Operation history](https://skmtc.dev/itential/apis/itential-2/changes/work-center-service/work-items/get.md)

---

[API](https://skmtc.dev/itential/apis/itential-2.md) - [All operations](https://skmtc.dev/itential/apis/itential-2/llms.txt) - [OpenAPI document](https://skmtc.dev/itential/apis/itential-2/revisions/2095cc90e583?raw)
