REST API
Select Deal
Returns lean, paginated deal rows for triage. Use get-deal to retrieve the full details for returned deal IDs.
POST
Find analyzed deals using structured filters. This endpoint returns lean rows for triage; use Get Deal with the returned
When
deal_id values when you need summaries and competitor positioning.
Request Body
All fields are optional.query, semantic_query, and segment_id have compatibility constraints described below.
Response
Each response contains aresults array and paging metadata. A row is intentionally lean and includes identifiers and common deal attributes, not the full summary or competitor positioning.
has_more is true, call the endpoint again with page set to next_page. Use deal_id from a result as input to Get Deal.
Limits and Errors
Organization-wide and per-API-key limits apply. See Rate limits for returned headers and retry guidance. Invalid input returns400; unauthorized or disallowed calls return 401 or 403.Authorizations
API key from Hindsight Settings → API keys. Use Authorization: Bearer YOUR_API_KEY. Newly created keys begin with hs_; existing keys remain supported until rotated or expired.
Body
application/json
Fuzzy deal or client-name match. Cannot be used with semantic_query or segment_id.
Conceptual search over deal content. Cannot be used with query or segment_id.
Segment ID. Cannot be used with query.
One or more deal-stage names.
Owner name, email, or me, my, or mine.
Required range:
1 <= x <= 50Required range:
x >= 1