Skip to content

List your automation rules

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

All your rules, newest first — active, paused and cancelled. A paused rule carries the reason it was paused (System when we ran out of balance, User when you paused it yourself).

OK

Array<object>
object
id
required
string format: uuid
type
required
string
resource
required
string
targetAddress
required
string
minimal
required
null | integer | string format: int64
/^-?(?:0|[1-9]\d*)$/
volume
required
null | integer | string format: int64
/^-?(?:0|[1-9]\d*)$/
duration
required
null | string
spentTrx
required
string
status
required
string
pauseReason
required
null | string
autoResume
required
boolean
feeSaverOrderId
required
null | integer | string format: int64
/^-?(?:0|[1-9]\d*)$/
createdAt
required
string format: date-time
updatedAt
required
string format: date-time