--- title: "get webmonitor role()" slug: "basic-get-web-monitor-role" updated: 2026-08-11T13:46:06Z published: 2026-08-11T13:46:06Z canonical: "docs.lobstersoftware.com/basic-get-web-monitor-role" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # get webmonitor role() This function returns the DataCockpit role previously assigned with function [set webmonitor role()](/v1/docs/en/basic-set-web-monitor-role) for the running job. This function has no parameters.