Skip to main content
POST
/
mcp
/
search-brokerage-firm-policies
MCP: Search policies
curl --request POST \
  --url https://api.example.com/mcp/search-brokerage-firm-policies \
  --header 'Content-Type: application/json' \
  --data '
{
  "where": {
    "AND": [
      {
        "property": "<string>",
        "value": {
          "equals": "<string>"
        },
        "includeAllBranches": true,
        "excludeBaseBranch": false,
        "timeZone": "UTC",
        "textSearchDepth": 0
      }
    ],
    "OR": [
      {
        "property": "<string>",
        "value": {
          "equals": "<string>"
        },
        "includeAllBranches": true,
        "excludeBaseBranch": false,
        "timeZone": "UTC",
        "textSearchDepth": 0
      }
    ]
  },
  "brokerageFirmId": "<string>",
  "count": 10,
  "page": 1,
  "searchNewBusinessProjects": false
}
'
{
  "data": [
    "<string>"
  ],
  "pageInfo": {
    "first": true,
    "last": true
  },
  "totalCount": 123,
  "currentPage": 123,
  "totalPages": 123
}

Body

application/json
where
object
required
brokerageFirmId
string
required
count
number
default:10

the number of items to return

page
number
default:1

the page to retrieve

orderBy
object
searchNewBusinessProjects
boolean
default:false

Search ongoing new business projects instead of signed policies.

Response

200 - application/json
data
string[]
required

the list of items in the page

pageInfo
object
required

the page info

totalCount
number
required

the total number of items

currentPage
number
required

the current page

totalPages
number
required

the total number of pages