libraries
List libraries
Returns libraries owned by the authenticated user (no pagination — users typically have one or a handful). Call this when another tool's library_id parameter is required but you don't yet know which libraries exist. A single-library user can usually omit library_id on other tools entirely.
By default trashed libraries are excluded. Pass state=trashed to list the trash drawer (ordered by most recently trashed) or state=all for both.
get/api/libraries
Query parameters
state'live' | 'trashed' | 'all'
Which set of libraries to return: live (default — excludes trashed), trashed (only trashed, ordered by most recently trashed), or all (both).
Which set of libraries to return: live (default — excludes trashed), trashed (only trashed, ordered by most recently trashed), or all (both).
Response
Successful Response