Skip to content

Request Builder

The Request Builder provides a structured interface for creating and executing LogicMonitor API requests.

Request builder with endpoint, parameters, and JSON body

Select the appropriate HTTP method from the dropdown:

MethodPurposeHas Body
GET Retrieve dataNo
POST Create resourcesYes
PUT Replace resourcesYes
PATCH Update fieldsYes
DELETE Remove resourcesNo

Enter the API endpoint path with autocomplete:

/device/devices
/device/devices/{id}
/setting/collectors

Replace {id} placeholders with actual values:

/device/devices/123
/setting/collectors/45/installers

Or use variables for reusability:

/device/devices/{{deviceId}}

The path field provides autocomplete suggestions from the endpoint catalog as you type.


The request builder offers two modes for editing request content:

Form mode provides structured editors for:

SectionDescription
Query ParametersKey-value pairs appended to the URL
HeadersCustom HTTP headers for the request
BodyJSON body as key-value form fields

Parameters are automatically URL-encoded when sending. Toggle parameters on/off without deleting them.

Toggle between modes using the Form / Raw JSON tabs above the body editor.


Common query parameters for LogicMonitor API:

ParameterDescriptionExample
sizeResults per pagesize=100
offsetPagination offsetoffset=0
filterFilter expressionfilter=displayName~"web"
fieldsLimit response fieldsfields=id,displayName
sortSort ordersort=+displayName

LogicMonitor filters use this syntax:

filter=property:value
filter=property~"partial"
filter=property>"2023-01-01"

Operators:

OperatorMeaning
:equals
~contains
!:not equals
>greater than
<less than
>:greater or equal
<:less or equal

The left panel shows all available API endpoints organized by category.

  1. Use the search box to filter by path, method, or description

  2. Expand categories to browse endpoints

  3. Click an endpoint to load it into the request builder

Endpoints are organized by resource type:

  • Devices — Device management, properties, and monitoring
  • Device Groups — Group operations and hierarchy
  • DataSources — LogicModule management
  • Alerts — Alert management and acknowledgment
  • Settings — Account and portal settings
  • Reports — Report generation and scheduling

When you click an endpoint in the catalog:

  • Method and path are populated automatically
  • Example request body is generated (for POST/PUT/PATCH)
  • Tab name updates to reflect the endpoint
  • Previous response is cleared

Click Send Request or press Ctrl+Enter.

During execution:

  • Send button shows a spinner
  • Status shows “Sending…”
  • Progress indicator visible for long requests

The response viewer provides four tabs:

Collapsible, syntax-highlighted JSON tree:

  • Expand/collapse nested objects and arrays
  • Copy individual values
  • Navigate large responses easily
SectionContent
StatusHTTP status code and text
TimeResponse duration (e.g., “234ms”)
SizeResponse size in bytes
CodeMeaning
200Success – Request completed
201Created – Resource created

LogicMonitor paginates large result sets:

{
"total": 1500,
"searchId": null,
"items": [...],
"data": null
}
ParameterDescriptionDefault
sizeItems per page50
offsetStarting position0

To retrieve all items:

  1. Note the total count from the first response
  2. Calculate pages: ceil(total / size)
  3. Increment offset by size for each page

Example for 1500 items with size=100:

  • Page 1: offset=0
  • Page 2: offset=100
  • Page 15: offset=1400

  1. GET /device/devices

  2. Add size=1000 parameter

  3. Click Send Request

  4. Review device list in response