deploys.createSource
Create a short-lived signed URL for uploading a project’s source as a gzipped tar archive. Upload the archive with PUT, then pass the returned key to deploys.create as sourceKey to build and release it — no connected repository required. Ideal for deploying a local directory.- Auth: Organization API key (
Authorization: Bearer korve_...) or dashboard session. - Minimum role:
member - Billing: requires active organization billing — returns
402otherwise. - Risk:
write· sensitive (elevated blast radius)
Request body
Example
Responses
Response body (201)
deploys.create
Queue a new deployment of the project from a git ref or an uploaded source archive (sourceKey). 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