bidDecisions
Requires permission biddesk:bid:read.
Lists a live bid's decisions, newest first, at most 200: who decided what, why, and against which version. A bid the caller may not see is not found. Requires Bid Desk and permission to read bids.
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 BidDecisions($bidId: ID!) {
bidDecisions(bidId: $bidId) {
id
decidedByName
bidId
decidedAt
decidedByUserId
kind
}
}
curl -X POST "https://<api-host>/graphql" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
--data @- <<'EOF'
{
"query": "query BidDecisions($bidId: ID!) {\n bidDecisions(bidId: $bidId) {\n id\n decidedByName\n bidId\n decidedAt\n decidedByUserId\n kind\n }\n}",
"variables": {
"bidId": "id"
}
}
EOF
Variables:
{
"bidId": "id"
}
Response:
{
"data": {
"bidDecisions": [
{
"id": "id",
"decidedByName": "string",
"bidId": "id",
"decidedAt": "2025-01-15T00:00:00Z",
"decidedByUserId": "id",
"kind": "APPROVAL_STAGE_DECIDED"
}
]
}
}
bidDecisions(
bidId: ID!
kinds: [BidDecisionKind!]
): [BidDecision!]!
Arguments
bidDecisions.bidId ● ID! non-null scalar
The bid.
bidDecisions.kinds ● [BidDecisionKind!] list enum
Only these kinds of decision; all kinds when omitted.
Type
BidDecision object
One permanent decision on a bid: what kind, which outcome, about what, who decided, why, and the version or hash it was decided against. Never edited or deleted.