SerenAI

Pay Per Call Agentic Commerce

PricingConfigResponse

Pricing config response

Properties

PropertyTypeRequiredDescription
asset_id string Yes Asset this pricing applies to
asset_symbol string,null No Asset symbol for display
base_price_per_1000_rows string Yes
grace_period_minutes integer,null No
hourly_rate string,null No
low_balance_threshold string Yes
markup_multiplier string Yes
max_queries_per_minute integer,null No
min_charge string Yes
min_display_price string,null No Minimum price to display in UI for passthrough publishers (informational only)
minimum_balance string Yes
onchain_enabled boolean Yes
payment_expiry_minutes integer Yes
prepaid_enabled boolean Yes
price_per_call string,null No
price_per_delete string,null No
price_per_execution string,null No Price per execution for agent templates or usage-based billing
price_per_get string,null No
price_per_patch string,null No
price_per_post string,null No
price_per_put string,null No
pricing_display_text string,null No Text to display for variable pricing (e.g., "Varies by model")
pricing_model PricingModel Yes
reserve_max_charge string,null No
unresolved_fallback_charge string,null No
View JSON Schema
{
  "type": "object",
  "description": "Pricing config response",
  "required": [
    "asset_id",
    "pricing_model",
    "base_price_per_1000_rows",
    "markup_multiplier",
    "min_charge",
    "payment_expiry_minutes",
    "prepaid_enabled",
    "onchain_enabled",
    "minimum_balance",
    "low_balance_threshold"
  ],
  "properties": {
    "asset_id": {
      "type": "string",
      "format": "uuid",
      "description": "Asset this pricing applies to"
    },
    "asset_symbol": {
      "type": [
        "string",
        "null"
      ],
      "description": "Asset symbol for display"
    },
    "base_price_per_1000_rows": {
      "type": "string"
    },
    "grace_period_minutes": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "hourly_rate": {
      "type": [
        "string",
        "null"
      ]
    },
    "low_balance_threshold": {
      "type": "string"
    },
    "markup_multiplier": {
      "type": "string"
    },
    "max_queries_per_minute": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "min_charge": {
      "type": "string"
    },
    "min_display_price": {
      "type": [
        "string",
        "null"
      ],
      "description": "Minimum price to display in UI for passthrough publishers (informational only)"
    },
    "minimum_balance": {
      "type": "string"
    },
    "onchain_enabled": {
      "type": "boolean"
    },
    "payment_expiry_minutes": {
      "type": "integer",
      "format": "int32"
    },
    "prepaid_enabled": {
      "type": "boolean"
    },
    "price_per_call": {
      "type": [
        "string",
        "null"
      ]
    },
    "price_per_delete": {
      "type": [
        "string",
        "null"
      ]
    },
    "price_per_execution": {
      "type": [
        "string",
        "null"
      ],
      "description": "Price per execution for agent templates or usage-based billing"
    },
    "price_per_get": {
      "type": [
        "string",
        "null"
      ]
    },
    "price_per_patch": {
      "type": [
        "string",
        "null"
      ]
    },
    "price_per_post": {
      "type": [
        "string",
        "null"
      ]
    },
    "price_per_put": {
      "type": [
        "string",
        "null"
      ]
    },
    "pricing_display_text": {
      "type": [
        "string",
        "null"
      ],
      "description": "Text to display for variable pricing (e.g., \"Varies by model\")"
    },
    "pricing_model": {
      "$ref": "#/components/schemas/PricingModel"
    },
    "reserve_max_charge": {
      "type": [
        "string",
        "null"
      ]
    },
    "unresolved_fallback_charge": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}