Visit Azul.com Support

API Date Filter Format

Table of Contents
Need help?
Schedule a consultation with an Azul performance expert.
Contact Us

You can use relative or absolute times for the start and end times when you request the generation of a report via one of the APIs.

Relative Time

Relative time is calculated from the current time on the server (now) and can be specified as:

  • Days: Xd where X is an integer number of days in the past from now.

    • Examples:

      • 0d: today

      • 1d: yesterday

      • 365d: 1 year ago from today

  • Months: Xm where X is an integer number of months in the past from now.

    • Examples:

      • 1m = 1 month ago from today

      • 12m = 1 year ago from today

Absolute Time

Absolute time can be specified in:

  • ISO 8601 format: yyyy-MM-dd’T’HH:mm:ss.SSS

    • Example: 2022-05-01T12:43:50.000

  • Epoch time in milliseconds

    • Example: 1671397200000