---
title: "Returns the type of the underlying library"
method: GET
path: "/api/Library/type"
tags: ["Library"]
---

# Returns the type of the underlying library

`GET /api/Library/type`

## Request

- Base URL: `http://localhost:5000`
- URL: `http://localhost:5000/api/Library/type`
- Auth: API key in header `x-api-key`

## Query parameters

- `libraryId` integer

## Response `200`

OK

- 0 | 1 | 2 | 3 | 4 | 5: Members: - `0` — Manga - `1` — Comic (Flexible) (Comic) - `2` — Book - `3` — Image - `4` — Light Novel (LightNovel) - `5` — Comic (ComicVine)

---

[API](https://skmtc.dev/kareadita/apis/kavita.md) - [All operations](https://skmtc.dev/kareadita/apis/kavita/llms.txt) - [OpenAPI document](https://skmtc.dev/kareadita/apis/kavita/revisions/d266465eeb67?raw)
