---
title: "Grant a temporary AI budget allowance for first-run or onboarding backlog"
method: POST
path: "/accountant/companies/{customerId}/agent/budget-allowances"
tags: ["Accountant Portal"]
---

# Grant a temporary AI budget allowance for first-run or onboarding backlog

`POST /accountant/companies/{customerId}/agent/budget-allowances`

## Request

- Base URL: `https://api.medianfi.com/api/v1`
- URL: `https://api.medianfi.com/api/v1/accountant/companies/{customerId}/agent/budget-allowances`
- Auth: HTTP bearer

Human super-admin only (HUMAN_ONLY_ROUTES). Grants an audited, expiring daily/monthly AI budget allowance bounded by the firm monthly cap ($300/month).

## Path parameters

- `customerId` string, uuid, required

## Request body

- object
  - `allowanceKind` 'first_run' | 'onboarding_backlog', required
  - `extraDayMicros` integer, required
  - `extraMonthMicros` integer, required
  - `expiresInHours` integer
  - `reason` string, required

## Response `201`

Created allowance

- object

## Other responses

- `401`: Authentication required
- `403`: Insufficient permissions or not a company member
- `404`: Resource not found
- `422`: Request failed validation

## Changes

- **2026-11-28** `24ced4d421d8`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/medianfi/apis/median-api/changes/accountant/companies/:customerId/agent/budget-allowances/post.md)

---

[API](https://skmtc.dev/medianfi/apis/median-api.md) - [All operations](https://skmtc.dev/medianfi/apis/median-api/llms.txt) - [OpenAPI document](https://skmtc.dev/medianfi/apis/median-api/revisions/4f4c2d34276b?raw)
