Agents

Update an agent budget in EUR

Changed on

At least one field is required. none removes the separate agent budget; unlimited keeps it active without a numeric cap. Private agents return 404 when user-level usage is hidden. budgetPeriodSpend is always null in the mutation response.

patch/billing/v1/ai-models-included/agents/{agentId}

Request

  • Base URL
    https://api.langdock.com
  • URL
    https://api.langdock.com/billing/v1/ai-models-included/agents/{agentId}
  • Auth
    HTTP bearer

Request body

budgetMode'always' | 'on_limit_hit'

Response

Updated resource. Spending is null; GET retrieves spending.

idstring uuid required
namestring nullable required
budgetMode'always' | 'on_limit_hit' required
budgetPeriodSpendnumber nullable required

Changes