post https://app.customgpt.ai/api/v1/projects//sources
Create a new data source for a given agent (formerly known as project), allowing you to add additional context by specifying a sitemap URL or uploading a file. This endpoint enables you to enrich the agent's information by incorporating relevant data sources.
Here is an example to add a new source to agent: API SDK.