User Session Query language API

The User Session Query language API enables you to execute user session queries. You can:

  • Get result as a table with the GET table call.
  • Get result as a tree with the GET tree call.

GET table

Executes a USQL query and returns results as a table-structure of the requested columns.

The request produces application/json payload.

GET
  • Managed https://{your-domain}/e/{your-environment-id}/api/v1/userSessionQueryLanguage/table
  • SaaS https://{your-environment-id}.live.dynatrace.com/api/v1/userSessionQueryLanguage/table

GET Tree

Executes a USQL query and returns results as a tree-structure of the requested columns—a flat list of rows containing the requested columns.

The request produces application/json payload.

GET
  • Managed https://{your-domain}/e/{your-environment-id}/api/v1/userSessionQueryLanguage/tree
  • SaaS https://{your-environment-id}.live.dynatrace.com/api/v1/userSessionQueryLanguage/tree