Agent tools

Change a project held in a state token: spaces, dimensions, takeoffs, calculator lines, roof pitch

Stateless: the token carries the project's inputs (compressed, not encrypted), and the answer carries the new token. Every line is rebuilt.

post/project-update

Request

  • Base URL: https://api.craftquantities.com/v1
  • URL: https://api.craftquantities.com/v1/project-update
  • Auth: none declared

Query parameters

detail'full' | 'summary'

full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read.

summary: the result lines, the citation and the page only (fewer tokens); full, the default: the whole answer. A POST body may carry detail instead.

format'json' | 'md'

md: the engine's Markdown report as text/markdown (or send Accept: text/markdown); json, the default.

Request body

tokenstring required

A project state token from a project-file answer or an earlier update.

fileboolean

true: the updated My Project file as well.

Response

The new token, the diff, the totals and the site link.

OR

Changes

No recorded changes to this operation across all 1 revision of this API.