Filters reference: Types and operators

Filter operators

Filter operators define how we determine if the contents of a column meet the filter criteria. To get the filter operators that a column supports, use the List columns endpoint.

NameInclude row if filtered column contains:
inValue that is an exact match for a value in the filter.
containsValue where any part of the value is an exact match a value in the filter.
For example, if the list of filter values includes the string digicert, any of these column values is a match: digicert, example_digicert, and digicert_example.
month_to_dateDate between the beginning of the current calendar month and now.
quarter_to_dateDate between the beginning of the current quarter and now.
year_to_dateDate between the beginning of the current year and now.
last_30_daysDate within the last 30 days.
last_12_monthsDate within the last 12 months.
custom_dateDate within a custom date range.
When using the custom_date operator, the list of values contains two elements that defines a date range. The first element is the start date and the second element is the end date. Use this format for dates: YYYY-MM-DD. For example: ["2021-01-01", "2021-01-31"].
To see the default and maximum date range for each report type, see [Custom date ranges](#custom-date-ranges)
last_monthDate in the previous month.
all_certs*Order and FQDN reports only. Filter operator for the certificate_requested_date column. Use to generate a report of all orders created or FQDNs used up to the current date.
all_orgs*Organization reports only. Filter operator for the ev_organization_expiration_date column. Use to generate a report of all organizations, regardless of organization validation expiration date.
all_audit_logs*Audit log reports only. Filter operator for the date_and_time_utc column. Use to generate a report of all audit logs up to the current date.
all_transactions*Balance history and User reports only. Filter operator for the transaction_date column. Use to generate a report of all transactions or user logins up to the current date.
all_domains*Domain reports only. Filter operator for the domain_expiration_date column. Use to generate a report of all domains, regardless of domain validation expiration date.
expires_within_7_daysExpiration date within the next 7 days.
expires_within_30_daysExpiration date within the next 30 days.
expires_within_60_daysExpiration date within the next 60 days.
expires_within_90_daysExpiration date within the next 90 days.
expires_within_120_daysExpiration date within the next 120 days.
expires_within_180_daysExpiration date within the next 180 days.
expired_in_the_last_7_daysExpiration date within the previous 7 days.
expiredExpiration date in the past.

Filter types

A column’s filter type describes the values the column can be filtered against.

  • Some columns allow filtering against a list of any custom values.
  • Some columns only allow filtering against a limited set of possible values.
  • Some columns provide filter operators that define the range of matching values. When using one of these operators, the filter criteria should not include a list of values to match against.

To get the filter type for each column in a report, use the List columns endpoint.

NameDescription
multi_valueThe value of the column is compared to the values you provide when you create the filter.
  • If the List columns endpoint provides a list of possible values for a column: The filter criteria for the column is restricted to these values. If you try to add a filter that uses other values as the filter criteria, the API returns an error.
  • If the List columns endpoint does not provide a list of possible values for a column: There are no restrictions on the filter criteria for the column. You can filter against any values you choose.
staticThe operator defines the filter criteria for this column. When you create a filter, leave the values array blank.
dateFor columns with this filter type, most of the operators are a date range that defines the filter criteria for the column. When you create a filter, leave the values array blank.
The exception is when using the custom_date operator. For this operator, the list of values defines a custom range of dates. The first element is the start date and the second element is the end date. For example, see Add a filter – Examples.
intermediate_ca_apiThe value of the column is compared to the list of intermediate ICA names in the filter. To get the names of intermediate ICAs in your account, use the List intermediates endpoint.
user_apiThe value of the column is compared to the list of user IDs in the filter. To get the ID value for users in your account, use the [List users](https://dev.digicert.com/certcentral-apis/services-api/users/list-users.html) endpoint.
product_apiThe value of the column is compared to the list of product names in the filter. To get the names of products in your account, use the Product list endpoint.
organization_apiThe value of the column is compared to the list of organization IDs in the filter. To get the ID value for organizations in your account, use the Organization list endpoint.
dcv_method_apiThe value of the column is compared to the list of DCV method identifiers in the filter. To get a list of DCV method identifiers, use the List DCV methods endpoint.
validation_type_apiThe value of the column is compared to the list of validation types in the filter. To get a list of validation type identifiers, use the Validation types endpoint.

Custom date ranges

When creating a report, use date range filters to customize the time frame you want the report to cover. Otherwise, DigiCert creates the report using the default date range for the given report type.

Report typeDefault date rangeMaximum custom date range
OrdersCertificates requested in past 30 days (certificate_requested_date).90 days
DomainsDomains validation expires within 180 days (domain_expiration_date).90 days
OrganizationsOrganization validation expires within 180 days (ev_organization_expiration_date).90 days
Audit logsEvents from past 30 days (date_and_time_utc).90 days
Balance historyTransactions from past 30 days (transaction_date).90 days
FQDNFQDNs used in past 30 days (certificate_requested_date).400 days
UsersUsers who logged in during past 30 days (last_login_date).90 days