Memories

Export Memories

Changed on
post/api/v1/memories/export

Request

  • Base URL
    https://api.neosapien.xyz (the document declares no server; this is the origin it was published from)
  • URL
    https://api.neosapien.xyz/api/v1/memories/export
  • Auth
    HTTP bearer

Request body

memory_idsstring[] nullable

List of memory IDs to include in the export

format'json' | 'csv'

Export format: json or csv

sort_bystring

Field to sort by before exporting

sort_order'asc' | 'desc'

Sort order for export (asc or desc)

ids_truncatedboolean nullable

Pass through the ids_truncated value returned by /memories/metadata. Omitting it is not the same as sending false: a caller that does not report the fact is refused whenever its id list is cap-sized, because a complete list and a capped one are indistinguishable from here.

Response

Successful Response

Changes

    • breaking

      removed the media type application/json for the response with the status

    • info

      added the new optional request property

    • info

      the request property became optional

    • info

      request property list-of-types was widened by adding types null to media type application/json

    • info

      added the non-success response with the status

    • info

      added the media type text/csv for the response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status