GLPI Rest API V2 (Fork) icon

GLPI Rest API V2 (Fork)

GLPI Rest API Node compatible with GLPI 9.x and above.

Actions34

Assets → Get

AI-generated

Summary

Retrieves asset records from GLPI based on a specified asset type, optionally filtered by ID, pagination limits, or search criteria.

Inputs

  • showCredentials — If enabled, outputs the configured credentials and skips any API requests.
  • itemtype (required) — Type of asset to retrieve (e.g., Computer, Monitor, Printer, Software, etc.).
  • itemid — ID of a specific asset. Leave empty to list all assets of the selected type.
  • returnAll — If true, retrieves all assets without pagination limits.
  • limit — Maximum number of items to return when Return All is false (default: 50).
  • filters — Collection containing a 'filter' string parameter for advanced search (e.g., name=ilike=term).

Output shape

A list of items, each containing a JSON object representing a GLPI asset (or a single asset object if a specific ID is provided).

The output data structure reflects the raw JSON response from the GLPI Assets API endpoint.

Examples

Example 1: List all computers

Set Item Type to 'Computer', leave Item ID empty, and Return All to false (default).

Example 2: Retrieve a specific monitor

Set Item Type to 'Monitor' and provide the Item ID (e.g., 123).

Example 3: Search for assets containing 'server' in the name

Set Item Type to 'Computer', leave Item ID empty, and add a filter string like 'name=ilike=server' in the Filters collection.

Links

Discussion