The project's phase, its history and a pending handover
curl --request GET \ --url https://api.whatsbuilt.fi/v1/projects/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/lifecycle \ --header 'Authorization: Bearer <token>'Where the project’s organisation uses the maintenance phase (fm); otherwise 403 FEATURE_OFF.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Responses
Section titled “Responses”The lifecycle
Lifecycle: the phase and its history, newest first.
object
A project phase.
One phase change.
object
A project phase.
A project phase.
integration when an integration made the change, app for an app acting for a person, agent for an AI assistant
The integration or app that made the change
For app: the app’s registered name. Show the actor as {actor_name} · via {via_client_name}
Who handed the project over to whom.
object
integration or app when the request came through the API
For app: the app’s registered name
The acceptor is an integration
integration or app when the acceptance came through the API
For app: the app’s registered name
HandoverRequest as an object.
object
The project’s latest request that ended without acceptance.
object
A last handover status.
integration or app when the decision came through the API
For app: the app’s registered name
Example
{ "phase": "construction", "history": [ { "from_phase": "construction", "to_phase": "construction" } ], "pending_handover": { "entered_later": true }, "last_handover": { "status": "rejected" }}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
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"}