LogicMonitor icon

LogicMonitor

Interact with the LogicMonitor API

Datasource → Get Many

AI-generated

Summary

Retrieve a list of datasources from LogicMonitor with optional filtering, field selection, pagination, and response format.

Inputs

  • returnAll — Whether to return all results or only up to a given limit. Defaults to false.
  • limit — Maximum number of results to return. Defaults to 50. Minimum 1, maximum 1000. Shown when 'returnAll' is false.
  • additionalFields — Optional collection to refine the request. Contains fields, filter, and format options.

Output shape

Array of datasource objects. When 'returnAll' is true, all matching datasources are returned; otherwise up to 'limit' results. Each item is wrapped as { json: }. Field selection and filter are applied as API query parameters. Response format follows the LogicMonitor API.

If 'returnAll' is true, the operation paginates through all results using the API's built-in pagination. The 'format' parameter defaults to JSON and influences the expected response structure, though the API returns JSON by default.

Examples

Example 1: Get first 10 datasources

returnAll: false, limit: 10

Example 2: Get all datasources matching a filter

returnAll: true, additionalFields: { filter: 'name~

Example 3: Retrieve specific fields for each datasource

returnAll: false, additionalFields: { fields: 'id,name,displayName' }

Links

Discussion