Skip to main content
POST
/
agent
/
financialanalysis
/
interactive
Financial Analysis Agent Interactive
curl --request POST \
  --url https://chat.sambanova.ai/api/agent/financialanalysis/interactive \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "prompt": "<string>",
  "resume": false,
  "thread_id": "<string>"
}
'
{
  "status": "success",
  "result": "I've created the bar chart...",
  "artifacts": [
    "file-id-123"
  ],
  "thread_id": "thread-abc"
}

Authorizations

Authorization
string
header
required

SambaNova API Key

Body

application/json

Request for financial interactive agent json object

prompt
string
required

The main prompt for the financial interactive agent

resume
boolean
default:false

Whether to describe the results or not

thread_id
string | null

thread id for persistent context

Response

Successful Response

Base agent response object

status
string
required

status of agent gereneration

result
string
required

results description

artifacts
string[]
required

generated artifacts

id of generated artifact

thread_id
string
required

thread id for persistent context