axonpush
API referenceSpend policies

GET /spend-policies

GET
/spend-policies

Response Body

application/json

application/problem+json

curl -X GET "https://example.com/spend-policies"
{  "$schema": "https://example.com/schemas/ListOutputBody.json",  "policies": [    {      "$schema": "https://example.com/schemas/Policy.json",      "apiKeyId": "string",      "appId": "string",      "cooldownMins": 0,      "createdAt": "string",      "currentSpendUsd": 0.1,      "destination": "string",      "destinationType": "string",      "enabled": true,      "environmentId": "string",      "limitUsd": 0.1,      "model": "string",      "name": "string",      "policyId": "string",      "provider": "string",      "rungs": [        {          "action": "string",          "at_percent": 0,          "block_mode": "string",          "fallback_model": "string"        }      ],      "tagKey": "string",      "tagValue": "string",      "updatedAt": "string",      "userId": "string",      "windowType": "string"    }  ]}