Skip to main content
Search Notes by Keyword.
Tool ID: affinity_v2_notes_search_post

Run this action

Use the TypeScript SDK for a single call. Put ctx.tools.execute(...) inside a Play when the call should be durable, scheduled, or run across a CSV.

CLI

Example response

The SDK exposes this shape at result.toolResponse.raw. Values below are representative.
Use deepline tools get affinity_v2_notes_search_post --json for the latest machine-readable contract.

Input reference

Search notes by keyword. The scope of the search is controlled by the request body: - Provide noteIds to limit the search to specific notes. - Provide companyId to limit the search to notes associated with a specific company. - Omit both to search across your entire account. noteIds and companyId are mutually exclusive. Returns up to limit notes ordered by relevance. Prompts with no strong matches may still return low-relevance results. Each result contains a matched note and a single representative excerpt (a matching passage from that note). Even if a note contains multiple matching passages, it appears exactly once in the response with one excerpt.

Output reference

Deepline cost

  • Pricing model: fixed (per call).
  • Estimated Deepline credits: 0 per pricing unit.
  • Provider-native pricing may still exist outside Deepline credit billing.