diff --git a/riocli/v2client/client.py b/riocli/v2client/client.py index cd06b945..e29c64cf 100644 --- a/riocli/v2client/client.py +++ b/riocli/v2client/client.py @@ -50,6 +50,10 @@ def _get_auth_header(self: Client, with_project: bool = True) -> dict: if with_project and self._project is not None: headers['project'] = self._project + custom_client_request_id = os.getenv('REQUEST_ID') + if custom_client_request_id: + headers['X-Request-ID'] = custom_client_request_id + return headers # Project APIs