Skip to main content
PATCH
Available on agency plans. The API token must belong to the agency owner. Only the fields you send are changed. Common flows:
  • Raise credits mid-cycle: send a higher message_limit. The client keeps their usage and gains the difference.
  • Plan change with a credit reset: send the new message_limit together with reset_credits: true. The client’s usage counter restarts immediately, so their remaining credits become the full new limit, up to your agency plan’s remaining monthly credits. Nothing carries over.
  • Cap response length: send response_token_limit to bound how long the client’s AI agents’ answers can be. The agents are instructed to write complete answers that fit the budget, with a hard token cut as the backstop. Enforcement is approximate: the model targets the limit and gets a small allowance to finish its last sentence, so treat the value as a strong target, not an exact cutoff.
Limits apply from the next message or source the client uses. Message credits also reset automatically at the start of each calendar month.

Path Parameters

Headers

Body Parameters

Response

Returns the updated client workspace. After a credit reset, credits_reset_at holds the reset time and usage.messages starts again from 0.
Last modified on August 3, 2026