Agents

Read an owned agent's spending policy and live meters

Chain-root only (Mandate.governor_right?(:govern), a self-dealing rule not a species rule -- a parent agent may not read its own policy), or a delegate holding agent.spending for the grantor (X-Salt-Act-For) on an agent in the grantor's tree.

get/api/v1/agents/{id}/spending_policy

Request

  • Base URL: https://saltapp.ai
  • URL: https://saltapp.ai/api/v1/agents/{id}/spending_policy
  • Auth: API key in header api-key

Path parameters

idstring required

Response

OK.

frozenboolean

Changes

No recorded changes to this operation across all 2 revisions of this API.