Platform

Get a spend policy by ID

Changed on
get/v1/platform/apps/{appId}/spend-policies/{policyId}

Request

  • Base URL: https://api.1claw.co
  • URL: https://api.1claw.co/v1/platform/apps/{appId}/spend-policies/{policyId}
  • Auth: HTTP bearer

Path parameters

appIdstring uuid required
policyIdstring uuid required

Response

Spend policy

idstring uuid required
org_idstring uuid required
platform_app_idstring uuid nullable
user_idstring uuid nullable
to_allowliststring[]
to_denyliststring[]
max_value_per_tx_ethstring nullable
daily_limit_ethstring nullable
allowed_chainsstring[]
allowed_tokensstring[]
max_transactions_per_dayinteger nullable
inference_allowance_usdstring nullable
inference_reserved_pctinteger nullable
inference_hard_stopboolean nullable
inference_allowance_modestring nullable
max_request_cost_usdstring nullable
human_factor_authobject nullable
is_activeboolean required
created_atstring date-time required
updated_atstring date-time required

Changes

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became optional for the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status