How far the initial memory sweep has got

Poll while an import is in flight. 204 means nothing is running, which is different from 0%.

get/api/v1/contacts/{id}/import-progress

Request

  • Base URL: https://memchats.com
  • URL: https://memchats.com/api/v1/contacts/{id}/import-progress
  • Auth: HTTP bearer

Path parameters

idinteger required

Response

Messages read so far, pass counter, signal level and the last observations

contact_idinteger
processedinteger
totalinteger
pass_indexinteger
pass_countinteger
phase'reading' | 'writing'

Reading a stretch of conversation, or filing what was found in it. A pass takes about a minute, so both are published: without this the counter stands still for that minute, which reads as a dead import.

sweep_windowinteger

The plan's window, when the sweep has one. Absent means the whole history.

history_totalinteger

The whole history behind that window.

signal'excellent' | 'good' | 'starter'
latest_observationsstring[]
started_atstring date-time
updated_atstring date-time

Last heartbeat: what tells a working sweep from one whose worker died.

Changes

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