Cost Parameter - Precisely Data Integrity Suite

Data Integrity Suite APIs

Product
Data_Integrity
Spatial_Analytics
Data_Enrichment
geo_addressing_1
Services
Spatial Analytics
Data Enrichment
Geo Addressing
ft:title
Data Integrity Suite APIs
ft:locale
en-US
PublicationType
pt_developer
copyrightfirst
2023
copyrightlast
2026

The Cost Parameter is a feature used to calculate and return the cost of an entire query in terms of the number of credits consumed. This parameter provides users with a clear understanding of the resource consumption associated with executing a specific query.

By including the cost parameter you can:

  • Estimate the credit usage for a query before execution.
  • Optimize queries by analyzing their cost and making necessary adjustments.
  • Monitor and manage resource consumption effectively.

Below is a sample query including cost parameter:

{
  getByAddress(address: "3145 Geneva St Denver") {
    queryCredits
    addresses{
      data{
        preciselyID
        addressNumber
        latitude
        longitude
      }
    }
    buildings{
      data{
        buildingID
        buildingType{
          value
          description
        }
        buildingArea
      }
    }
  }
}