Insights

Update Insight

Update/edit an insight.

This allows advisors to override AI-generated values. The original AI values are preserved for reference.

Args: business_id: Business ID (for verification) insight_id: Insight ID to update update_data: New values ctx: Advisor context

Returns: Updated insight

put/api/businesses/{business_id}/insights/{insight_id}

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
insight_idstring required

Request body

is_revertboolean
field_labelstring nullable
descriptionstring 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.