Finding drafts changed in a window
curl --request GET \ --url 'https://api.whatsbuilt.fi/v1/finding-drafts?limit=200&status=pending' \ --header 'Authorization: Bearer <token>'Rows changed in [modified_from, modified_to), deletions included, in (project_id, changed_at, key) order. Only next_cursor = null ends the list; a page may hold fewer rows than limit, even none. Without modified_from: every live row and no deletions.
Key id. The drafts the integration created; with the inspector role (from element-events:write) it sees every draft of the project. status is pending, published with the finding’s topic_guid, or rejected, and filters live rows only.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Inclusive lower bound on changed_at, an RFC 3339 time with an offset (Z or ±hh:mm) and at most 9 fractional digits, e.g. 2026-11-17T00:00:00Z; digits past microseconds are dropped. Without it: every live row and no deletions.
Inclusive lower bound on changed_at, an RFC 3339 time with an offset (Z or ±hh:mm) and at most 9 fractional digits, e.g. 2026-11-17T00:00:00Z; digits past microseconds are dropped. Without it: every live row and no deletions.
Exclusive upper bound, an RFC 3339 time with an offset (Z or ±hh:mm) and at most 9 fractional digits, e.g. 2026-11-17T00:00:00Z; digits past microseconds are dropped; default and maximum: the settled time
Exclusive upper bound, an RFC 3339 time with an offset (Z or ±hh:mm) and at most 9 fractional digits, e.g. 2026-11-17T00:00:00Z; digits past microseconds are dropped; default and maximum: the settled time
Repeatable, at most 50 times
Repeatable, at most 50 times
Responses
Section titled “Responses”One page
One page of the list.
object
The rows.
An item of GET /v1/finding-drafts.
A live draft.
object
The draft.
The project.
Its title.
Its description.
Its priority.
Its labels.
The elements it selects.
The storey its point is on.
The integration’s own id for it.
pending, published or rejected.
Who created it.
Their name, read when answering.
How it was created.
The client that created it.
When it was created.
Who decided it.
Their name, read when answering.
When it was decided.
The published finding.
The photos the draft carries; each becomes a photo of the published finding
The row’s change time.
A deleted draft.
object
The project.
When the row was deleted
Always deleted.
The draft.
The bounds used.
object
The lower bound used, normalised to UTC with microseconds; null without modified_from
The upper bound the server used. The next window starts here.
Projects whose rows were not read.
A project of the window whose rows were not read.
object
The project.
FEATURE_OFF: the owning organisation lacks the feature this resource needs. PUBLIC_API_DISABLED: the owning organisation has turned the API off
The cursor of the next page.
Example
{ "data": [ { "status": "pending", "deleted": false } ], "skipped_projects": [ { "reason": "FEATURE_OFF" } ]}VALIDATION_ERROR for invalid parameters; INVALID_CURSOR for a cursor that does not belong to them
The error body of every /v1 answer of 400 or more.
object
A sentence for people; it may change
Part of the contract
What the code names, where it names something
The X-Request-Id of the call
Example generated
{ "error": "example", "code": "example", "details": "example", "request_id": "example"}Missing, malformed, expired or revoked token
The error body of every /v1 answer of 400 or more.
object
A sentence for people; it may change
Part of the contract
What the code names, where it names something
The X-Request-Id of the call
Example generated
{ "error": "example", "code": "example", "details": "example", "request_id": "example"}INSUFFICIENT_SCOPE, or PUBLIC_API_DISABLED when an admin of the integration’s organisation, or on a per-project route of the project’s owning organisation, has turned the API off
The error body of every /v1 answer of 400 or more.
object
A sentence for people; it may change
Part of the contract
What the code names, where it names something
The X-Request-Id of the call
Example generated
{ "error": "example", "code": "example", "details": "example", "request_id": "example"}WINDOW_BEFORE_RETENTION: the window starts before deletions are kept
The error body of every /v1 answer of 400 or more.
object
A sentence for people; it may change
Part of the contract
What the code names, where it names something
The X-Request-Id of the call
Example generated
{ "error": "example", "code": "example", "details": "example", "request_id": "example"}RATE_LIMITED; wait for Retry-After seconds
The error body of every /v1 answer of 400 or more.
object
A sentence for people; it may change
Part of the contract
What the code names, where it names something
The X-Request-Id of the call
Example generated
{ "error": "example", "code": "example", "details": "example", "request_id": "example"}