bidDeskRecentAnswers
Requires permission biddesk:assembly:read.
The caller's own last answers about an item or assembly, newest first (at most 5). A citation whose record the caller can no longer open reads "a source you cannot open", with no id and no route. Requires Bid Desk with engineered products and permission to read assemblies; bids and imported history count only with permission to read bids, past costs only with cost visibility.
Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.
Example:
- GraphQL
- cURL
query BidDeskRecentAnswers($productId: ID!) {
bidDeskRecentAnswers(productId: $productId) {
code
status
askedAt
question
runId
citations {
type
index
label
path
refId
}
}
}
curl -X POST "https://<api-host>/graphql" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
--data @- <<'EOF'
{
"query": "query BidDeskRecentAnswers($productId: ID!) {\n bidDeskRecentAnswers(productId: $productId) {\n code\n status\n askedAt\n question\n runId\n citations {\n type\n index\n label\n path\n refId\n }\n }\n}",
"variables": {
"productId": "id"
}
}
EOF
Variables:
{
"productId": "id"
}
Response:
{
"data": {
"bidDeskRecentAnswers": [
{
"code": "string",
"status": "ANSWERED",
"askedAt": "2025-01-15T00:00:00Z",
"question": "string",
"runId": "id",
"citations": [
{
"type": "ASSEMBLY",
"index": 0,
"label": "string",
"path": "string",
"refId": "id"
}
]
}
]
}
}
bidDeskRecentAnswers(
productId: ID!
take: Int
): [BidDeskAnswer!]!
Arguments
bidDeskRecentAnswers.productId ● ID! non-null scalar
The item or assembly.
bidDeskRecentAnswers.take ● Int scalar
How many to list, 1 to 5 (default 5).
Type
BidDeskAnswer object
An answer drawn only from records the asker may read, each sentence cited, or a plain "I don't know".