inspectDataSource
POST
/api/v1/data-sources/{provider}/inspect
const url = 'https://example.com/api/v1/data-sources/rss/inspect';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"configuration":{}}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/v1/data-sources/rss/inspect \ --header 'Content-Type: application/json' \ --data '{ "configuration": {} }'Reports the fields a candidate RSS, Atom, JSON, or CSV connection contains, with a few sample values per field, a suggested field mapping, and which record fields the Source can fill. Runs under the same safe fetch policy as preview and deliberately does not require a mapping, because the mapping is what it exists to produce.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”provider
required
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
configuration
required
object
Examplegenerated
{ "configuration": {}}Responses
Section titled “ Responses ”Detected fields, sample values, suggested mapping, and available record fields
Provider does not support field detection
Validation or safe fetch failed