deploys.create
Queue a new deployment of the project. Defaults to the production environment; custom environments deploy to their own managed subdomain (“https://<project-slug>-<environment>.korve.app”).- Auth: Organization API key (
Authorization: Bearer korve_...) or dashboard session. - Minimum role:
member - Billing: requires active organization billing — returns
402otherwise. - Risk:
write
Request body (optional)
Example
Responses
Response body (202)
deploys.rollback
Roll back to an earlier successful deployment. Queues a new deployment to the same environment the target deployed to, pinned to the target’s exact commit (not its branch), and builds it through the normal pipeline. Only deployments that are “ready” and carry a recorded commit can be rolled back to.- Auth: Organization API key (
Authorization: Bearer korve_...) or dashboard session. - Minimum role:
admin - Billing: requires active organization billing — returns
402otherwise. - Risk:
write
Example
Responses
Response body (202)
deploys.list
List the project’s deployments, newest first.- Auth: Organization API key (
Authorization: Bearer korve_...) or dashboard session. - Minimum role:
member - Risk:
read
Example
Responses
Response body (200)
An array of objects with these fields:deploys.get
Get one deployment including its build log.- Auth: Organization API key (
Authorization: Bearer korve_...) or dashboard session. - Minimum role:
member - Risk:
read
Example
Responses
Response body (200)
deploys.diagnose
Ask the platform agent to diagnose a failed deployment. The diagnosis is cached after the first call; only failed deployments are diagnosable.- Auth: Organization API key (
Authorization: Bearer korve_...) or dashboard session. - Minimum role:
member - Billing: requires active organization billing — returns
402otherwise. - Risk:
write