Contract Desk

The state of the Contract Desk index

Changed on

Whether a build of the index finished (built) or runs (building), when the last one started and finished and how long it took, whether the last one failed (a fixed sentence), the workspace totals and link report of the last successful build, the revision (one up per decision made in the desk), when a build was last asked for, and now: the To do list's Now count over all teams at read time. While a rebuild runs, the reads answer from the previous index. Requires scope read.

get/v1/contract-desk/status

Request

  • Base URL
    https://api.talonic.com
  • Auth
    HTTP bearer

Response

The index state.

ContractDeskStatus required
built, boolean

A build finished at least once.

building, boolean
built_at, string date-time nullable
started_at, string date-time nullable
build_ms, integer nullable
error, string nullable

The last update failed. when the last build failed (its own message stays with the operators); the previous index stays readable.

totals, object nullable
link, object nullable

How the CRM contracts linked to Contracts contracts.

revision, integer

Goes up by one with every decision made in the desk: read the lists again when it moves, as when built_at moves.

requested_at, string date-time nullable

When a build was last asked for (a decision, a Setup save); a build that started after it covers it.

now, integer nullable

The items in the Now section over all teams, counted at read time with the To do list's section rule (today's UTC date): always the Now total of GET /v1/contract-desk/todo for all teams, a decision included at once. Null before the first build, and when the count fails (the status still answers).

capabilities, object nullable

What the workspace's live data gave the last build, and what each missing source would unlock. Null before a build that recorded it.

Changes