GET
/
{guru_slug}
/
data-sources
curl --request GET \
  --url https://api.gurubase.io/api/v1/{guru_slug}/data-sources/ \
  --header 'x-api-key: <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
        }
    ]
}

Get a list of all data sources added to your Guru, including their status and metadata.

Path Parameters

guru_slug
string
required

The slug of the Guru to get data sources from

Response

The response includes pagination information and an array of data sources. Page size is 1000.

count
number

Total number of data sources

next
string

URL for the next page of results (null if no more pages)

previous
string

URL for the previous page of results (null if first page)

results
array

Array of data sources

{
    "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
        }
    ]
}