Create a deployment

Reserves the quoted build credits from the shared organization pool and starts the exact reviewed plan as one durable operation. Insufficient available credits or an explicit project stop budget rejects before operation creation or provider work. Repeating the accepted request never reserves twice.

post/v1/projects/{project_id}/deployments

Request

  • Base URL: https://app.ohmyho.st
  • URL: https://app.ohmyho.st/v1/projects/{project_id}/deployments
  • Auth: HTTP bearer

Path parameters

project_idstring required

Project identifier.

Headers

X-Request-Idstring

Optional caller-provided correlation identifier.

Idempotency-Keystring required

Identifies one mutation and its canonical request payload.

Request body

plan_idstring required

Response

The mutation was accepted for asynchronous processing.

blocking_operation_idstring
deployment_idstring
idstring required
state'queued' | 'running' | 'succeeded' | 'failed' | 'cancelled' required
created_atstring date-time required
updated_atstring date-time required
resultobject

Changes

No recorded changes to this operation across all 1 revision of this API.