Endpoints
Create Data Sources
Add new data sources to your Guru
POST
Add new data sources (YouTube videos and websites) to your Guru. The processing is asynchronous. Check the status of the data sources with the Get Data Sources endpoint.
PDF files should be uploaded directly through the Gurubase platform interface. We will add support for uploading PDFs via the API in the future.
Path Parameters
The slug of the Guru to add data sources to
Body Parameters
Array of YouTube video URLs to process
Array of website URLs to index
Response
The response is an array of processed data sources.
Type of data source (Website, YouTube)
URL of the data source
Processing status (e.g., “exists”, “success”)
Unique identifier for the data source
Title of the data source (can be null)