List a rule's firings
GET
/api/v1/automations/{id}/fires
const url = 'https://trongas.ai/api/v1/automations/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/fires';const options = {method: 'GET', headers: {'X-Api-Key': '<X-Api-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://trongas.ai/api/v1/automations/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/fires \ --header 'X-Api-Key: <X-Api-Key>'The rule’s recent firings (up to 50, newest first) — what was delivered, when, and what you were charged for it. billingPending: true means the energy was delivered while the price was temporarily unknown: the charge is calculated and applied a few minutes later, once (until then priceTrx is 0).
Authorizations
Section titled “Authorizations”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”id
required
string format: uuid
Resource id (UUID).
Responses
Section titled “ Responses ”OK
Array<object>
object
volume
required
integer | string format: int64
duration
required
null | string
priceTrx
required
string
createdAt
required
string format: date-time
billingPending
boolean
Array<object>
object
volume
required
integer | string format: int64
duration
required
null | string
priceTrx
required
string
createdAt
required
string format: date-time
billingPending
boolean
Example
[ { "billingPending": false }]Array<object>
object
volume
required
integer | string format: int64
duration
required
null | string
priceTrx
required
string
createdAt
required
string format: date-time
billingPending
boolean
Example
[ { "billingPending": false }]