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 Orchestrivo app because they need an account connection.
POST
cURL
How does approval before indexing work?
How does approval before indexing work?
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
application/json
Display name of the source.
Required string length:
1 - 200Example:
"Engineering docs"
Only direct_file_uploads is accepted.
Which Brain the source belongs to. team requires team_id.
Available options:
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.