AvantGuard - DNSFilter icon

AvantGuard - DNSFilter

AvantGuard - DNSFilter

Actions277

Overview

This node retrieves usage metrics for an organization within a specified date range. It is useful for monitoring and analyzing organizational activity or consumption over time, such as tracking API usage, service consumption, or other measurable metrics tied to an organization.

Practical examples include:

  • Fetching daily usage statistics for billing or auditing purposes.
  • Monitoring trends in organizational activity between two dates.
  • Integrating usage data into dashboards or reports.

Properties

Name Meaning
From Start date of the metrics period in ISO8601 format (e.g., "2023-12-01"). Defines the beginning of the date range for which usage data is requested.
Id Organization ID (number). Identifies the specific organization whose usage metrics are being queried.
To End date of the metrics period in ISO8601 format (e.g., "2023-12-01"). Defines the end of the date range for which usage data is requested.

Output

The node outputs JSON data containing the usage metrics for the specified organization and date range. The exact structure depends on the external API response but typically includes fields such as dates, usage counts, or other relevant metric values.

No binary data output is indicated.

Dependencies

  • Requires an API key credential for authentication with the external service.
  • Connects to the external metrics API endpoint at https://api.dnsfilter.com.
  • The node expects proper configuration of this API key credential within n8n.

Troubleshooting

  • Common issues:

    • Invalid or missing API key credential will cause authentication failures.
    • Incorrect date formats (non-ISO8601) may result in request errors.
    • Providing an invalid or non-existent organization ID will likely return errors or empty results.
  • Error messages:

    • Authentication errors indicate problems with the API key; verify the credential setup.
    • Validation errors related to date parameters suggest correcting the date format to ISO8601.
    • Not found or similar errors imply the organization ID does not exist or is inaccessible.

Links and References

  • ISO 8601 Date Format
  • External API documentation (not provided in source code, check your service provider's docs)

Discussion