---
title: "Get Company Collections Summary"
method: GET
path: "/api/companies/{company_uuid}/contents/collections/summary"
tags: ["contents"]
---

# Get Company Collections Summary

`GET /api/companies/{company_uuid}/contents/collections/summary`

## Request

- Base URL: `https://api.regdoor.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.regdoor.com/api/companies/{company_uuid}/contents/collections/summary`
- Auth: HTTP bearer

Grouped collections for the library Collections tab (lightweight, single round-trip).

## Path parameters

- `company_uuid` string, uuid, required

## Query parameters

- `only_company` boolean: When true, summary covers private company documents only
- `only_public` boolean: When true, summary covers public (global) documents only
- `sort` string: Group sort: recently_updated, name_az, or most_documents
- `preview_limit` integer
- `search` string, nullable
- `user_uuid` string, uuid, nullable
- `user_uuid_list` string[], nullable
- `content_list` string[], nullable
- `type` string, nullable
- `type_list` string[], nullable
- `type_uuid` string, uuid, nullable
- `organization_list` string[], nullable
- `contact_list` string[], nullable
- `jurisdiction_list` integer[], nullable
- `sector_uuid_list` string[], nullable
- `subsector_uuid_list` string[], nullable
- `published_from` string, date-time, nullable
- `published_to` string, date-time, nullable
- `created_from` string, date-time, nullable
- `created_to` string, date-time, nullable
- `updated_from` string, date-time, nullable
- `updated_to` string, date-time, nullable
- `collection_list` string[], nullable
- `collections_unassigned_only` boolean
- `list_selected_contents` boolean
- `group_uuid_list` string[], nullable: Filter by responsible area (group) UUIDs (OR): content whose organizations have any listed area in this company.
- `mine_groups` boolean, nullable: When true, adds the authenticated user's areas (leader or member) to group_uuid_list. Ignored when the user has no area.
- `unassigned_group` boolean, nullable: When true, returns content whose organizations have no area in this company. Combined with group_uuid_list/mine_groups returns the union.

## Headers

- `X-User-Email` string, nullable
- `X-User-Name` string, nullable

## Response `200`

Successful Response

- CollectionsSummaryResponse
  - `groups` CollectionSummaryGroup[], required
    - `name` string, required
    - `group_uuid` string, uuid4, nullable
    - `group_name` string
    - `total_count` integer, required
    - `latest_updated_at` string, date-time, nullable
    - `preview_items` CollectionSummaryItem[], required
      - `uuid` string, uuid4, required
      - `name` string, required
      - `original_file_name` string, required
      - `content_type` string, required
      - `type` string, nullable
      - `company_uuid` string, uuid4, nullable
      - `user_uuid` string, uuid4, nullable
      - `user_name` string, nullable
      - `created_at` string, date-time, required
      - `updated_at` string, date-time, required
      - `released_at` string, date-time, nullable
      - `collections` string[], nullable
    - `relation_counts` CollectionRelationCounts: Cross-entity membership counts for a company collection.
      - `contacts` integer
      - `organizations` integer
      - `interactions` integer
      - `private_docs` integer
      - `public_docs` integer
      - `events` integer
      - `tasks` integer
  - `unassigned` CollectionUnassignedSummary
    - `total_count` integer, required
    - `preview_items` CollectionSummaryItem[], required
      - `uuid` string, uuid4, required
      - `name` string, required
      - `original_file_name` string, required
      - `content_type` string, required
      - `type` string, nullable
      - `company_uuid` string, uuid4, nullable
      - `user_uuid` string, uuid4, nullable
      - `user_name` string, nullable
      - `created_at` string, date-time, required
      - `updated_at` string, date-time, required
      - `released_at` string, date-time, nullable
      - `collections` string[], nullable

## Other responses

- `404`: Not found
- `422`: Validation Error

---

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