Splunk unifies petabyte-scale machine data for security, observability, and trusted AI.

API

What your agent can do

  • Get the authenticated session owner username.

    Via API.

Tasks depend on the interface and permissions.

Connection methods

Choose a route that fits your agent.

API connection
API path
https://<host>:<mPort>/services/authentication/current-context

Documentation & experience

  • 1 connection path
View sources and checks
How documentation is checked