🗄️ Datasources
Add a Datasource
This endpoint creates and stores a Datasource with the provided details.
POST
/
v1
/
datasources
Auth Headers
x-metal-api-key
string
requiredAn API key for your org.
x-metal-client-id
string
requiredA Client ID for your org.
Body
name
string
requiredName of the Datasource.
sourcetype
string
requiredType of the source. File or Text.
autoExtract
boolean
requiredFlag indicating whether auto-extraction is enabled. If disabled, it will short-cirtuit to bypass extraction.
metadataFields
array
An array containing metadata fields. Each object should have name
, type
,
description
, and autoExtract
properties.