Create source
Create a file-upload source. Only direct_file_uploads sources can be created through the API; connected sources such as Notion or Google Drive are set up in the Gumloop app because they need an account connection.
By default the source is active and indexes (and bills) each file as soon as it is uploaded. Set require_approval to true to create it as a draft instead: uploads then run a credit estimate, the source owner is notified, and nothing is indexed until Approve source is called.
Authorizations
Body
Display name of the source.
1 - 200"Engineering docs"
Only direct_file_uploads is accepted.
Which Brain the source belongs to. team requires team_id.
personal, team, organization The team for scope: team. Not accepted with other scopes.
Create as a draft that estimates credits before anything is indexed.
Response
Source created.
