Insights

Create Insight

Create a custom questionnaire insight.

For questionnaire insights, the description field is used as a search query to auto-fill from existing documents.

post/api/businesses/{business_id}/insights

Request

  • Base URL
    https://api.flagpost.ai (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Path parameters

business_idstring required

Request body

field_namestring required
field_labelstring required
descriptionstring nullable
value_jsonobject nullable
categorystring nullable

Response

Successful Response

idstring required
field_namestring required
field_labelstring required
categorystring nullable required
descriptionstring nullable required
priorityinteger
insight_sourcestring required
research_typestring nullable
is_editedboolean required
created_atstring required
updated_atstring required
edited_atstring nullable
edited_bystring nullable
suggested_chartsobject[]

Changes

No recorded changes to this operation across all 1 revision of this API.