Alephant icon

Alephant

Route AI requests through Alephant AI Gateway and query Alephant analytics from one action node.

Analytics → Budget Status

AI-generated

Summary

Retrieve budget status analytics from Alephant AI platform over a specified period, with parameters set either statically or dynamically via AI expressions.

Inputs

  • Parameter Mode (required) — Choose whether to specify analytics parameters as fixed values or dynamically via AI Agent expressions.
  • Period — For fixed mode, select the analytics period for budget status data: 24 Hours, 7 Days, 30 Days, or 90 Days.
  • AI Operation (required) — For AI Dynamic mode, specify the analytics operation key as an AI expression; must be 'budgetStatus' to use this operation.
  • AI Period — For AI Dynamic mode, specify the analytics period key as an AI expression; valid values are 24h, 7d, 30d, or 90d.

Output shape

a single JSON object containing budget status analytics data for the specified period

The node returns budget status information from Alephant analytics API. For fixed mode, the period must be selected from provided options. For AI Dynamic mode, operation must resolve to 'budgetStatus' and the period must be one of the accepted period keys. Errors will be raised if invalid parameters are provided.

Examples

Example 1: Retrieve 7-day budget status with fixed parameters

Set Parameter Mode to Fixed and Period to 7 Days

Example 2: Retrieve budget status dynamically via AI

Set Parameter Mode to AI Dynamic, AI Operation to 'budgetStatus', and AI Period to one of the allowed periods (e.g., '7d')

Links

Discussion