Compare metrics between two versions

View as Markdown

Compare analytics/call metrics between two published versions over an optional date range.

Authentication

AuthorizationBearer

API key from the console ApiKey collection, sent as Bearer token. Also accepts session cookies for browser-based auth.

Path parameters

idstringRequired
The agent ID

Query parameters

versionAstringRequiredformat: "^[a-f\d]{24}$"
ID of the first version
versionBstringRequiredformat: "^[a-f\d]{24}$"
ID of the second version
dateFromdatetimeOptional

Start date for the comparison range (ISO 8601)

dateTodatetimeOptional

End date for the comparison range (ISO 8601)

Response

Metrics comparison returned
statusboolean
dataobject
Aggregated metrics for each version

Errors

400
Bad Request Error
401
Unauthorized Error
500
Internal Server Error