# Libraries Library management operations. Libraries are external content sources that can be scraped and indexed for use as citation sources in AI queries. ## Create a new library - [POST /accounts/{accountId}/libraries](https://docs.syncdocs.ai/api/sync-cloud-openapi/libraries/createlibrary.md): Creates a new library within an account. Libraries can be bound to workspaces to provide access to external resources via their root URL. ## List all libraries in an account - [GET /accounts/{accountId}/libraries](https://docs.syncdocs.ai/api/sync-cloud-openapi/libraries/listlibraries.md): Returns all libraries owned by the account. ## Get a library by ID - [GET /accounts/{accountId}/libraries/{libraryId}](https://docs.syncdocs.ai/api/sync-cloud-openapi/libraries/getlibrary.md): Returns a single library with its details. ## Update a library - [PUT /accounts/{accountId}/libraries/{libraryId}](https://docs.syncdocs.ai/api/sync-cloud-openapi/libraries/updatelibrary.md): Updates library properties (name, root URL). This endpoint does not modify workspace bindings. ## Delete a library - [DELETE /accounts/{accountId}/libraries/{libraryId}](https://docs.syncdocs.ai/api/sync-cloud-openapi/libraries/deletelibrary.md): Deletes a library and all its workspace bindings. This action cannot be undone.