Guide
Technical / Architecture

Request Headers

1min

User Agent

Requests sent to the Klevu APIs from the PHP-SDK contain a dynamic User-Agent value identifying the version of the php-sdk library used to transmit data, along with other relevant system information.

The purpose of this data is to aid in troubleshooting activities, as well as informing future product decisions.

By default, the library includes the version of the PHP-SDK library and PHP version running on the server. Example string: klevu-php-sdk/1.0.0.0 (PHP 8.1.999).

Implementing systems may add additional data using additional provider classes via dependency injection. Examples of this can be found under Examples / How To > Modify User-Agent in Request Headers