Skip to content

List attachment changes since a timestamp

GET
/attachments/changes
curl --request GET \
--url 'https://api.engram.page/attachments/changes?since=example' \
--header 'Authorization: Bearer <token>'

Returns attachment changes (including deletions, flagged via deleted) updated at or after the since ISO 8601 timestamp, plus a server_time watermark for the next poll. A missing or invalid since returns 400.

since
required
string

ISO 8601 timestamp cursor

Changes

Media typeapplication/json
AttachmentChangesResponse
object
changes
required
Array<object>
AttachmentChange
object
deleted
boolean
mime_type
string
nullable
mtime
number format: float
path
required
string
size_bytes
integer
updated_at
string format: date-time
nullable
server_time
string format: date-time
Examplegenerated
{
"changes": [
{
"deleted": true,
"mime_type": "example",
"mtime": 1,
"path": "example",
"size_bytes": 1,
"updated_at": "2026-04-15T12:00:00Z"
}
],
"server_time": "2026-04-15T12:00:00Z"
}

Missing/invalid since

Media typeapplication/json
MessageError
object
error
required
string
Example
{
"error": "not found"
}