Import Audience Research Sources
import_audience_sourcesImports supplied UTF-8 text, Markdown, CSV and JSON research files into account-owned storage. Accepts file contents rather than local paths. Identical file imports are safe to retry. Optional caller-reviewed grounding JSON binds distributions to existingFiles followed by files in sourceIdx order, returning a normalized snapshot and checksum for audience preview and creation. This operation creates no Audience or Minds and performs no web search or independent verification of supplied percentages.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | No | ||
| existingFiles | No | ||
| groundingJson | No | Optional explicitly supplied distribution JSON (the grounding object, not respondent rows). Sources are bound to the files in request order: existingFiles followed by files. Import does not assert independent verification of the supplied percentages. | |
| conversationFiles | No | Research files (text, Markdown, CSV, JSON) imported like existingFiles; in sourceIdx order they follow existingFiles and precede files. Files shared in this conversation: uploaded or generated images, PDFs, documents. Each is copied into Minds storage on receipt; its file_id is its attachment id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Import result from the Minds API: accepted sources and their processing state. |