AgentBill icon

AgentBill

Interact with AgentBill API for AI usage tracking & billing

Actions16

Overview

This node interacts with the AgentBill API to retrieve prompt analytics data within a specified date range. It is useful for users who want to analyze AI prompt usage and performance over time, such as tracking trends or evaluating AI model effectiveness. For example, a user can specify a start and end date to get analytics data for that period.

Use Case Examples

  1. Get prompt analytics for the last month to evaluate AI usage trends.
  2. Analyze prompt performance between two specific dates to optimize AI model usage.

Properties

Name Meaning
Start Date The beginning date for the analytics data range.
End Date The ending date for the analytics data range.

Output

JSON

  • data - The analytics data returned from the AgentBill API, containing prompt usage statistics and related metrics.

Dependencies

  • AgentBill API key credential required for authentication.

Troubleshooting

  • Ensure the API key credential is correctly configured and has the necessary permissions to access analytics data.
  • Verify that the date inputs are valid and in the correct format; invalid dates may cause the API request to fail.
  • If the API returns an error, check the error message for details such as rate limits or invalid parameters.

Links

Discussion