Select standard or Paid performance database compute

Requires project-write access and explicit confirmation. Reads the organization plan at acceptance (Free 0.25 CU/1 GB/60 idle seconds or Paid 0.5 CU/2 GB/60 idle seconds). Changes the existing database in place without copying or resetting data. Shared Dev/Prod data changes both environments. A brief connection interruption is possible. Poll the returned operation every 60 seconds; do not submit a second change while it runs. Completion requires actual provider settings and settled operations. Actual CU consumption remains metered. Performance requires effective Paid access and an active rate; it selects fixed 1 CU/4 GB/300 idle seconds at 2.5 times Paid-standard database compute credits per equal active minute. Only database compute changes price. Raw CU-second measurements are preserved; mixed or uncertain transition hours waive the premium. Returning to standard restores the effective plan size.

post/v1/projects/{project_id}/database/compute

Request

  • Base URL: https://app.ohmyho.st
  • URL: https://app.ohmyho.st/v1/projects/{project_id}/database/compute
  • 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

environment'dev' | 'prod' required
profile'standard' | 'performance' required
confirmtrue 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.