# Value Centers

Operation ID: `valueCenters`

Group: Value Accounting › Value Centers

[Open in the interactive reference](https://lensing.ai/api-docs/lensing/v1/endpoints/valueCenters)

`GET /value-accounting/value-centers`

Read-only: Reads and returns; changes nothing.

List the value centers this tenant holds — the responsibility units (cost and profit centres) journal lines are tagged to and figures roll up through — one row per value center, with its parent in the tree and structured filters. GET data-set exposing filter[field][op]= (eq/ne/gt/gte/lt/lte/in/notIn/between/like), sort=startDate or sort=-lastModifiedDate, sparse fields=, and page[size]/page[cursor] cursor pagination. filter[status][eq]=active keeps the ones in effect today; filter[parentId][eq]=<id> the direct children of one value center. Names, numbers, codes and descriptions are returned but cannot be filtered or sorted on here, and the mappings are summarised as mappingCount only: to find a value center by name, code, parent or the master-data record it stands for, and to read its mappings, use searchValueCenters (POST value-accounting/value-centers/search) or getValueCenter (GET value-accounting/value-centers/:id); for the whole subtree or the chain of parents use getValueCenterHierarchy (GET value-accounting/value-centers/:id/hierarchy).

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `Api-Version` | header | string · v1 | yes | The API version this request targets, named by its public identifier. Required on every request; omitting it, or naming a version this company does not have, is answered with 400. This document describes version `v1`. |

## Query surface

- `id` — filter by eq, ne, gt, gte, lt, lte, in, notIn, between, like
- `startDate` — filter by eq, ne, gt, gte, lt, lte, in, notIn, between
- `endDate` — filter by eq, ne, gt, gte, lt, lte, in, notIn, between
- `status` — filter by eq, ne, gt, gte, lt, lte, in, notIn, between, like
- `categoryId` — filter by eq, ne, gt, gte, lt, lte, in, notIn, between, like
- `parentId` — filter by eq, ne, gt, gte, lt, lte, in, notIn, between, like
- `lastModifiedDate` — filter by eq, ne, gt, gte, lt, lte, in, notIn, between
- Orderable: id, parentId, status, categoryId, startDate, endDate, lastModifiedDate
- Selectable: id, name, centerNumber, centerCode, description, startDate, endDate, status, categoryId, parentId, isSystemManaged, mappingCount, lastModifiedDate
- `page[size]` — Page size
- `page[cursor]` — Opaque continuation cursor

## Response

`200` Success

Under `data`, an array of valueCentersRow:

| Field | Type | Required | Filter | Sort | Description |
| --- | --- | --- | --- | --- | --- |
| `id` | string | no | Exact (`eq`, `ne`), Range (`gt`, `gte`, `lt`, `lte`, `between`), Any of (`in`, `notIn`), Pattern (`like`) | yes | Stable, platform-assigned id (a UUID) of the value center — the public identifier getValueCenter, updateValueCenter and deleteValueCenter (GET/PATCH/deleteValueCenter) are keyed by. Filter target: filter[id][in]=<id1>,<id2>. |
| `name` | string | no | no | no | Display name of the value center, e.g. 'Development Value Center' — for one the system maintains for a department or team, derived from that record and kept in step. Names are NOT unique. Returned only: search by name fragment with searchValueCenters (POST value-accounting/value-centers/search). |
| `centerNumber` | string \| null | no | no | no | System-assigned business number, e.g. 'VC-461358' — unique, never caller-supplied, and the stable handle to quote to a person. Returned only. |
| `centerCode` | string \| null | no | no | no | Tenant-assigned code identifying the value center, e.g. 'DEV-01'. Unique among the value centers that have one; absent when it has none. Returned only: look one up with filters.centerCode on searchValueCenters (POST value-accounting/value-centers/search). |
| `description` | string \| null | no | no | no | Longer free-text explanation of what the value center is for. Absent when unset. Returned only. |
| `startDate` | date | no | Exact (`eq`, `ne`), Range (`gt`, `gte`, `lt`, `lte`, `between`), Any of (`in`, `notIn`) | yes | First day the value center is valid, inclusive. Format YYYY-MM-DD. |
| `endDate` | date \| null | no | Exact (`eq`, `ne`), Range (`gt`, `gte`, `lt`, `lte`, `between`), Any of (`in`, `notIn`) | yes | Last day the value center is valid, inclusive. Format YYYY-MM-DD. Absent when it is open-ended, the normal state. A delete that finds it in use sets it (the value center and its mappings are deactivated rather than deleted); reactivateValueCenters (POST value-accounting/value-centers/reactivate) clears it again. |
| `status` | string | no | Exact (`eq`, `ne`), Range (`gt`, `gte`, `lt`, `lte`, `between`), Any of (`in`, `notIn`), Pattern (`like`) | yes | Lifecycle state, derived from the dates on every read and never stored: 'active' (started, and no endDate or one on or after today, UTC — the end date is inclusive), 'planned' (startDate after today), 'inactive' (endDate before today) or 'canceled' (endDate before startDate). Filter target: filter[status][eq]=active. |
| `categoryId` | string \| null | no | Exact (`eq`, `ne`), Range (`gt`, `gte`, `lt`, `lte`, `between`), Any of (`in`, `notIn`), Pattern (`like`) | yes | Id (a UUID) of the category the value center is filed under, as listed by the categories data-set (GET value-accounting/categories). Absent when it is uncategorised. Filter target: filter[categoryId][eq]=<id>. |
| `parentId` | string \| null | no | Exact (`eq`, `ne`), Range (`gt`, `gte`, `lt`, `lte`, `between`), Any of (`in`, `notIn`), Pattern (`like`) | yes | Id (a UUID) of the value center this one hangs under in the tree — its direct parent. Absent for a root: every value center is part of the tree, a root being one with no parent. Filter target: filter[parentId][eq]=<id> lists the direct children of that value center; the whole subtree is getValueCenterHierarchy (GET value-accounting/value-centers/:id/hierarchy?direction=descendants). |
| `isSystemManaged` | boolean | no | no | no | True when the system maintains this value center as the mirror of a department or team (it was created by the Department/Team automation or by a value-center import, which are the only writers of that mark): its name, centerCode, startDate, categoryId and mappings then follow the record and are refused on PATCH with SYSTEM_MANAGED; endDate, parentId (no Department/Team hook places it in the tree) and description stay editable. Derived from how the value center was created, never an input. Returned only. |
| `mappingCount` | number | no | no | no | How many master-data mappings the value center carries: 0 for one that stands for no record — valid for a value center — 1 for one standing for one department or team, more for a cluster. The mappings themselves, with each record's {dimensionCode, id}, are on getValueCenter (GET value-accounting/value-centers/:id) and searchValueCenters (POST value-accounting/value-centers/search). Returned only. |
| `lastModifiedDate` | date-time | no | Exact (`eq`, `ne`), Range (`gt`, `gte`, `lt`, `lte`, `between`), Any of (`in`, `notIn`) | yes | Instant the value center's own fields last changed, as ISO 8601 UTC (YYYY-MM-DDTHH:mm:ss.sssZ). Filter and sort on this to sync incrementally: filter[lastModifiedDate][gte]=2026-09-01T00:00:00.000Z with sort=lastModifiedDate. An update that changes nothing does not move it, and neither does an edit of the mappings alone. |

```json
{
  "data": [
    {
      "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "name": "<name>",
      "centerNumber": "<centerNumber>",
      "centerCode": "<centerCode>",
      "description": "<description>",
      "startDate": "2026-01-15",
      "endDate": "2026-01-15",
      "status": "<status>",
      "categoryId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "parentId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "isSystemManaged": true,
      "mappingCount": 0,
      "lastModifiedDate": "2026-01-15T09:30:00.000Z"
    }
  ],
  "pagination": {
    "hasMore": true,
    "nextCursor": "<nextCursor>"
  }
}
```

## Statuses

- `400` — Invalid request or business failure
- `401` — The request carries no valid access token.
- `403` — Not authorized
- `404` — Not found
- `429` — Too many requests from this client address. The response has no body and no `Retry-After` header.
- `500` — Internal server error
