billing

Raise or clear this account's daily run allowance

The trial daily run limit (TRIAL_DAILY_RUN_LIMIT, 429 daily_run_limit) applies to accounts with NO payment method and no override. This sets the override for the caller's OWN account (0034); an owner cannot reach another account through it. Every change writes an account.daily_run_limit audit row naming who made it — an allowance granted by hand is the thing the gate exists to bound.

patch/v1/admin/accounts/{id}

Request

  • Base URL: https://api.hyperresearch.ai
  • URL: https://api.hyperresearch.ai/v1/admin/accounts/{id}
  • Auth: API key in cookie hr_session

Path parameters

idstring required

Request body

daily_run_limit_overrideinteger nullable required

Runs per UTC day this account may start while it has no payment method. null clears the override and returns the account to the deployment default (TRIAL_DAILY_RUN_LIMIT). 0 turns the gate off for this account. An account WITH a payment method is exempt either way — it is bounded by its spend cap, not by a run count.

Response

The account's allowance, after the change

idstring required
card_on_fileboolean required

True when a Stripe customer with an attached payment method exists. Such an account is never subject to the daily run gate.

daily_run_limit_overrideinteger nullable required

The override stored on this account, or null when it takes the deployment default.

daily_run_limit_defaultinteger required

What TRIAL_DAILY_RUN_LIMIT says in this deployment.

daily_run_limit_effectiveinteger nullable required

The allowance actually enforced for this account: the override when set, else the default — and null when the account is exempt because it has a payment method.

Changes

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