llm-spend-limits

Put Agent Spend Limit

Sets the agent's own monthly limit. A null limit means no limit for this agent.

put/api/agents/{agent_id}/llm-spend-limit

Request

  • Base URL
    https://api.maritime.sh (the document declares no server; this is the origin it was published from)
  • URL
    https://api.maritime.sh/api/agents/{agent_id}/llm-spend-limit
  • Auth
    HTTP bearer

Path parameters

agent_idstring required

Request body

monthlyLimitCentsinteger nullable required

Response

Successful Response

monthlyLimitCentsinteger nullable required
source'agent' | 'account_default' | 'none' required
spentThisMonthCentsnumber required
limitReachedboolean required
periodStartstring date-time required
periodEndstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.