Last modified:2026-08-18 09:16:20
x-codeSamples:[{"lang":"cURL","source":"curl '/api/v1/library?content_type=gita_chapter'"}]
Request: query params; Bearer token optionalReturns published library items, paginated and sorted alphabetically by title. Filter by a single content_type, or search by title. When content_type is omitted / empty / all, items of every content type are returned.Auth is optional: when a valid token is sent, each item's is_saved reflects whether the signed-in user has favourited it; anonymously is_saved is always false.This is the minimal list shape (title, slug, content_type, source_name, audio_url, is_premium, is_saved); fetch GET /library/{slug} for the full item.Query: page_number (default 1), content_type (optional - one type or all), search (optional - title match)Success: 200 - data.items[] + total, offset, limit.Errors: none - public endpoint