Read a project's optional monthly credit budget

Owner-only snapshot of UTC-calendar-month measured usage and all open reservations. No budget means shared organization funds; continue mode does not stop at the threshold.

get/v1/projects/{project_id}/credit-budget

Request

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

Path parameters

project_idstring required

Project identifier.

Headers

X-Request-Idstring

Optional caller-provided correlation identifier.

Response

Current project budget and recorded usage.

project_idstring required
amount_microsstring required

Non-negative microcredits, at most 9223372036854775807. One credit equals 1000000 microcredits.

mode'continue' | 'stop' required
used_microsstring required

Non-negative microcredits, at most 9223372036854775807. One credit equals 1000000 microcredits.

reserved_microsstring required

Non-negative microcredits, at most 9223372036854775807. One credit equals 1000000 microcredits.

period_startstring date-time required
period_endstring date-time required
as_ofstring date-time required

Changes

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