GET List deal facets
Base URL: https://server-url-from-token-page.endpoint. Version: 1.2.0.
GET /api/v1/public/deals/facets — List deal facets
Read-only operation
Request categories for grouped deal counts. These are not deal rows; use list_deals for exact filtered rosters and counts. Deal program is numeric: 1=Land, 2=Expand. Land is new-customer acquisition; Expand is growth with an existing customer. Only these deal programs are accessible. Account program is a separate free-text classification, not a deal program.
Use URL path and query parameters; no request body. Query arrays and objects are JSON-encoded where indicated. Workspace scope comes exclusively from the bearer credential. Available to read-only and read/write API credentials.
Parameters
categories(query, (name | stage | probabilityOfClosing | salesImpact | activationImpact | activationPoint | targetSegment | championStakeholder | titleFight | locations | account | program | pifEngagementBand | pifTrend | pifScoreBucket | pifMomentumBucket | pifLast30DaysEngagementBand | pifLast30DaysTrend | pifLast30DaysScoreBucket | pifLast30DaysMomentumBucket | pifLast7DaysEngagementBand | pifLast7DaysTrend | pifLast7DaysScoreBucket | pifLast7DaysMomentumBucket | owners)[], required)JSON-encoded query value.
- Minimum items: 1
- Maximum items: 8
- Send one JSON-encoded query value
categories query schema
{ "type": "array", "items": { "type": "string", "enum": [ "name", "stage", "probabilityOfClosing", "salesImpact", "activationImpact", "activationPoint", "targetSegment", "championStakeholder", "titleFight", "locations", "account", "program", "pifEngagementBand", "pifTrend", "pifScoreBucket", "pifMomentumBucket", "pifLast30DaysEngagementBand", "pifLast30DaysTrend", "pifLast30DaysScoreBucket", "pifLast30DaysMomentumBucket", "pifLast7DaysEngagementBand", "pifLast7DaysTrend", "pifLast7DaysScoreBucket", "pifLast7DaysMomentumBucket", "owners" ] }, "minItems": 1, "maxItems": 8, "description": "Required deal facet categories to compute. Select only the user-requested dimensions, including PIF band/trend/score buckets only when the user asks for deal PIF grouping." }limitPerCategory(query, integer, optional)query parameter
- Default: 25
- Minimum: 1
- Maximum: 50
filter(query, object, optional)JSON-encoded query value.
- Send one JSON-encoded query value
filter query schema
{ "type": "object", "properties": { "gtm": { "type": "object", "properties": { "offeringIds": { "type": "array", "items": { "type": "string", "pattern": "^[a-f\\d]{24}$" }, "maxItems": 100 }, "segmentIds": { "type": "array", "items": { "type": "string", "pattern": "^[a-f\\d]{24}$" }, "maxItems": 100 }, "buyingLogicIds": { "type": "array", "items": { "type": "string", "pattern": "^[a-f\\d]{24}$" }, "maxItems": 100 }, "assigned": { "type": "boolean" } }, "additionalProperties": false, "description": "Match the deal parent account GTM context." }, "id": { "type": "string", "description": "Single deal id for direct row lookup." }, "ids": { "type": "array", "items": { "type": "string" }, "minItems": 1, "maxItems": 200, "description": "Explicit deal ids for a known cohort." }, "account": { "type": "string", "description": "Parent account/company id to list deals for." }, "program": { "type": "integer", "enum": [ 1, 2 ], "description": "Deal program is numeric: 1=Land, 2=Expand. Land is new-customer acquisition; Expand is growth with an existing customer. Only these deal programs are accessible. Account program is a separate free-text classification, not a deal program." }, "programs": { "type": "array", "items": { "type": "integer", "enum": [ 1, 2 ] }, "minItems": 1, "description": "Deal program is numeric: 1=Land, 2=Expand. Land is new-customer acquisition; Expand is growth with an existing customer. Only these deal programs are accessible. Account program is a separate free-text classification, not a deal program." }, "name": { "type": "string", "minLength": 1 }, "stage": { "type": "array", "items": { "type": "string", "enum": [ "Deal Closing", "Consideration", "Expansion Potential Identified", "Deal Activation", "Won", "Lost", "Nurture", "Disqualified", "Evaluating Investment", "First presentation", "Brand positioning Awareness", "Investors", "Declined to Invest", "Declined, Interested in Future Rounds" ] }, "maxItems": 50 }, "salesImpact": { "type": "array", "items": { "type": "string", "enum": [ "High", "Medium", "Low" ] }, "maxItems": 20 }, "activationImpact": { "type": "array", "items": { "type": "string", "enum": [ "High", "Medium", "Low" ] }, "maxItems": 20 }, "probabilityOfClosing": { "type": "array", "items": { "type": "string", "enum": [ "High", "Medium", "Low", "Closed", "None" ] }, "maxItems": 20 }, "value": { "type": "object", "properties": { "gt": { "type": "number" }, "gte": { "type": "number" }, "eq": { "type": "number" }, "lte": { "type": "number" }, "lt": { "type": "number" } }, "additionalProperties": false, "description": "Deal value threshold filter. Missing values are treated as zero when the comparison includes zero." }, "activationPoint": { "type": "array", "items": { "type": "string", "minLength": 1 }, "maxItems": 20 }, "owners": { "type": "array", "items": { "type": "string" }, "maxItems": 200, "description": "Deal-owner user ids used to scope the deal cohort." }, "pifEngagementBand": { "type": "array", "items": { "type": "string", "enum": [ "HOT", "WARMING", "EARLY_INTEREST", "TRACE", "NO_SIGNAL" ] }, "maxItems": 20, "description": "For natural-language prompts like \"with PIF\", \"has PIF\", or \"deals with PIF\", treat that as headline pif.score > 0. Use positive engagement bands HOT, WARMING, EARLY_INTEREST, and TRACE to exclude NO_SIGNAL; do not use pifScoreMin: 0 because score minimum filters are inclusive." }, "pifTrend": { "type": "array", "items": { "type": "string", "enum": [ "TRENDING", "HOLDING", "COOLING", "RE_AWAKENING", "LOW_VOLUME" ] }, "maxItems": 20 }, "pifScoreMin": { "type": "number", "description": "Inclusive minimum headline PIF score for the deal. Do not use 0 for natural-language 'with PIF'; use positive engagement bands instead." }, "pifScoreMax": { "type": "number" }, "pifMomentumMin": { "type": "number" }, "pifMomentumMax": { "type": "number" }, "pifLast30DaysEngagementBand": { "type": "array", "items": { "type": "string", "enum": [ "HOT", "WARMING", "EARLY_INTEREST", "TRACE", "NO_SIGNAL" ] }, "maxItems": 20, "description": "For natural-language prompts like \"with last-30-days PIF\", \"recent deals with PIF\", or \"deals with PIF in the last 30 days\", treat that as pif.last30Days.score > 0. Use positive engagement bands HOT, WARMING, EARLY_INTEREST, and TRACE to exclude NO_SIGNAL; do not use pifLast30DaysScoreMin: 0 because score minimum filters are inclusive." }, "pifLast30DaysTrend": { "type": "array", "items": { "type": "string", "enum": [ "TRENDING", "HOLDING", "COOLING", "RE_AWAKENING", "LOW_VOLUME" ] }, "maxItems": 20 }, "pifLast30DaysScoreMin": { "type": "number", "description": "Inclusive minimum fixed last-30-days PIF score for the deal. Do not use 0 for natural-language 'with last-30-days PIF'; use positive last-30-days engagement bands instead." }, "pifLast30DaysScoreMax": { "type": "number" }, "pifLast30DaysMomentumMin": { "type": "number" }, "pifLast30DaysMomentumMax": { "type": "number" }, "pifLast7DaysEngagementBand": { "type": "array", "items": { "type": "string", "enum": [ "HOT", "WARMING", "EARLY_INTEREST", "TRACE", "NO_SIGNAL" ] }, "maxItems": 20, "description": "For natural-language prompts like \"with last-7-days PIF\", \"with weekly PIF\", or \"deals with PIF in the last 7 days\", treat that as pif.last7Days.score > 0. Use positive engagement bands HOT, WARMING, EARLY_INTEREST, and TRACE to exclude NO_SIGNAL; do not use pifLast7DaysScoreMin: 0 because score minimum filters are inclusive." }, "pifLast7DaysTrend": { "type": "array", "items": { "type": "string", "enum": [ "TRENDING", "HOLDING", "COOLING", "RE_AWAKENING", "LOW_VOLUME" ] }, "maxItems": 20 }, "pifLast7DaysScoreMin": { "type": "number", "description": "Inclusive minimum fixed last-7-days PIF score for the deal. Do not use 0 for natural-language 'with last-7-days PIF'; use positive last-7-days engagement bands instead." }, "pifLast7DaysScoreMax": { "type": "number" }, "pifLast7DaysMomentumMin": { "type": "number" }, "pifLast7DaysMomentumMax": { "type": "number" }, "pif": { "type": "object", "properties": { "engagementBand": { "type": "array", "items": { "type": "string", "enum": [ "HOT", "WARMING", "EARLY_INTEREST", "TRACE", "NO_SIGNAL" ] }, "maxItems": 20, "description": "For natural-language prompts like \"with PIF\", \"has PIF\", or \"deals with PIF\", treat that as headline pif.score > 0. Use positive engagement bands HOT, WARMING, EARLY_INTEREST, and TRACE to exclude NO_SIGNAL; do not use pifScoreMin: 0 because score minimum filters are inclusive." }, "trend": { "type": "array", "items": { "type": "string", "enum": [ "TRENDING", "HOLDING", "COOLING", "RE_AWAKENING", "LOW_VOLUME" ] }, "maxItems": 20 }, "score": { "type": "object", "properties": { "min": { "type": "number" }, "max": { "type": "number" } }, "additionalProperties": false }, "scoreMin": { "type": "number", "description": "Inclusive minimum headline PIF score for the deal. Do not use 0 for natural-language 'with PIF'; use positive engagement bands instead." }, "scoreMax": { "type": "number" }, "momentum": { "type": "object", "properties": { "min": { "type": "number" }, "max": { "type": "number" } }, "additionalProperties": false }, "momentumMin": { "type": "number" }, "momentumMax": { "type": "number" }, "last30Days": { "type": "object", "properties": { "engagementBand": { "type": "array", "items": { "type": "string", "enum": [ "HOT", "WARMING", "EARLY_INTEREST", "TRACE", "NO_SIGNAL" ] }, "maxItems": 20, "description": "For natural-language prompts like \"with last-30-days PIF\", \"recent deals with PIF\", or \"deals with PIF in the last 30 days\", treat that as pif.last30Days.score > 0. Use positive engagement bands HOT, WARMING, EARLY_INTEREST, and TRACE to exclude NO_SIGNAL; do not use pifLast30DaysScoreMin: 0 because score minimum filters are inclusive." }, "trend": { "type": "array", "items": { "type": "string", "enum": [ "TRENDING", "HOLDING", "COOLING", "RE_AWAKENING", "LOW_VOLUME" ] }, "maxItems": 20 }, "score": { "type": "object", "properties": { "min": { "type": "number" }, "max": { "type": "number" } }, "additionalProperties": false }, "scoreMin": { "type": "number", "description": "Inclusive minimum fixed last-30-days PIF score for the deal. Do not use 0 for natural-language 'with last-30-days PIF'; use positive last-30-days engagement bands instead." }, "scoreMax": { "type": "number" }, "momentum": { "type": "object", "properties": { "min": { "type": "number" }, "max": { "type": "number" } }, "additionalProperties": false }, "momentumMin": { "type": "number" }, "momentumMax": { "type": "number" } }, "additionalProperties": false }, "last7Days": { "type": "object", "properties": { "engagementBand": { "type": "array", "items": { "type": "string", "enum": [ "HOT", "WARMING", "EARLY_INTEREST", "TRACE", "NO_SIGNAL" ] }, "maxItems": 20, "description": "For natural-language prompts like \"with last-7-days PIF\", \"with weekly PIF\", or \"deals with PIF in the last 7 days\", treat that as pif.last7Days.score > 0. Use positive engagement bands HOT, WARMING, EARLY_INTEREST, and TRACE to exclude NO_SIGNAL; do not use pifLast7DaysScoreMin: 0 because score minimum filters are inclusive." }, "trend": { "type": "array", "items": { "type": "string", "enum": [ "TRENDING", "HOLDING", "COOLING", "RE_AWAKENING", "LOW_VOLUME" ] }, "maxItems": 20 }, "score": { "type": "object", "properties": { "min": { "type": "number" }, "max": { "type": "number" } }, "additionalProperties": false }, "scoreMin": { "type": "number", "description": "Inclusive minimum fixed last-7-days PIF score for the deal. Do not use 0 for natural-language 'with last-7-days PIF'; use positive last-7-days engagement bands instead." }, "scoreMax": { "type": "number" }, "momentum": { "type": "object", "properties": { "min": { "type": "number" }, "max": { "type": "number" } }, "additionalProperties": false }, "momentumMin": { "type": "number" }, "momentumMax": { "type": "number" } }, "additionalProperties": false } }, "additionalProperties": false }, "locations": { "type": "array", "items": { "type": "string", "pattern": "^[A-Za-z]{2}$" }, "maxItems": 200 }, "estimateCloseDate": { "type": "object", "properties": { "from": { "type": "string", "format": "date-time", "description": "Absolute ISO date or ISO datetime with explicit timezone/offset. In time windows, from is inclusive and to is exclusive. Do not pass relative terms like today or tomorrow." }, "to": { "type": "string", "format": "date-time", "description": "Absolute ISO date or ISO datetime with explicit timezone/offset. In time windows, from is inclusive and to is exclusive. Do not pass relative terms like today or tomorrow." } }, "additionalProperties": false }, "qwqQuadrants": { "type": "array", "items": { "type": "string", "enum": [ "QWQ1", "QWQ2", "QWQ3", "QWQ4" ] }, "maxItems": 4 }, "qwqStack": { "type": "boolean" } }, "additionalProperties": false }gtm(query, object, optional)Match the deal parent account GTM context.
offeringIds(query, string[], optional)See the JSON schema for this field’s contract.
- Maximum items: 100
segmentIds(query, string[], optional)See the JSON schema for this field’s contract.
- Maximum items: 100
buyingLogicIds(query, string[], optional)See the JSON schema for this field’s contract.
- Maximum items: 100
assigned(query, boolean, optional)See the JSON schema for this field’s contract.
id(query, string, optional)Single deal id for direct row lookup.
ids(query, string[], optional)Explicit deal ids for a known cohort.
- Minimum items: 1
- Maximum items: 200
account(query, string, optional)Parent account/company id to list deals for.
program(query, 1 | 2, optional)Deal program is numeric: 1=Land, 2=Expand. Land is new-customer acquisition; Expand is growth with an existing customer. Only these deal programs are accessible. Account program is a separate free-text classification, not a deal program.
programs(query, (1 | 2)[], optional)Deal program is numeric: 1=Land, 2=Expand. Land is new-customer acquisition; Expand is growth with an existing customer. Only these deal programs are accessible. Account program is a separate free-text classification, not a deal program.
- Minimum items: 1
name(query, string, optional)See the JSON schema for this field’s contract.
- Minimum length: 1
stage(query, (Deal Closing | Consideration | Expansion Potential Identified | Deal Activation | Won | Lost | Nurture | Disqualified | Evaluating Investment | First presentation | Brand positioning Awareness | Investors | Declined to Invest | Declined, Interested in Future Rounds)[], optional)See the JSON schema for this field’s contract.
- Maximum items: 50
salesImpact(query, (High | Medium | Low)[], optional)See the JSON schema for this field’s contract.
- Maximum items: 20
activationImpact(query, (High | Medium | Low)[], optional)See the JSON schema for this field’s contract.
- Maximum items: 20
probabilityOfClosing(query, (High | Medium | Low | Closed | None)[], optional)See the JSON schema for this field’s contract.
- Maximum items: 20
value(query, object, optional)Deal value threshold filter. Missing values are treated as zero when the comparison includes zero.
gt(query, number, optional)See the JSON schema for this field’s contract.
gte(query, number, optional)See the JSON schema for this field’s contract.
eq(query, number, optional)See the JSON schema for this field’s contract.
lte(query, number, optional)See the JSON schema for this field’s contract.
lt(query, number, optional)See the JSON schema for this field’s contract.
activationPoint(query, string[], optional)See the JSON schema for this field’s contract.
- Maximum items: 20
owners(query, string[], optional)Deal-owner user ids used to scope the deal cohort.
- Maximum items: 200
pifEngagementBand(query, (HOT | WARMING | EARLY_INTEREST | TRACE | NO_SIGNAL)[], optional)For natural-language prompts like "with PIF", "has PIF", or "deals with PIF", treat that as headline pif.score > 0. Use positive engagement bands HOT, WARMING, EARLY_INTEREST, and TRACE to exclude NO_SIGNAL; do not use pifScoreMin: 0 because score minimum filters are inclusive.
- Maximum items: 20
pifTrend(query, (TRENDING | HOLDING | COOLING | RE_AWAKENING | LOW_VOLUME)[], optional)See the JSON schema for this field’s contract.
- Maximum items: 20
pifScoreMin(query, number, optional)Inclusive minimum headline PIF score for the deal. Do not use 0 for natural-language 'with PIF'; use positive engagement bands instead.
pifScoreMax(query, number, optional)See the JSON schema for this field’s contract.
pifMomentumMin(query, number, optional)See the JSON schema for this field’s contract.
pifMomentumMax(query, number, optional)See the JSON schema for this field’s contract.
pifLast30DaysEngagementBand(query, (HOT | WARMING | EARLY_INTEREST | TRACE | NO_SIGNAL)[], optional)For natural-language prompts like "with last-30-days PIF", "recent deals with PIF", or "deals with PIF in the last 30 days", treat that as pif.last30Days.score > 0. Use positive engagement bands HOT, WARMING, EARLY_INTEREST, and TRACE to exclude NO_SIGNAL; do not use pifLast30DaysScoreMin: 0 because score minimum filters are inclusive.
- Maximum items: 20
pifLast30DaysTrend(query, (TRENDING | HOLDING | COOLING | RE_AWAKENING | LOW_VOLUME)[], optional)See the JSON schema for this field’s contract.
- Maximum items: 20
pifLast30DaysScoreMin(query, number, optional)Inclusive minimum fixed last-30-days PIF score for the deal. Do not use 0 for natural-language 'with last-30-days PIF'; use positive last-30-days engagement bands instead.
pifLast30DaysScoreMax(query, number, optional)See the JSON schema for this field’s contract.
pifLast30DaysMomentumMin(query, number, optional)See the JSON schema for this field’s contract.
pifLast30DaysMomentumMax(query, number, optional)See the JSON schema for this field’s contract.
pifLast7DaysEngagementBand(query, (HOT | WARMING | EARLY_INTEREST | TRACE | NO_SIGNAL)[], optional)For natural-language prompts like "with last-7-days PIF", "with weekly PIF", or "deals with PIF in the last 7 days", treat that as pif.last7Days.score > 0. Use positive engagement bands HOT, WARMING, EARLY_INTEREST, and TRACE to exclude NO_SIGNAL; do not use pifLast7DaysScoreMin: 0 because score minimum filters are inclusive.
- Maximum items: 20
pifLast7DaysTrend(query, (TRENDING | HOLDING | COOLING | RE_AWAKENING | LOW_VOLUME)[], optional)See the JSON schema for this field’s contract.
- Maximum items: 20
pifLast7DaysScoreMin(query, number, optional)Inclusive minimum fixed last-7-days PIF score for the deal. Do not use 0 for natural-language 'with last-7-days PIF'; use positive last-7-days engagement bands instead.
pifLast7DaysScoreMax(query, number, optional)See the JSON schema for this field’s contract.
pifLast7DaysMomentumMin(query, number, optional)See the JSON schema for this field’s contract.
pifLast7DaysMomentumMax(query, number, optional)See the JSON schema for this field’s contract.
pif(query, object, optional)See the JSON schema for this field’s contract.
engagementBand(query, (HOT | WARMING | EARLY_INTEREST | TRACE | NO_SIGNAL)[], optional)For natural-language prompts like "with PIF", "has PIF", or "deals with PIF", treat that as headline pif.score > 0. Use positive engagement bands HOT, WARMING, EARLY_INTEREST, and TRACE to exclude NO_SIGNAL; do not use pifScoreMin: 0 because score minimum filters are inclusive.
- Maximum items: 20
trend(query, (TRENDING | HOLDING | COOLING | RE_AWAKENING | LOW_VOLUME)[], optional)See the JSON schema for this field’s contract.
- Maximum items: 20
score(query, object, optional)See the JSON schema for this field’s contract.
min(query, number, optional)See the JSON schema for this field’s contract.
max(query, number, optional)See the JSON schema for this field’s contract.
scoreMin(query, number, optional)Inclusive minimum headline PIF score for the deal. Do not use 0 for natural-language 'with PIF'; use positive engagement bands instead.
scoreMax(query, number, optional)See the JSON schema for this field’s contract.
momentum(query, object, optional)See the JSON schema for this field’s contract.
min(query, number, optional)See the JSON schema for this field’s contract.
max(query, number, optional)See the JSON schema for this field’s contract.
momentumMin(query, number, optional)See the JSON schema for this field’s contract.
momentumMax(query, number, optional)See the JSON schema for this field’s contract.
last30Days(query, object, optional)See the JSON schema for this field’s contract.
engagementBand(query, (HOT | WARMING | EARLY_INTEREST | TRACE | NO_SIGNAL)[], optional)For natural-language prompts like "with last-30-days PIF", "recent deals with PIF", or "deals with PIF in the last 30 days", treat that as pif.last30Days.score > 0. Use positive engagement bands HOT, WARMING, EARLY_INTEREST, and TRACE to exclude NO_SIGNAL; do not use pifLast30DaysScoreMin: 0 because score minimum filters are inclusive.
- Maximum items: 20
trend(query, (TRENDING | HOLDING | COOLING | RE_AWAKENING | LOW_VOLUME)[], optional)See the JSON schema for this field’s contract.
- Maximum items: 20
score(query, object, optional)See the JSON schema for this field’s contract.
min(query, number, optional)See the JSON schema for this field’s contract.
max(query, number, optional)See the JSON schema for this field’s contract.
scoreMin(query, number, optional)Inclusive minimum fixed last-30-days PIF score for the deal. Do not use 0 for natural-language 'with last-30-days PIF'; use positive last-30-days engagement bands instead.
scoreMax(query, number, optional)See the JSON schema for this field’s contract.
momentum(query, object, optional)See the JSON schema for this field’s contract.
min(query, number, optional)See the JSON schema for this field’s contract.
max(query, number, optional)See the JSON schema for this field’s contract.
momentumMin(query, number, optional)See the JSON schema for this field’s contract.
momentumMax(query, number, optional)See the JSON schema for this field’s contract.
last7Days(query, object, optional)See the JSON schema for this field’s contract.
engagementBand(query, (HOT | WARMING | EARLY_INTEREST | TRACE | NO_SIGNAL)[], optional)For natural-language prompts like "with last-7-days PIF", "with weekly PIF", or "deals with PIF in the last 7 days", treat that as pif.last7Days.score > 0. Use positive engagement bands HOT, WARMING, EARLY_INTEREST, and TRACE to exclude NO_SIGNAL; do not use pifLast7DaysScoreMin: 0 because score minimum filters are inclusive.
- Maximum items: 20
trend(query, (TRENDING | HOLDING | COOLING | RE_AWAKENING | LOW_VOLUME)[], optional)See the JSON schema for this field’s contract.
- Maximum items: 20
score(query, object, optional)See the JSON schema for this field’s contract.
min(query, number, optional)See the JSON schema for this field’s contract.
max(query, number, optional)See the JSON schema for this field’s contract.
scoreMin(query, number, optional)Inclusive minimum fixed last-7-days PIF score for the deal. Do not use 0 for natural-language 'with last-7-days PIF'; use positive last-7-days engagement bands instead.
scoreMax(query, number, optional)See the JSON schema for this field’s contract.
momentum(query, object, optional)See the JSON schema for this field’s contract.
min(query, number, optional)See the JSON schema for this field’s contract.
max(query, number, optional)See the JSON schema for this field’s contract.
momentumMin(query, number, optional)See the JSON schema for this field’s contract.
momentumMax(query, number, optional)See the JSON schema for this field’s contract.
locations(query, string[], optional)See the JSON schema for this field’s contract.
- Maximum items: 200
estimateCloseDate(query, object, optional)See the JSON schema for this field’s contract.
from(query, string:date-time, optional)Absolute ISO date or ISO datetime with explicit timezone/offset. In time windows, from is inclusive and to is exclusive. Do not pass relative terms like today or tomorrow.
to(query, string:date-time, optional)Absolute ISO date or ISO datetime with explicit timezone/offset. In time windows, from is inclusive and to is exclusive. Do not pass relative terms like today or tomorrow.
qwqQuadrants(query, (QWQ1 | QWQ2 | QWQ3 | QWQ4)[], optional)See the JSON schema for this field’s contract.
- Maximum items: 4
qwqStack(query, boolean, optional)See the JSON schema for this field’s contract.
JSON response schema
{
"type": "object",
"properties": {
"total": {
"type": "number",
"description": "Total rows in the filtered cohort used for these facets."
},
"limitPerCategory": {
"type": "number",
"description": "Maximum facet values returned per requested category."
},
"facets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"category": {
"type": "string"
},
"values": {
"type": "array",
"items": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"label": {
"type": "string"
},
"count": {
"type": "number"
}
},
"required": [
"value",
"count"
],
"additionalProperties": true
}
},
"returned": {
"type": "number"
},
"truncated": {
"type": "boolean"
}
},
"required": [
"category",
"values",
"returned",
"truncated"
],
"additionalProperties": true
},
"description": "Facet counts for requested categories only; not row details."
},
"metadata": {
"type": "object",
"properties": {
"count": {
"type": "number",
"description": "Exact total rows in the filtered cohort before facet value limits."
},
"countSemantics": {
"type": "string",
"description": "metadata.count is the full filtered-row count.",
"enum": [
"total_matching_rows"
]
},
"rollup": {
"type": "object",
"properties": {
"rowSet": {
"type": "string",
"description": "Facet rollup is computed before facet value limits.",
"enum": [
"pre_pagination_matching_rows"
]
},
"totalCount": {
"type": "number",
"description": "Total filtered rows represented by the facets."
},
"facetCategoryCount": {
"type": "number",
"description": "Number of requested facet categories returned."
}
},
"required": [
"rowSet",
"totalCount",
"facetCategoryCount"
],
"additionalProperties": true,
"description": "Pre-pagination facet rollup metadata."
}
},
"required": [
"count",
"countSemantics",
"rollup"
],
"additionalProperties": true,
"description": "Facet response metadata. Use metadata.count for cohort counts instead of summing displayed facet values."
}
},
"required": [
"total",
"limitPerCategory",
"facets"
],
"additionalProperties": true,
"description": "Compact selected deal facets. Only requested categories are returned under facets[]."
}Responses
200: Operation receipt or read result. Arrays are returned under items; scalar and null results under value.
RateLimit-Policy(header, value, optional)Response header
RateLimit-Limit(header, value, optional)Response header
RateLimit-Remaining(header, value, optional)Response header
RateLimit-Reset(header, value, optional)Response header
400: Invalid operation input or record identifiers.
400 response schema
{
"type": "object",
"additionalProperties": false,
"properties": {
"message": {
"type": "string"
},
"code": {
"type": "string"
}
},
"required": [
"message",
"code"
]
}401: Bearer credential is missing, expired or invalid.
401 response schema
{
"type": "object",
"additionalProperties": false,
"properties": {
"message": {
"type": "string"
},
"code": {
"type": "string"
}
},
"required": [
"message",
"code"
]
}402: Insufficient research credits. Add credits before retrying.
402 response schema
{
"type": "object",
"additionalProperties": false,
"properties": {
"message": {
"type": "string"
},
"code": {
"type": "string"
}
},
"required": [
"message",
"code"
]
}403: Write access or resource permission is required.
403 response schema
{
"type": "object",
"additionalProperties": false,
"properties": {
"message": {
"type": "string"
},
"code": {
"type": "string"
}
},
"required": [
"message",
"code"
]
}404: Record is not available in the credential workspace.
404 response schema
{
"type": "object",
"additionalProperties": false,
"properties": {
"message": {
"type": "string"
},
"code": {
"type": "string"
}
},
"required": [
"message",
"code"
]
}405: Use the documented HTTP method.
405 response schema
{
"type": "object",
"additionalProperties": false,
"properties": {
"message": {
"type": "string"
},
"code": {
"type": "string"
}
},
"required": [
"message",
"code"
]
}409: Revision conflict or a record has dependencies. Refetch and reconcile links before retrying.
409 response schema
{
"type": "object",
"additionalProperties": false,
"properties": {
"message": {
"type": "string"
},
"code": {
"type": "string"
}
},
"required": [
"message",
"code"
]
}413: Request exceeds the permitted JSON body size.
413 response schema
{
"type": "object",
"additionalProperties": false,
"properties": {
"message": {
"type": "string"
},
"code": {
"type": "string"
}
},
"required": [
"message",
"code"
]
}429: Rate limit exceeded. Observe Retry-After.
RateLimit-Policy(header, value, optional)Response header
RateLimit-Limit(header, value, optional)Response header
RateLimit-Remaining(header, value, optional)Response header
RateLimit-Reset(header, value, optional)Response header
429 response schema
{
"type": "object",
"additionalProperties": false,
"properties": {
"message": {
"type": "string"
},
"code": {
"type": "string"
}
},
"required": [
"message",
"code"
]
}500: Internal server error.
500 response schema
{
"type": "object",
"additionalProperties": false,
"properties": {
"message": {
"type": "string"
},
"code": {
"type": "string"
}
},
"required": [
"message",
"code"
]
}503: Service temporarily unavailable. Observe Retry-After when present.
503 response schema
{
"type": "object",
"additionalProperties": false,
"properties": {
"message": {
"type": "string"
},
"code": {
"type": "string"
}
},
"required": [
"message",
"code"
]
}504: Execution timed out. A write may have committed; check receipts or progress before retrying.
504 response schema
{
"type": "object",
"additionalProperties": false,
"properties": {
"message": {
"type": "string"
},
"code": {
"type": "string"
}
},
"required": [
"message",
"code"
]
}List deal facets
curl "https://server-url-from-token-page.endpoint/api/v1/public/deals/facets?categories=%5B%22name%22%5D" \
-H "Authorization: Bearer $DOE_API_TOKEN" \
-H "Accept: application/json"Response example
No response example is supplied. See the JSON response schema.