Skip to content

Dismiss Insight

POST
/api/v1/insights/{insight_id}/dismiss

Dismiss a proactive insight for 48 hours.

Loads the Decision row, validates ownership and type, then writes a Redis dismiss key so the insight is excluded from future /active responses.

Args: insight_id: UUID of the Decision row to dismiss.

Returns: {"dismissed": True, "insight_id": "<uuid>"}

Raises: 404: Decision not found or belongs to another tenant. 400: Decision exists but is not a proactive_insight row.

Authorizations

Parameters

Path Parameters

insight_id
required
string format: uuid

Responses

200

Successful Response

object
key
additional properties
any

422

Validation Error

object
detail
Array<object>
object
ctx
object
input
loc
required
Array
msg
required
string
type
required
string