Wolfram Language & System 10.4 (2016)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)


gives the user agent string from an HTTP request that initiated the current evaluation.


  • If the current evaluation was not initiated by an HTTP request, $UserAgentString is None.
  • $UserAgentString is set not only for direct web calls such as those through an API, but also for interactive sessions that occur in the Wolfram Cloud Platform.

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

Deploy an API function that returns the user agent string:

Click for copyable input

Get the user agent string of the originator of this request:

Click for copyable input
Introduced in 2014