v1
latestOpenAPI 3.1.02026-07-26183980.3 KBSearch Notes
Search notes using a required free-text query and structured filters. When multiple filter_by_contains_* fields are true, a note may match any of them. Returns note results from a bounded search snapshot with deterministic offset pagination. Query-based searches are relevance-ranked within the bounded search snapshot window. Reuse the returned snapshot_id when requesting later pages. The returned total reflects the bounded search snapshot, capped by the 100-result search window. For deterministic chronological pagination across all accessible notes, use GET /v2/notes.
Query parameters
Maximum number of notes in this search page. Use smaller values for lower latency. Default is 20; valid range is 1 to 50.
Maximum number of notes in this search page. Use smaller values for lower latency. Default is 20; valid range is 1 to 50.
Number of matching notes to skip before returning results. This value is zero-based.
Number of matching notes to skip before returning results. This value is zero-based.
Opaque search snapshot identifier returned by a previous search page. Required when requesting later pages with offset > 0.
Opaque search snapshot identifier returned by a previous search page. Required when requesting later pages with offset > 0.
Request body
Example request
{
"filter_by_created_after": "2025-04-01T14:30:45Z",
"filter_by_created_before": "2025-04-30T23:59:59Z",
"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": true,
"limit": 1,
"offset": 0,
"request_id": "api-request-018f8d0d-5a3c-7afc-8321-2f6f6e0fefab",
"results": [
{
"audio_recording_ids": [
"78ff64bc-09e3-4fd7-a4b9-53c258f35619"
],
"collection_ids": [
"59508b41-8770-4855-aa37-302b1e09aee7"
],
"content": "# Recipe Notes\n\n- Lemon pasta\n- Chili oil dumplings\n",
"created_at": "2025-03-18T11:00:00Z",
"id": "018f8d0d-5a3c-7afc-8321-2f6f6e0fefab",
"snippet": "Dinner ideas",
"title": "Recipe Notes",
"updated_at": "2025-04-22T16:12:34Z"
}
],
"snapshot_id": "fd233b1f-25ac-4c0d-94db-4fa0843084ff",
"total": 12
}