latestSwagger 2.02026-08-20196638916.1 KB

23d8982b533d

Finance Management.Actionable Insight
ENTERPRISE

List archived insights

Lists all archived insights for the user. An insight is archived when a user takes action on it.

get/api/v1/insights/archived

Response

Returns 200 Ok for a successful operation.

dateArchivedstring date-time

The epoch timestamp in milliseconds in UTC when the insight was archived.

dateInsightCreatedstring date-time

The epoch timestamp in milliseconds in UTC when the insight was created.

descriptionstring

The description of the archived insight.

idstring

The ID of the archived insight. This is the same ID as for the corresponding insight, before it has been archived.

insightTypestring

The type of the archived insight.

titlestring

The title of the archived insight.

userIdstring required

The ID of the user that the archived insight belongs to.

Example response

[
  {
    "dateArchived": "1550237520000",
    "dateInsightCreated": "1549976786000",
    "description": "The balance on your bank account x is low. \nDo you want to transfer money to this account?",
    "id": "e2b746ed27c542ce846a8d693474df21",
    "insightType": "ACCOUNT_BALANCE_LOW",
    "title": "Your balance on bank account x is low",
    "userId": "d9f134ee2eb44846a4e02990ecc8d32e"
  }
]