List Ci
list_ciList CMDB configuration items with optional class and query filters. Retrieve CIs by class name, encoded query, pagination, and selected fields.
Instructions
List CMDB configuration items with optional class and query filtering
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of CIs to return | |
| query | No | Encoded query string (e.g., 'operational_status=1') | |
| fields | No | Comma-separated list of fields to return | |
| offset | No | Number of records to skip | |
| class_name | No | CMDB class name (e.g., 'cmdb_ci', 'cmdb_ci_server', 'cmdb_ci_computer') | cmdb_ci |
| display_value | No | 'false' (default) returns stored values; 'true' returns labels in place of sys_ids and choice values; 'all' returns {display_value, value} per field, which keeps the sys_id beside the name. query= still filters on stored values, not labels. With 'true' or 'all', dates come back in this identity's time zone and format | false |
| response_format | No | 'detailed' (default) returns each reference field as {link, value}; 'concise' drops the link (an instance URL) and returns the sys_id alone | detailed |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| class | Yes | ||
| count | Yes | ||
| records | Yes | ||
| warning | No | ||
| truncated | No | ||
| next_offset | No | ||
| display_note | No |