cURL
curl --request GET \ --url https://api.gurubase.io/api/v1/{guru_slug}/data-sources/ \ --header 'x-api-key: <x-api-key>'
{ "count": 2, "next": null, "previous": null, "results": [ { "id": 3272, "type": "YOUTUBE", "url": "https://youtube.com/watch?v=example1", "title": null, "status": "NOT_PROCESSED", "error": "", "date_created": "2025-01-22T21:45:17.212381Z", "private": false, "last_reindex_date": "2025-01-22T21:45:17.212394Z", "reindex_count": 0 }, { "id": 3271, "type": "PDF", "title": "document.pdf", "status": "SUCCESS", "error": "", "date_created": "2025-01-22T21:43:58.423588Z", "private": false, "last_reindex_date": "2025-01-22T21:43:58.423608Z", "reindex_count": 0 } ] }
Retrieve all data sources (YouTube URLs, Website URLs, and PDFs) for your Guru
Show Data Source Object