---
title: "Get all last values for object"
method: GET
path: "/objects/{object-id}/last-values"
tags: ["Data Collection"]
---

# Get all last values for object

`GET /objects/{object-id}/last-values`

Returns last values for all DCIs on the object.
If the object is not a data collection target, returns values from all child objects that are data collection targets.

## Path parameters

- `object-id` string, required

## Query parameters

- `dciName` string
- `dciNameRegexp` string
- `dciDescription` string
- `dciDescriptionRegexp` string

## Response `200`

Last values

- object
  - `lastValues` array[]
    - DciValue[]
      - `id` integer
      - `nodeId` integer
      - `name` string
      - `description` string
      - `value` string
      - `timestamp` integer
      - `status` integer
      - `dataType` integer
      - `errorCount` integer
      - `activeThresholdSeverity` integer

## Other responses

- `401` — Access denied

---

[API](https://skmtc.dev/netxms/apis/netxms-rest-api.md) · [All operations](https://skmtc.dev/netxms/apis/netxms-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/netxms/netxms-rest-api/revisions/04789afedcb3/schema)
