Versions
List versions, make one live (also rollback), delete old ones and read build logs.
On this page
Concepts: Publishing
Endpoint summaries come from the OpenAPI document.
GET/v1/projects/{project}/versions
List versions (newest first)
- Operation (MCP tool)
listProjectVersions- Authentication
- API key (pfa_…)OAuth token (pfo_…)Project key (pfc_…)
Parameters
Responses
Related error codes
Error codes this endpoint and its part of the API answer with. Each one explains what happened and what to do.
GET/v1/projects/{project}/versions/{version}
Get a version
- Operation (MCP tool)
getProjectVersion- Authentication
- API key (pfa_…)OAuth token (pfo_…)Project key (pfc_…)
Parameters
Responses
Related error codes
Error codes this endpoint and its part of the API answer with. Each one explains what happened and what to do.
DELETE/v1/projects/{project}/versions/{version}
Delete a version that is not live
- Operation (MCP tool)
deleteProjectVersion- Authentication
- API key (pfa_…)OAuth token (pfo_…)
Parameters
Responses
Related error codes
Error codes this endpoint and its part of the API answer with. Each one explains what happened and what to do.
POST/v1/projects/{project}/versions/{version}/promote
Make a ready version live (also used to roll back); no rebuild. With an agent credential: 403 approval_required and an execution to resume after approval
- Operation (MCP tool)
promoteProjectVersion- Authentication
- API key (pfa_…)OAuth token (pfo_…)Project key (pfc_…)
Parameters
Responses
Related error codes
Error codes this endpoint and its part of the API answer with. Each one explains what happened and what to do.
GET/v1/projects/{project}/versions/{version}/files
List a version's files
- Operation (MCP tool)
listVersionFiles- Authentication
- API key (pfa_…)OAuth token (pfo_…)Project key (pfc_…)
Parameters
Responses
Related error codes
Error codes this endpoint and its part of the API answer with. Each one explains what happened and what to do.
GET/v1/projects/{project}/logs/build
Build log of a version (latest by default)
- Operation (MCP tool)
getBuildLog- Authentication
- API key (pfa_…)OAuth token (pfo_…)Project key (pfc_…)
Parameters
Responses
Related error codes
Error codes this endpoint and its part of the API answer with. Each one explains what happened and what to do.