Actions6
- Chat Actions
- Router Actions
- Account Actions
- Model Actions
Overview
This node interacts with the Modelpilot API to retrieve usage summary data for an account. It is useful for monitoring and analyzing API usage over specific time ranges, such as the last 24 hours, 7 days, or 30 days. Practical applications include tracking usage for billing, auditing, or optimizing API consumption.
Use Case Examples
- A user wants to get the usage summary of their Modelpilot account for the last 7 days to understand their API consumption patterns.
- A developer integrates this node to automatically fetch usage data every day to monitor and alert on usage limits.
Properties
| Name | Meaning |
|---|---|
| Time Range | Specifies the time range for which the usage summary is requested. Options include Last 24 Hours, Last 7 Days, and Last 30 Days. |
| Request Options | Additional options to customize the request behavior, including batching, SSL certificate validation, proxy settings, and request timeout. |
Output
JSON
usageSummary- The usage summary data returned from the Modelpilot API for the specified time range.
Dependencies
- Modelpilot API
Troubleshooting
- Ensure the API credentials are correctly configured to avoid authentication errors.
- If the request times out, consider increasing the timeout setting in Request Options.
- If SSL certificate validation fails, enabling 'Ignore SSL Issues' may help but use with caution due to security risks.
- Proxy settings must be correctly configured if a proxy is required for network access.
Links
- Modelpilot API Documentation - Official API documentation for Modelpilot, including usage summary endpoints and parameters.