---
title: "One page of a batch's items"
method: GET
path: "/v1/contract-desk/todo/items"
tags: ["Contract Desk"]
---

# One page of a batch's items

`GET /v1/contract-desk/todo/items`

## Request

- Base URL: `https://api.talonic.com`
- URL: `https://api.talonic.com/v1/contract-desk/todo/items`
- Auth: HTTP bearer

The batch a key from `GET /v1/contract-desk/todo` names, worked out again on the day of the read, and one page of its items: first those due today or later (soonest first), then the overdue ones (most recently missed first), then the undated ones; ties by site, CRM contract and id (unknowns last). Today is the UTC date. An item's payload leaves out a finding's `contract_ids`. Each item carries the contract line it sits on (null for a site finding and for an item without a place in the tree) and, for a key date or process step, the Contracts contract it is on (`contract_id`, `contract_key`), and every item the name of its site (`site_name`, null without a place). A key that names no items (any longer) answers `batch: null` and an empty page. Requires scope `read`.

## Query parameters

- `batch` string, required
- `page` integer
- `limit` integer

## Response `200`

The batch and the page.

- object
  - `batch` ContractDeskBatch, nullable: The open items of one section with the same team, kind and group.
    - `key` string: Opens the batch (`GET /v1/contract-desk/todo/items?batch=`).
    - `section` 'now' | 'month' | 'behind' | 'later' | 'none' | 'info'
    - `kind` 'value' | 'documents_missing' | 'site_check' | 'text_check' | 'deadline' | 'step' | 'issue'
    - `group_key` string: value: `<attribute>|<state>`; findings: the finding code; deadline: the key date kind; step: the rule id; documents_missing: itself.
    - `team` string: Never null: an item stored without a team counts under the default team.
    - `count` integer: Items in the batch.
    - `contracts` integer: CRM contracts, plus the Contracts contracts of items without a place in the tree.
    - `sites` integer
    - `overdue` integer: Items due before today (UTC): missed and still open.
    - `earliest_due` string, date, nullable: The earliest due date of all its items; a past day when one is overdue.
    - `next_due` string, date, nullable: The earliest due date of its items that is today or later; null when none is.
    - `label` object: From the items: field_key, field_label and state (value); code (findings); date_kind (deadline); rule_id and rule_no (step).
      - `field_key` string
      - `field_label` string
      - `state` string
      - `code` string
      - `date_kind` string
      - `rule_id` string
      - `rule_no` integer
  - `data` intersection[]
    - intersection
      - [`ContractDeskItem`](https://skmtc.dev/talonic/apis/talonic-api/revisions/9f6d53e2ab5e/schema?at=%2Fcomponents%2Fschemas%2FContractDeskItem)
      - object
        - `contract` object, nullable: The CRM contract the item sits on.
          - `crm_key` string
          - `name` string, nullable
          - `number` string, nullable
          - `partner` string, nullable
          - `site_key` string
          - `site_name` string, nullable
        - `site_name` string, nullable: The name of the item's site: its contract's site, else its own (a site finding); null for an item without a place in the tree.
        - `contract_id` string, uuid, nullable: The Contracts contract of a key date or process step.
        - `contract_key` string, nullable
  - `total` integer: Items in the batch.
  - `page` integer
  - `limit` integer

## Other responses

- `400`: The key does not parse (unknown section or kind, no team, a group that is not base64url, a control character in its team or group), or a page or limit that is not a whole number from 1.
- `403`: The key lacks the `read` scope, or its person may not see every document the index names.
- `404`: The workspace has not added the app, or is not in the pilot.

## Changes

- **2026-12-04** `88d2070c4878`: 2 warning
  - added the new `issue` enum value to the `batch/allOf[#/components/schemas/ContractDeskBatch]/kind` response property for the response status `200`
  - added the new `issue` enum value to the `data/items/allOf[#/components/schemas/ContractDeskItem]/kind` response property for the response status `200`
- **2026-11-30** `2d33873df1fd`: 2 warning
  - added the new `behind` enum value to the `batch/allOf[#/components/schemas/ContractDeskBatch]/section` response property for the response status `200`
  - added the new `behind` enum value to the `data/items/allOf[#/components/schemas/ContractDeskItem]/urgency` response property for the response status `200`
- **2026-11-19** `27b968c6df42`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/talonic/apis/talonic-api/changes/v1/contract-desk/todo/items/get.md)

---

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