Change a maintenance entry
curl --request PATCH \ --url https://api.whatsbuilt.fi/v1/projects/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/maintenance-entries/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "log_type": "routine_check", "title": "example", "description": "example", "occurred_at": "2026-04-15T12:00:00Z" }'Its type, title, description or time. The entry’s writer may change it, and a project admin any entry; only while the project is in maintenance.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”The entry’s id
Request Bodyrequired
Section titled “Request Bodyrequired”The body of updateMaintenanceEntry: at least one field.
object
The kind.
The title, trimmed.
The description; null clears it.
When the work was done.
Responses
Section titled “Responses”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"}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"}