---
title: "Get current DCI values"
method: GET
path: "/v1/objects/{object-id}/data-collection/current-values"
tags: ["Data Collection"]
---

# Get current DCI values

`GET /v1/objects/{object-id}/data-collection/current-values`

Retrieve current values for all data collection items (DCIs) of a given object.

## Path parameters

- `object-id` integer, required — Object ID

## Response `200`

Current DCI values retrieved successfully

- object
  - `objectId` integer — Object ID
  - `objectName` string — Object name
  - `values` DCIValue[]
    - `ownerId` integer — Object ID that owns this DCI
    - `id` integer — DCI ID
    - `name` string — DCI name
    - `flags` integer — DCI flags
    - `description` string — DCI description
    - `sourceType` integer — Data source type
    - `dataType` integer — Data type
    - `value` string — Current value as string
    - `timestamp` integer — Timestamp of last value collection (Unix timestamp)
    - `status` integer — Current DCI status
    - `type` integer — DCI type
    - `errorCount` integer — Number of consecutive collection errors
    - `templateItemId` integer — Template item ID if DCI is created from template
    - `unitName` string — Unit name for the value
    - `multiplier` integer — Value multiplier
    - `noValue` boolean — True if DCI has no collected value
    - `comments` string — DCI comments
    - `anomalyDetected` boolean — True if anomaly was detected in recent values
    - `userTag` string — User-defined tag
    - `hasActiveThreshold` boolean — True if DCI has active threshold
    - `threshold` object — Active threshold information (present only if hasActiveThreshold is true)

## Other responses

- `400` — Object is not data collection target
- `401` — Unauthorized
- `403` — User does not have read access to given object
- `404` — Object with given ID does not exist

---

[API](https://skmtc.net/netxms/apis/netxms-api.md) · [All operations](https://skmtc.net/netxms/apis/netxms-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/netxms/netxms-api/versions/ee1f54ee3abd/schema)
