Backoffice

Update User Credits Request

Changed on

Update User Credits Allowance This endpoint is used to increase or decrease the monthly credit allowance for a user. It is used to give users free credits every month. Note: if the user upgrades or downgrades, the credit allowance will be reset to the default value.

put/backoffice/users/{user_id}/monthly_credit_allowance

Request

  • Base URL
    https://api.toolhouse.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.toolhouse.ai/backoffice/users/{user_id}/monthly_credit_allowance
  • Auth
    HTTP bearer

Path parameters

user_idstring required

Request body

amountinteger required

Response

User credit allowance updated successfully

user_idstring required
lifetime_consumedinteger required
lifetime_purchasedinteger required
active_reserved_executionsinteger
available_executionsinteger

Changes

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • warning

      removed the optional property from the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      the response's property default value changed from 2026-09-28T03:31:29.117734Z to 2026-09-28T16:09:58.744074Z for the status