POST
/
v1
/
datasources

Auth Headers

x-metal-api-key
string
required

An API key for your org.

x-metal-client-id
string
required

A Client ID for your org.

Body

name
string
required

Name of the Datasource.

sourcetype
string
required

Type of the source. File or Text.

autoExtract
boolean
required

Flag 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.