GET · Get memory export

Poll the status of an export job, fetch its payload or download URL.

GET /api/memories/exports/:id

Fetch a single export job by id.

curl https://www.mnueron.com/api/memories/exports/01HQ… \
  -H "Authorization: Bearer $MNUERON_API_TOKEN"

Response

Same shape as POST /api/memories/exports:

{
  "id": "01HQ…",
  "status": "completed",
  "format": "ndjson",
  "row_count": 1432,
  "error": null,
  "filters": {...},
  "payload": "{...}\n{...}\n...",
  "download_url": null,
  "created_at": 1737070000000,
  "completed_at": 1737070000400
}

When status === "failed", error carries the reason.

Listing recent exports

GET /api/memories/exports

Returns the 100 most recent export jobs (metadata only — no payload body):

{
  "exports": [
    { "id": "...", "status": "completed", "format": "ndjson", "row_count": 1432,
      "filters": {...}, "created_at": ..., "completed_at": ... },
    { "id": "...", "status": "pending",   "format": "csv",     "row_count": 23104,
      "filters": {...}, "created_at": ..., "completed_at": null }
  ]
}
Last updated 2026-05-24edit