Fency.ai
Memories

Get memory content

GET
/v1/memories/{memoryId}/content

Return the full assembled content of a memory. Text memories return { sourceType: TEXT, content }. File and URL memories return { sourceType, totalPages, pages }. Returns 404 when the memory is missing, deleted, metadata-only, or not yet synchronized.

Authorization

bearerAuth
AuthorizationBearer <token>

Provide your secret key as Authorization: Bearer sk_....

In: header

Path Parameters

memoryId*string

Response Body

application/json

curl -X GET "https://example.com/v1/memories/string/content"
{  "sourceType": "FILE",  "totalPages": 1,  "pages": [    {      "pageNumber": 1,      "content": "Full text of page 1..."    }  ]}