List memory page images
GET /v1/memories/{id}/pages: Lists extracted page-image metadata for a memory with optional filters and pagination.
Lists extracted page-image metadata for a memory with optional filters and pagination. Requires READ_MEMORY on the containing memory; authority may be granted through DIRECT_MEMBERS_OF its containing space.
In: header
Path Parameters
Memory UUID
Query Parameters
Optional lower bound for returned page indices, inclusive. The snake_case alias start_page_index is also accepted.
int32Optional upper bound for returned page indices, inclusive. The snake_case alias end_page_index is also accepted.
int32Optional rendition filter for page-image DPI.
int32Optional rendition filter for page-image MIME type, such as image/png. The snake_case alias content_type is also accepted.
Maximum number of results per page. The snake_case alias max_results is also accepted.
int32Opaque pagination token for the next page. The snake_case alias next_token is also accepted. Do not parse or construct it.
Response Body
curl -X GET "https://your-goodmem-server.example.com/v1/memories/550e8400-e29b-41d4-a716-446655440000/pages?startPageIndex=0&endPageIndex=10&dpi=150&contentType=image%2Fpng&maxResults=50&nextToken=eyJzdGFydCI6NTAsIm1lbW9yeUlkIjoiLi4uIn0"{
"pageImages": [
{
"memoryId": "550e8400-e29b-41d4-a716-446655440000",
"pageIndex": 0,
"dpi": 150,
"contentType": "image/png",
"imageContentLength": 281233,
"imageContentSha256": "2d711642b726b04401627ca9fbac32f5c8530fb1903cc4db02258717921a4881",
"createdAt": 1714762260000,
"updatedAt": 1714762260000,
"createdById": "550e8400-e29b-41d4-a716-446655440001",
"updatedById": "550e8400-e29b-41d4-a716-446655440001"
}
],
"nextToken": "string"
}