me

Restore ICP fields to AI-generated draft

Copies the onboarding-time draft_snapshot back over the live ICP row, preserving id/customer_id/name/is_default/created_at. Writes an icp.reset audit event with before/after diffs. Returns 404 NoIcp when no default ICP exists, or 409 NoDraft when the profile has no snapshot on file (pre-existing customers or manual admin creates). Use the resettable flag on GET /api/me/icp to gate the UI button.

post/api/me/icp/reset

Request

  • Base URL: https://api.signalraven.ai
  • URL: https://api.signalraven.ai/api/me/icp/reset
  • Auth: none declared

Response

ICP restored from draft

classificationExamplesstring nullable required
resettableboolean required
effectiveTargetLocationsstring[] required

Example response

{
  "icp": {
    "name": "Primary ICP"
  }
}

Changes

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