Retrieving Query statistics using the API requires specific syntax depending on whether you are using REST or SOAP. Use this table to find the syntax for your command.

REST Syntax

Click to view all REST Resources
/REST/QPSReport/ POST — Retrieve information to create a Queries Per Second (QPS) report.

NOTE: QPS data is available in resolutions down to 5 minute increments for up to 12 days. Data older than 12 days is available down to a resolution of 60 minute increments.

HTTP Action — POST

URIs — https://api.dynect.net/REST/QPSReport/

Arguments — Click for More Info

Response:
string csv — The report data in csv format.

Dyn Logo

SOAP Syntax

Click to view all SOAP Commands
GetQueryStats — Retrieve information to create a Queries Per Second (QPS) report.
Arguments — Click for More Info

Response:
string csv — The report data in csv format.
Example Request — Click for More Info