Explore Plans
Mobile menu Close menu
Venice AI

Credit balance falls below an amount

This trigger fires when the credit left on your Venice account falls below an amount you choose.

Developer info

API endpoint slug
venice_ai.credit_balance_below_amount

Trigger fields

Amount Text input

Label
Amount
Helper text
You will be told when your remaining credit drops below this number.
Slug
amount
Required
true
Can have default value
true

Balance kind Dropdown list

Label
Which balance
Helper text
Pick the kind of credit you use. Prepaid is credit you bought; staked is the daily allowance from staking VVV.
Slug
balance_kind
Required
true
Can have default value
true

Ingredients

Usd balance Prepaid balance. Numeric value as a string.

Slug
usd_balance
Filter code
VeniceAi.creditBalanceBelowAmount.UsdBalance
Type
String
Example
4.2

Diem balance Staked balance. Numeric value as a string.

Slug
diem_balance
Filter code
VeniceAi.creditBalanceBelowAmount.DiemBalance
Type
String
Example
0

Can consume Can still make requests. Either 'true' or 'false'.

Slug
can_consume
Filter code
VeniceAi.creditBalanceBelowAmount.CanConsume
Type
String
Example
false

Account tier Account tier.

Slug
account_tier
Filter code
VeniceAi.creditBalanceBelowAmount.AccountTier
Type
String
Example
paid

Threshold Amount you set. Numeric value as a string. Copied from the trigger's own field value; not read from the API.

Slug
threshold
Filter code
VeniceAi.creditBalanceBelowAmount.Threshold
Type
String
Example
5

Checked at Checked at. Stamped by shimmy at poll time. The API returns no observation timestamp on this route.

Slug
checked_at
Filter code
VeniceAi.creditBalanceBelowAmount.CheckedAt
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06+05:00