Skip to main content
POST
/
insight
/
{rec_id}
/
regenerate
Regenerate Report
curl --request POST \
  --url https://api.example.com/insight/{rec_id}/regenerate/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "language": "<string>",
  "report_language": "<string>",
  "participant_count": 8,
  "respondent_known_names": [],
  "is_with_transcript": true,
  "is_with_insight_report": false,
  "goals": "<string>",
  "notes": "<string>",
  "guide": "<string>",
  "custom_prompt": "<string>",
  "report_types": [
    "Q&A",
    "General"
  ]
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

rec_id
string<uuid>
required

Body

application/json
language
string | null
report_language
string | null
participant_count
integer | null

Number of participants from 1 to 15

Required range: 1 <= x <= 15
respondent_known_names
string[]
is_with_transcript
boolean
default:true
is_with_insight_report
boolean
default:false
goals
string | null
Maximum string length: 10000
notes
string | null
Maximum string length: 20000
guide
string | null
Maximum string length: 20000
custom_prompt
string | null

Custom prompt for Custom report generation

Maximum string length: 15000
report_types
string[]

Types of reports to generate: Q&A, General, JTBD (legacy), JTBD, Persona, Custom

Response

Successful Response