---
title: "Set emergency credit"
method: PATCH
path: "/accounts/set-emergency-credit"
tags: ["Account Management"]
---

# Set emergency credit

`PATCH /accounts/set-emergency-credit`

Sets the emergency credit amount for an account.
- Allows users with appropriate permissions (root, admin, or billing roles) to configure a maximum monthly emergency budget.
- For accounts with fixed resource allocations, emergency credit funds the provisioning of additional resources when regular allocations are exhausted.

## Request body

- object
  - `emergency_credit` number, float, required — Emergency credit amount

## Response `200`

Emergency credit set successfully

- SuccessResponse
  - `message` string

## Other responses

- `400` — Bad request
- `401` — Unauthorized

---

[API](https://skmtc.net/quivaworks/apis/quiva-ai-gateway.md) · [All operations](https://skmtc.net/quivaworks/apis/quiva-ai-gateway/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/quivaworks/quiva-ai-gateway/revisions/771d118bd4d1/schema)
