Create a finding
curl --request POST \ --url https://api.whatsbuilt.fi/v1/projects/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/findings \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "title": "example", "description": "example", "topic_type": "example", "topic_status": "example", "priority": "example", "assigned_to": "example", "labels": [ "example" ], "stage": "example", "due_date": "example", "element_global_ids": [ "example" ], "storey_global_id": "example", "point": { "x": 1, "y": 1, "z": 1 } }'Authored by the integration, shown as Integraatio · {name}. element_global_ids, or a storey_global_id with an optional point, add a viewpoint that selects them. The guid comes from the Idempotency-Key when one is sent; a repeat with the same key and body returns the first finding with 200.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Header Parameters
Section titled “Header Parameters”A repeat with the same key and body returns the first answer instead of writing again. Keys are per integration and project.
Request Bodyrequired
Section titled “Request Bodyrequired”object
Default Open
An RFC 3339 time or a YYYY-MM-DD date
GlobalIds of live elements in the project; the finding selects them
The storey a point is on (spec 054 §3.8)
Example generated
{ "title": "example", "description": "example", "topic_type": "example", "topic_status": "example", "priority": "example", "assigned_to": "example", "labels": [ "example" ], "stage": "example", "due_date": "example", "element_global_ids": [ "example" ], "storey_global_id": "example", "point": { "x": 1, "y": 1, "z": 1 }}Responses
Section titled “Responses”The finding an earlier call with the same Idempotency-Key wrote
A live topic.
object
The topic.
The project.
Its number.
Its title.
Its BCF type.
Its BCF status.
Its priority.
Who it is assigned to.
Its labels.
Its description.
Its stage.
Who created it.
When it was created.
Who changed it last.
When it was changed last.
When it is due.
When it was closed.
How it was created.
The client that created it.
True when recorded after the fact.
When it was recorded.
True for a finding.
The GlobalIds of its first viewpoint.
The row’s change time.
Example
{ "deleted": false}The finding
A live topic.
object
The topic.
The project.
Its number.
Its title.
Its BCF type.
Its BCF status.
Its priority.
Who it is assigned to.
Its labels.
Its description.
Its stage.
Who created it.
When it was created.
Who changed it last.
When it was changed last.
When it is due.
When it was closed.
How it was created.
The client that created it.
True when recorded after the fact.
When it was recorded.
True for a finding.
The GlobalIds of its first viewpoint.
The row’s change time.
Example
{ "deleted": false}Invalid body, parameters or Idempotency-Key
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; INSUFFICIENT_PROJECT_ROLE when the project role the scopes give does not cover the write, or the project is not the integration’s; PUBLIC_API_DISABLED when 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"}No such project, finding, comment, viewpoint, draft or element
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"}RESOURCE_DELETED: what this Idempotency-Key created has since been deleted; details.id names it
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"}IDEMPOTENCY_KEY_REUSED: the key was used with another body
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"}