---
title: "List Relationships"
method: GET
path: "/v1/workspaces/{workspace}/access-control/relationships"
tags: ["v1", "protected", "access-control"]
---

# List Relationships

`GET /v1/workspaces/{workspace}/access-control/relationships`

List resource-ownership grants enriched with display names.

Grants live on ``resource:<uuid>`` objects; each is mapped back onto the DB
entity (agent / skill collection / MCP server / skill) it represents. The
optional ``namespace`` filter restricts results to one entity kind.

## Path parameters

- `workspace` string, required — Slug of the workspace the request acts in

## Query parameters

- `namespace` string, nullable

## Response `200`

Successful Response

- RelationshipsResponse
  - `count` integer, required
  - `relationships` RelationshipItem[], required
    - `direct` boolean, required
    - `fanout` integer, nullable
    - `namespace` string, required
    - `object` string, required
    - `object_name` string, required
    - `relation` string, required
    - `subject` string, required
    - `subject_kind` 'agent' | 'user' | 'workspace', required
    - `subject_name` string, required

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-26** `d3ad8e1a3681` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/agentarea/apis/agentarea-api/changes/v1/workspaces/:workspace/access-control/relationships/get.md)

---

[API](https://skmtc.dev/agentarea/apis/agentarea-api.md) · [All operations](https://skmtc.dev/agentarea/apis/agentarea-api/llms.txt) · [OpenAPI document](https://skmtc.dev/agentarea/apis/agentarea-api/revisions/d3ad8e1a3681?raw)
