Skip to main content
Version: 4.1

HarperDB Headers

All HarperDB API responses include headers that are important for interoperability and debugging purposes. The following headers are returned with all HarperDB API responses:

KeyExample ValueDescription
server-timingdb;dur=7.165This reports the duration of the operation, in milliseconds. This follows the standard for Server-Timing and can be consumed by network monitoring tools.
hdb-response-time7.165This is the legacy header for reporting response time. It is deprecated and will be removed in 4.2.
content-typeapplication/jsonThis reports the MIME type of the returned content, which is negotiated based on the requested content type in the Accept header.