---
title: "List who a shared computer is granted to"
method: GET
path: "/v1/org/computers/shared/{computerId}/grants"
tags: ["Devices"]
---

# List who a shared computer is granted to

`GET /v1/org/computers/shared/{computerId}/grants`

## Request

- Base URL: `https://api.openworklabs.com`
- URL: `https://api.openworklabs.com/v1/org/computers/shared/{computerId}/grants`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

The current members and agents a shared computer is granted to, and the teams it is granted to, with who granted each and when. Someone who has left the organization and an archived agent are not listed, because their grant ended with them. Requires Shared computer grants and computers.view.

## Path parameters

- `computerId` string, typeid, required

## Response `200`

The shared computer and its grants.

- OrganizationSharedComputerGrantsResponse
  - `computer` OrganizationSharedComputer, required
    - `id` string, required
    - `name` string, required
    - `status` 'provisioning' | 'healthy' | 'failed' | 'stopped', required
    - `grants` integer, required
    - `teamGrants` integer, required
    - `createdAt` string, date-time, required
    - `size` 'small' | 'medium' | 'large', nullable
  - `grants` OrganizationSharedComputerGrant[], required
    - `memberId` string, required
    - `kind` 'member' | 'agent', required
    - `name` string, nullable, required
    - `email` string, nullable, required
    - `agentId` string, nullable, required
    - `grantedAt` string, date-time, required
    - `grantedByMemberId` string, required
  - `teams` OrganizationSharedComputerTeamGrant[], required
    - `teamId` string, required
    - `name` string, required
    - `members` integer, required
    - `grantedAt` string, date-time, required
    - `grantedByMemberId` string, required

## Other responses

- `401`: Sign in required.
- `403`: View team computers permission required.
- `404`: Shared computer grants is off, or the computer is not in this organization.
- `409`: This is a member's own computer, which is never granted.

## Changes

- **2026-12-01** `85dda9c15f57`: 2 info
  - added the required property `computer/teamGrants` to the response with the `200` status
  - added the required property `teams` to the response with the `200` status
- **2026-12-01** `844cd00a8933`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/openworklabs/apis/den-api/changes/v1/org/computers/shared/:computerId/grants/get.md)

---

[API](https://skmtc.dev/openworklabs/apis/den-api.md) - [All operations](https://skmtc.dev/openworklabs/apis/den-api/llms.txt) - [OpenAPI document](https://skmtc.dev/openworklabs/apis/den-api/revisions/84fb0f99fb95?raw)
