---
title: "POST get-library-usage"
method: POST
path: "get-library-usage"
---

# POST get-library-usage

`POST get-library-usage`

## Request

- Base URL: `https://design.penpot.app/api/main/methods`
- URL: `https://design.penpot.app/api/main/methods/get-library-usage`
- Auth: none declared

Gets the number of files that use the specified library.

## Request body

- object
  - `fileId` string, uuid, required: UUID formatted string

## Response `default`

A default response

- integer: integer

---

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