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
dateFromdateOptional

Start date for the comparison range in YYYY-MM-DD format.

dateTodateOptional

End date for the comparison range in YYYY-MM-DD format.

Response

Metrics comparison returned
statusboolean
dataobject

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error