Actions34
- Administration Actions
- Components Actions
- Dropdowns Actions
- Management Actions
- Project Actions
- Rule Actions
- Session Actions
- Assistance Actions
- Assets Actions
Components → Get
AI-generatedSummary
Retrieves component definitions or instances from a GLPI instance based on the specified type and optional filters.
Inputs
- showCredentials — If enabled, outputs the configured credentials and skips API requests.
- itemtype (required) — Type of component to retrieve (e.g., Memory, Processor, Battery).
- itemid — ID of a specific definition or instance to fetch; leave empty to list items.
- returnAll — When true, retrieves all items without pagination.
- limit — Maximum number of items to return when Return All is false (default: 50).
- componentsEndpoint — Choose whether to list definitions or instances (default: definitions).
- definitionId — Optional filter ID to list instances when Endpoint is set to Instances.
Output shape
A list of items (one per definition or instance) or a single item if Item ID is provided.
When listing items, pagination applies unless Return All is true. The output items contain the full JSON response from the GLPI API.
Examples
Example 1: List all Memory component definitions
Set Item Type to Memory, leave Item ID empty, and Endpoint to Definitions.
Example 2: Retrieve a single Processor instance
Set Item Type to Processor, provide the Instance ID, and Endpoint to Instances.
Example 3: List instances filtered by a specific definition ID
Set Item Type to HardDrive, Endpoint to Instances, and provide the Definition ID.