---
title: "GET /api/v1/computers/user-affinities"
method: GET
path: "/api/v1/computers/user-affinities"
tags: ["Computers"]
---

# GET /api/v1/computers/user-affinities

`GET /api/v1/computers/user-affinities`

## Request

- Base URL: `https://api.immy.bot` (the document declares no server; this is the origin it was published from)
- URL: `https://api.immy.bot/api/v1/computers/user-affinities`
- Auth: none declared

## Query parameters

- `loadOptions` DataSourceLoadOptions
  - `requireTotalCount` boolean
  - `requireGroupCount` boolean
  - `isCountQuery` boolean
  - `isSummaryQuery` boolean
  - `skip` integer
  - `take` integer
  - `sort` SortingInfo[], nullable
    - `selector` string, nullable
    - `desc` boolean
  - `group` GroupingInfo[], nullable
    - `selector` string, nullable
    - `desc` boolean
    - `groupInterval` string, nullable
    - `isExpanded` boolean, nullable
  - `filter` unknown[], nullable
    - unknown
  - `totalSummary` SummaryInfo[], nullable
    - `selector` string, nullable
    - `summaryType` string, nullable
  - `groupSummary` SummaryInfo[], nullable
    - `selector` string, nullable
    - `summaryType` string, nullable
  - `select` string[], nullable
  - `preSelect` string[], nullable
  - `remoteSelect` boolean, nullable
  - `remoteGrouping` boolean, nullable
  - `expandLinqSumType` boolean, nullable
  - `primaryKey` string[], nullable
  - `defaultSort` string, nullable
  - `stringToLower` boolean, nullable
  - `paginateViaPrimaryKey` boolean, nullable
  - `sortByPrimaryKey` boolean, nullable
  - `allowAsyncOverSync` boolean
- `computerId` integer

## Response `200`

OK

- ComputerUserAffinityResponse[]
  - `id` integer
  - `personId` integer
  - `date` string, date-time
  - `personName` string, nullable
  - `computerId` integer
  - `computerName` string, nullable
  - `tenantId` integer
  - `tenantName` string, nullable

---

[API](https://skmtc.dev/immy/apis/immy-bot-api-2.md) · [All operations](https://skmtc.dev/immy/apis/immy-bot-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/immy/apis/immy-bot-api-2/revisions/75b50268fa51?raw)
