API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console

POST /v1/tasks/{id}/budget-override

POST/v1/tasks/{id}/budget-override

Raise (or lower) the budget cap on an order-linked task. Requires task_override_budget. Records reason + override timestamps so the reconcile job leaves the value alone (ADR 0139).

Data model

This operation works on the entity Task (task). All 104 fields — type, validation, required status, relationships — are listed in the schema reference.

Request body

NameTypeDescription
maxMinutesintegernull
maxAmountstringnull
reasonrequiredstring

Path parameters

NameTypeDescription
idrequiredstring

Example

curl -X POST https://api.codemeta-os.de/v1/tasks/{id}/budget-override \
  -H "X-Tenant-Id: $TENANT" \
  -H "Content-Type: application/json" \
  -b cookies.txt \
  -d '{
  "maxMinutes": null,
  "maxAmount": null,
  "reason": "string"
}'
const result = await cm.tasks.post({
  "maxMinutes": null,
  "maxAmount": null,
  "reason": "string"
});

Response codes

HTTP Meaning
200 Default Response

Search