---
title: "GET /api/ee/library"
method: GET
path: "/api/ee/library"
tags: ["/api/ee/library"]
---

# GET /api/ee/library

`GET /api/ee/library`

Get the Library. If no library exists, it doesn't fail but returns an empty response

## Response `2XX`

Successful response

- union
  - MetabaseCollectionsSchemaCollectionItem
    - `archived` boolean, required
    - `authority_level` string, nullable
    - `based_on_upload` union
      - integer — value must be an integer greater than zero.
      - string
    - `below` MetabaseCollectionsSchemaCollectionItemModel[]
    - `can_delete` boolean
    - `can_restore` boolean
    - `can_write` boolean
    - `collection` MetabaseCollectionsSchemaCollection
      - `archived` boolean, required
      - `authority_level` string, nullable
      - `below` MetabaseCollectionsSchemaCollectionItemModel[]
      - `can_delete` boolean, required
      - `can_restore` boolean, required
      - `can_write` boolean, required
      - `children` MetabaseCollectionsSchemaCollection[]
      - `description` string, nullable, required
      - `effective_ancestors` object
      - `effective_location` string
      - `entity_id` string
      - `git_sync_enabled` boolean
      - `here` MetabaseCollectionsSchemaCollectionItemModel[]
      - `id` union, required
        - string
        - integer — value must be an integer greater than zero.
      - `is_personal` boolean
      - `is_remote_synced` boolean
      - `is_sample` boolean
      - `location` string, nullable, required
      - `name` string, required
      - `parent_id` union
        - string
        - integer — value must be an integer greater than zero.
      - `personal_owner_id` integer — value must be an integer greater than zero.
      - `slug` string
      - `type` 'instance-analytics' | 'trash' | 'remote-synced' | 'library' | 'library-models' | 'library-metrics'
    - `collection_id` union
      - integer — value must be an integer greater than zero.
      - string
    - `collection_position` integer, nullable — value must be an integer greater than zero.
    - `collection_preview` boolean, nullable
    - `copy` boolean
    - `dashboard_count` integer, nullable — value must be an integer greater than zero.
    - `database_id` integer, nullable — value must be an integer greater than zero.
    - `description` string, nullable, required
    - `display` string
    - `effective_location` string
    - `entity_id` string
    - `fully_parameterized` boolean, nullable
    - `here` MetabaseCollectionsSchemaCollectionItemModel[]
    - `id` integer, required — value must be an integer greater than zero.
    - `last-edit-info` MetabaseCollectionsSchemaLastEditInfo
      - `email` string, nullable, required
      - `first_name` string, nullable, required
      - `id` integer, nullable, required — value must be an integer greater than zero.
      - `last_name` string, nullable, required
      - `timestamp` string, nullable, required
    - `location` string
    - `model` 'card' | 'dataset' | 'metric' | 'dashboard' | 'snippet' | 'collection' | 'indexed-entity' | 'indexed-entity' | 'document' | 'table'
    - `moderated_status` string
    - `name` string, required
    - `personal_owner_id` integer, nullable — value must be an integer greater than zero.
    - `type` union
      - 'instance-analytics' | 'trash' | 'remote-synced' | 'library' | 'library-models' | 'library-metrics'
      - 'model' | 'question' | 'metric'
  - object
    - `data` unknown, required

## Other responses

- `4XX` — Client error response
- `5XX` — Server error response

---

[API](https://skmtc.net/metabase/apis/metabase-api.md) · [All operations](https://skmtc.net/metabase/apis/metabase-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/metabase/metabase-api/revisions/08b5a2bafb4f/schema)
