AI Credit Controls

Set individual entity groups' AI credit limits

Changed on
<Note> **Organization Admin** permissions are required to use this endpoint. </Note>

Set individual embed entity groups' AI credit limits in bulk. Each entry names an entity group and either sets an individual limit or removes one so the entity group follows the organization default. All entries are applied in a single transaction.

patch/v1/ai/credit-controls/entity-groups

Request

  • Base URL
    https://blobsrus.omniapp.co/api
  • URL
    https://blobsrus.omniapp.co/api/v1/ai/credit-controls/entity-groups
  • Auth
    • HTTP bearer
    • or HTTP bearer

Request body

Example request

{
  "entityGroups": [
    {
      "creditLimit": 50,
      "entity": "blobsrus"
    }
  ]
}

Response

All entries applied. Returns each entity group's effective limit, in request order.

Example response

{
  "entityGroups": [
    {
      "creditLimit": 50,
      "entity": "blobsrus"
    }
  ]
}

Changes