Datascience Interactive
The data science agent analyzes datasets, generates visualizations, and produces comprehensive reports. This interactive endpoint uses a two-step workflow:
- Submit a prompt and files to receive a thread_id and hypothesis for approval
- Submit a prompt with thread_id, file_ids_json, and resume=true to generate the final report
Authorizations
SambaNova API Key
Body
Request for data science interactive agent json object
The main prompt for the data science interactive agent
A JSON string of file IDs, required for resuming a session
file to upload
Whether to describe the results or not
thread id for persistent context
Response
Successful Response
Unified schema for agent responses, including success and interrupt states.
status of agent gereneration
Identifier for maintaining persistent conversation or context
results description
List of generated artifact IDs (e.g., files, images, reports)
ID of a generated artifact
Optional list of file identifiers associated with the response
ID of an uploaded or generated file
Information about an interrupt event requiring user action

