Skip to content

Preview what one firing costs

GET
/api/v1/automations/preview
curl --request GET \
--url https://trongas.ai/api/v1/automations/preview \
--header 'X-Api-Key: <X-Api-Key>'

What a single firing of a rule would cost at your price, in TRX. type is refill (default) or smart. Read-only — charges nothing and creates nothing.

volume
integer | string format: int64
/^-?(?:0|[1-9]\d*)$/
duration
string
type
string

OK

object
priceTrx
required
string