Record a maintenance entry on an element
curl --request POST \ --url https://api.whatsbuilt.fi/v1/projects/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/maintenance-entries \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "global_id": "example", "log_type": "routine_check", "title": "example", "description": "example", "occurred_at": "2026-04-15T12:00:00Z" }'Only while the project is in maintenance (409 PROJECT_NOT_IN_FM otherwise), on an element of the project’s models. The entry shows in the app with the integration’s name. A repeat with the same Idempotency-Key and body returns the first entry 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”The body of createMaintenanceEntry.
object
The element’s IFC GlobalId
The kind.
The title, trimmed.
The description.
When the work was done; default now. An earlier time is recorded as entered later.
Responses
Section titled “Responses”The entry an earlier call with the same Idempotency-Key created
A live maintenance entry.
object
The entry.
The project.
The element’s IFC GlobalId
New types may come
The title.
The description.
When the work was done
When the entry was written
True when occurred_at is earlier than the time it was written
The user, integration or person who wrote it; null once that user is deleted
Their name, read when answering.
The integration’s or app’s client id when written through this API
The row’s change time.
Example
{ "log_type": "routine_check", "created_via": "agent", "deleted": false}The entry
A live maintenance entry.
object
The entry.
The project.
The element’s IFC GlobalId
New types may come
The title.
The description.
When the work was done
When the entry was written
True when occurred_at is earlier than the time it was written
The user, integration or person who wrote it; null once that user is deleted
Their name, read when answering.
The integration’s or app’s client id when written through this API
The row’s change time.
Example
{ "log_type": "routine_check", "created_via": "agent", "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 role the scopes give is below inspector, or an inspector changes another’s entry; FEATURE_OFF when the project’s organisation does not use the maintenance phase; PUBLIC_API_DISABLED
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, entry 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"}PROJECT_NOT_IN_FM: entries are written only while the project is in maintenance
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"}