List agents

View as Markdown
List the Sigma agents that you can edit across every workbook in the organization. An agent is returned when you own the workbook that defines it, or were granted **Can edit** access to it. Agents in workbooks that you can only view or explore are not included. Use the returned **agentId** and **workbookId** to [run a Sigma agent](https://help.sigmacomputing.com/reference/run-agent). To list agents defined in a single workbook instead, use [List agents in a workbook](https://help.sigmacomputing.com/reference/list-agents-in-workbook). For a guide to calling Sigma agents from the API, see [Call Sigma agents with the API](https://help.sigmacomputing.com/docs/call-agents-with-the-api).

Authentication

AuthorizationBearer

OAuth authentication of the form <token>.

Query parameters

pageTokenstringOptional

Use to specify the next set of results with the string returned in the nextPageToken field of the previous response.

pageSizeintegerOptional
Number of results to return per page, with a maximum of 100. Defaults to 20.

Response

The response body.
entrieslist of objects
Array of results returned by the endpoint
nextPageTokenstringOptional

A string that can be passed to the pageToken parameter in the next request to fetch the next page of results. Not present in the last page of results. Must be treated as an opaque string.