external
external-v2
Extended Search Notes
Changed onSearch notes and note-linked attachments together. Returns note hits with attachment match context for PDFs, images, audio recordings, calendar events, and emails. Use returned attachment IDs with the attachment tools for deeper inspection.
post/v2/notes/extended-search
Request
- Base URLhttps://api.mem.ai
- URLhttps://api.mem.ai/v2/notes/extended-search
- AuthHTTP bearer
Request body
Example request
{
"filter_by_updated_after": "2025-04-01T14:30:45Z",
"filter_by_updated_before": "2025-04-30T23:59:59Z"
}Response
OK
Example response
{
"has_next_page": false,
"next_page_cursor": null,
"request_id": "api-request-018f8d0d-5a3c-7afc-8321-2f6f6e0fefab",
"results": [
{
"attachment_matches": [
{
"attachment_id": "2511691e-cfd2-47bc-a4b6-0104234ee1af",
"attachment_kind": "pdf",
"filename": "renewal-terms.pdf",
"highlighted_snippets": [
"Renewal pricing is fixed for the first year."
],
"is_semantic_match": true,
"page_number": 3,
"total_pages": 8
}
],
"created_at": "2025-03-18T11:00:00Z",
"id": "018f8d0d-5a3c-7afc-8321-2f6f6e0fefab",
"note_summary": "Notes and attachments related to vendor renewal.",
"snippet": "The renewal terms are attached as a PDF.",
"title": "Vendor Contract Notes",
"updated_at": "2025-04-22T16:12:34Z"
}
]
}Changes
- info
endpoint added
- info