Search Deals Advanced

Deprecated

Search deals within a group using flexible filters.

.. deprecated:: This endpoint is deprecated and will be removed in favor of the /deal/advanced-search endpoint.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

group_idintegerRequired

Request

This endpoint expects an object.
filtersobject or nullOptional

Base filter model for deal search. Supports individual field filters or logical operators ($and, $or).

Example with benchmark metrics:

1{
2 "filters": {
3 "$and": [
4 {"company_name": "Acme"},
5 {
6 "benchmark_metrics": {
7 "field_name": "revenue",
8 "conditions": [
9 {"operator": "$gte", "value": 1000000},
10 {"operator": "$lte", "value": 5000000}
11 ]
12 }
13 }
14 ]
15 }
16}
sortlist of objects or nullOptional

Optional list of sort criteria. Earlier items take precedence. Each item must specify ‘sort_by’ (SortField, BenchmarkMetricField, or DateField enum) and ‘sort_order’. ‘sort_by’ values must be unique.

pageintegerOptional>=1Defaults to 1
Page number
page_sizeintegerOptional1-1000Defaults to 100
Number of items per page

Response

Successful Response
total_countinteger
pageinteger
page_sizeinteger
datalist of objects

Errors

422
Unprocessable Entity Error