ackDB
Query companies
Compiles the filter/sort/columns into parameterized read-only SQL (run on the ackdb_readonly role) and returns a page of company rows with pagination metadata. If the count query is rejected or times out, total is clamped and pagination.totalIsLowerBound is set to true.
post/api/v1/ackdb/observe/companies/query
Request
- Base URLhttp://localhost:3009
- AuthHTTP bearer
Request body
Example request
{
"filter": {
"children": [
{
"traitKey": "hubspot_lifecycle_stage"
}
]
},
"sort": [
{
"field": "event_count"
}
],
"columns": [
{
"field": "name",
"frozen": true,
"width": 200
}
],
"limit": 50
}Response
A page of company rows.
Example response
{
"pagination": {
"total": 150,
"limit": 50,
"totalIsLowerBound": true
}
}Changes
No recorded changes to this operation across all 1 revision of this API.