---
title: "Raise or clear this account's daily run allowance"
method: PATCH
path: "/v1/admin/accounts/{id}"
tags: ["billing"]
---

# Raise or clear this account's daily run allowance

`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`

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.

## Path parameters

- `id` string, required

## Request body

- AdminAccountPatch
  - `daily_run_limit_override` integer, 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 `200`

The account's allowance, after the change

- AdminAccountLimits
  - `id` string, required
  - `card_on_file` boolean, 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_override` integer, nullable, required: The override stored on this account, or null when it takes the deployment default.
  - `daily_run_limit_default` integer, required: What `TRIAL_DAILY_RUN_LIMIT` says in this deployment.
  - `daily_run_limit_effective` integer, 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.

## Other responses

- `400`: Invalid request
- `401`: Authentication failed
- `403`: Insufficient scope or plan
- `404`: Not found
- `429`: Rate limited or over quota
- `500`: Internal error

---

[API](https://skmtc.dev/hyperresearch/apis/hyperresearch-cloud-api.md) · [All operations](https://skmtc.dev/hyperresearch/apis/hyperresearch-cloud-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hyperresearch/apis/hyperresearch-cloud-api/revisions/726ef831ebf4?raw)
