# Business Drivers

Operation ID: `businessDrivers`

Group: Value Accounting › Business Drivers › Business Driver Definitions

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

`GET /value-accounting/business-drivers`

Read-only: Reads and returns; changes nothing.

List the business driver definitions — the named measures such as headcount or machine hours that value accounting allocates by — one row per driver, with structured filters. GET data-set exposing filter[field][op]= (eq/ne/gt/gte/lt/lte/in/notIn/between/like), sort=name or sort=-lastModifiedDate, sparse fields=, and page[size]/page[cursor] cursor pagination. Returns active AND deactivated drivers — filter[isActive][eq]=true for the ones in use — because a deactivated driver keeps its recorded values and its name. Driver names are unique, so filter[name][eq]= resolves a name to its id; it compares the stored text exactly, case included — for a case-insensitive fragment use searchBusinessDrivers (POST value-accounting/business-drivers/search). The declared dimensions are not in this list (a list field cannot be a column): read them with getBusinessDriver (GET value-accounting/business-drivers/:id) or the search. Recorded values are not part of this resource.

## 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
- `name` — filter by eq, ne, gt, gte, lt, lte, in, notIn, between, like
- `calculationType` — filter by eq, ne, gt, gte, lt, lte, in, notIn, between, like
- `isActive` — filter by eq, ne, gt, gte, lt, lte, in, notIn, between
- `isSystem` — filter by eq, ne, gt, gte, lt, lte, in, notIn, between
- `unitId` — 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, name, calculationType, isActive, isSystem, unitId, lastModifiedDate
- Selectable: id, name, description, calculationType, isActive, isSystem, unitId, lastModifiedDate
- `page[size]` — Page size
- `page[cursor]` — Opaque continuation cursor

## Response

`200` Success

Under `data`, an array of businessDriversRow:

| 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 driver — the public identifier getBusinessDriver, updateBusinessDriver and deleteBusinessDriver (GET/PATCH/deleteBusinessDriver) are keyed by. Filter target: filter[id][in]=<id1>,<id2>. |
| `name` | string | no | Exact (`eq`, `ne`), Range (`gt`, `gte`, `lt`, `lte`, `between`), Any of (`in`, `notIn`), Pattern (`like`) | yes | Display name of the driver, e.g. 'Headcount'. Unique tenant-wide — compared trimmed and case-insensitively, deactivated drivers included — and stored trimmed, so a name identifies exactly one driver. Filter target: filter[name][eq]=Headcount (exact stored text, case-sensitive), and sort=name for an alphabetical list. |
| `description` | string \| null | no | no | no | Longer free-text explanation of what the driver measures and how it is counted. Absent when it was never set or has been cleared. Returned only: in neither filterableFields nor orderableFields, because it is free-form prose. |
| `calculationType` | string | no | Exact (`eq`, `ne`), Range (`gt`, `gte`, `lt`, `lte`, `between`), Any of (`in`, `notIn`), Pattern (`like`) | yes | How the driver's values behave across accounting periods: exactly 'asOf' (a STOCK — a recorded value carries forward into later periods until changed, e.g. headcount) or 'cumulative' (a FLOW — each period stands alone, e.g. machine hours worked in it). Frozen once the driver holds a recorded value. Filter target: filter[calculationType][eq]=asOf. |
| `isActive` | boolean | no | Exact (`eq`, `ne`), Range (`gt`, `gte`, `lt`, `lte`, `between`), Any of (`in`, `notIn`) | yes | False for a deactivated driver: it keeps its recorded values and its name, but is not offered for new use. A delete of a driver that holds values deactivates it. Filter target: filter[isActive][eq]=true for the drivers in use. |
| `isSystem` | boolean | no | Exact (`eq`, `ne`), Range (`gt`, `gte`, `lt`, `lte`, `between`), Any of (`in`, `notIn`) | yes | True for a SYSTEM driver — one shipped with the product whose values are fed by an external system metric (for example Time Tracking) instead of being entered by people. Read-only: it cannot be set or changed on any route. It implies that the name, the calculation type and the unit never change (PATCH answers SYSTEM_DRIVER), that a delete leaves the driver untouched (outcome 'blocked'), and that its values are written only by its feed; its dimensions may only be ones that feed supplies (DIMENSION_NOT_FED), its description and active state stay editable, and activating it is how its feed is switched on. False for every driver a person created. Filter target: filter[isSystem][eq]=false for the user-managed drivers. |
| `unitId` | string \| null | no | Exact (`eq`, `ne`), Range (`gt`, `gte`, `lt`, `lte`, `between`), Any of (`in`, `notIn`), Pattern (`like`) | yes | Id (a UUID) of the driver unit the driver's values are expressed in, as returned by the driverUnits data-set (GET value-accounting/driver-units). Absent when the driver has no unit — its values are then bare numbers. Filter target: filter[unitId][eq]=<unit id> for the drivers measured in one unit. |
| `lastModifiedDate` | date-time | no | Exact (`eq`, `ne`), Range (`gt`, `gte`, `lt`, `lte`, `between`), Any of (`in`, `notIn`) | yes | Instant the driver definition 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. |

```json
{
  "data": [
    {
      "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "name": "<name>",
      "description": "<description>",
      "calculationType": "<calculationType>",
      "isActive": true,
      "isSystem": true,
      "unitId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "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
