How to access server-side response time for every API request

X-Response-Time Overview

When we are reviewing API metrics, we should understand what’s a duration on server-side without network latency.

Virto Commerce adds X-Response-Time header to responses for all API methods.

The response time is defined as the elapsed time from when a request enters the Platform to when the headers are written out to the client.


The X-Response-Time middleware has been implemented as Global Filters that executed on all incoming requests to the API.

1 Like