Export user agent in API