---
title: "The Dashboard"
method: GET
path: "/v1/contract-desk/dashboard"
tags: ["Contract Desk"]
---

# The Dashboard

`GET /v1/contract-desk/dashboard`

## Request

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

Counts over the index's items on the day of the read. `tiles.now` and `tiles.month` are the items in the To do sections Now and This month (items without a place in the tree included), `weeks` the items due in each of the next `dashboard_weeks` ISO weeks (Monday first, UTC; an overdue item counts in no week) and `start` the first batch of Now in the To do order; with `team` these four count that team only. `teams` (the teams of the workspace's items outside For information, the same list `GET /v1/contract-desk/todo` answers), `by_team`, the other tiles (from the last build) and `top_sites` (the sites with the most to do now) are always the whole workspace. An item stored without a team counts under the default team. `history` shows only what the daily snapshots back: `since` the day of the oldest, `week_ago` the newest from today minus 13 to today minus 7 (null without one, so a stopped build shows no week-ago figures), `trend` the newest of each of the last 12 ISO weeks once a snapshot is at least 28 days old (null before). `new_items` counts per kind the items first seen today or on the six days before (whole UTC days, from 00:00 UTC), once a snapshot is at least 7 days old (null before). A team no item carries answers zeros. Requires scope `read`.

## Query parameters

- `team` string

## Response `200`

The Dashboard.

- ContractDeskDashboard
  - `team` string, nullable: The team asked for; null for all teams.
  - `teams` string[]: The teams of the workspace's items outside For information, sorted; the same list the To do list answers.
  - `tiles` object
    - `now` integer: Items in the To do section Now (of `team`).
    - `month` integer: Items in the To do section This month (of `team`).
    - `behind` integer: Process steps whose planned day has passed: the To do section Behind schedule (of `team`).
    - `contracts` integer
    - `with_documents` integer
    - `required_values` integer
    - `ok_values` integer
  - `by_team` object[]
    - `team` string
    - `now` integer
    - `month` integer
    - `behind` integer
    - `later` integer
    - `none` integer
  - `weeks` object[]
    - `week_start` string, date: The Monday (UTC).
    - `count` integer
  - `top_sites` ContractDeskSite[]
    - `site_key` string: The site number. Where no system of record gives sites (`capabilities.mode` `contracts`), the key of a partner (`partner:` and the partner's name without legal form, case or punctuation), or `-` for contracts without a partner.
    - `site_name` string, nullable
    - `contracts` integer
    - `with_documents` integer: Contracts whose documents Talonic holds; where the Contracts app gives the contracts, those with at least one filed document.
    - `roles` object
      - `sale` integer
      - `purchase` integer
      - `intercompany` integer
      - `unassigned` integer
    - `active_roles` object
      - `sale` integer
      - `purchase` integer
      - `intercompany` integer
    - `values` object: Required attributes of the site's contracts, those in order, those open (the counts of the last build), and the open ones by state counted when the site is read.
      - `required` integer
      - `ok` integer
      - `open` integer
      - `states` ContractDeskValueStates: The open values of a tree line by state, counted when the line is read from its open value items: the document and the CRM differ (`mismatch`), only the document states a value (`crm_missing`), only the CRM does (`doc_missing`), neither does (`both_missing`), the CRM field is left empty on purpose while a suggestion waits (`declined`). A decided value leaves them at once, while the line's `open` (the last build's count) keeps it until the build that follows the decision: right after a build the states sum to `open`, in between the sum is lower by the values decided since.
        - `mismatch` integer
        - `crm_missing` integer
        - `doc_missing` integer
        - `both_missing` integer
        - `declined` integer
    - `todo` object
      - `now` integer
      - `open` integer
      - `undated_steps` integer: Process steps without a due date of the site's contracts; not in `open`.
    - `next_notice` string, date, nullable: Earliest open notice deadline of the site's contracts; a past day when a notice deadline nobody handled is overdue.
    - `bad` boolean: The site holds a critical item.
    - `findings` ContractDeskSiteFinding[]: The site's open site findings (check 3 of Contract Check), `bad` before `warn`, then by code; empty when it has none. Counted when the site is read.
      - `code` string: The finding's code, e.g. `sale-purchase`, `purchase-without-sale`, `start-gap`, `end-coverage`.
      - `severity` 'bad' | 'warn': `bad` for a critical finding.
      - `count` integer: Open findings of that code on the site.
  - `start` 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
  - `history` object
    - `since` string, date, nullable: The day of the oldest snapshot: since when the index counts.
    - `week_ago` object, nullable: The newest snapshot from today minus 13 to today minus 7; null without one.
      - `day` string, date
      - `now` integer, nullable: The snapshot's section Now, all teams; null for a snapshot written before sections were counted.
      - `month` integer, nullable: The snapshot's section This month, all teams; null for a snapshot written before sections were counted.
      - `with_documents` integer
      - `ok_values` integer
      - `required_values` integer
    - `trend` object[], nullable
      - `day` string, date
      - `ok_values` integer
      - `required_values` integer
  - `new_items` object, nullable: Items first seen today or on the six days before (whole UTC days), per kind, whole workspace; null until a snapshot is at least 7 days old.
  - `available` object: Which figures the workspace's data backs.
    - `values` boolean: False where no system of record gives values to compare: `tiles.required_values`, `tiles.ok_values` and the history's value figures are then 0 because nothing is counted, not because nothing is open.

## Other responses

- `400`: The request is invalid.
- `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** `907c112dbe85`: 1 info
  - added the optional property `available` to the response with the `200` status
- **2026-12-04** `88d2070c4878`: 1 warning
  - added the new `issue` enum value to the `start/allOf[#/components/schemas/ContractDeskBatch]/kind` response property for the response status `200`
- **2026-11-30** `2d33873df1fd`: 1 warning, 2 info
  - added the new `behind` enum value to the `start/allOf[#/components/schemas/ContractDeskBatch]/section` response property for the response status `200`
  - added the optional property `by_team/items/behind` to the response with the `200` status
  - added the optional property `tiles/behind` to the response with the `200` status
- **2026-11-19** `27b968c6df42`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/talonic/apis/talonic-api/changes/v1/contract-desk/dashboard/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)
