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.

The right sidebar Docs tab can populate the active request directly from endpoint documentation:

Docs itemInsert result
Query parameterAdds the key to Query Parameters and enables it
Header parameterAdds the key to Headers and enables it
Top-level body fieldAdds the field to the JSON body and keeps Form mode when possible
Nested body fieldAdds the nested object path to the JSON body and switches to Raw JSON

Nested schema rows can be collapsed and expanded with the chevron next to parent fields.


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), with required schema fields included first when available
  • Tab name updates to reflect the endpoint
  • Previous response is cleared

API Explorer prompts before destructive requests by default. The prompt shows the method, path, and target portal hostname so you can verify the request before sending.

Use the API toolbar Confirm dropdown to change confirmation behavior without leaving the request builder. The same setting is available in Settings → API Explorer.

ModeBehavior
DELETE onlyConfirm DELETE requests only
All write methodsConfirm POST , PUT , PATCH , and DELETE requests
OffSend without confirmation prompts

Use Read-only mode when you only want to inspect data:

  • Available from Settings → API Explorer
  • Also available from the API toolbar next to pagination and confirmation controls
  • Blocks non-GET request execution from the toolbar, actions menu, command palette, and keyboard shortcut
  • Disables non-GET method and endpoint selection with explanatory tooltips

Click Send Request or press Ctrl+Enter.

If confirmation is enabled for the selected method, review the confirmation dialog before sending. If read-only mode blocks the current method, the Send button tooltip explains why it is disabled.

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