Skip to main content
Search Affinity notes by keyword, optionally limited to one company or specific notes.
Tool ID: affinity_v2_notes_search_post

Run this action

Use the TypeScript SDK for one call. Use ctx.tools.execute(...) inside a Play for durable calls, scheduled calls, or CSV processing.

CLI

Example response

The SDK returns this shape at result.toolResponse.raw. The example values illustrate the response.
Use deepline describe 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.