Skip to main content

decideBidAiSuggestion

Requires permission biddesk:bid:update.

Accepts an AI suggestion as is (ACCEPT) or edited (EDIT), writing it through the same Bid Desk service a person's own entry uses, or rejects it with a reason (REJECT; OTHER needs a note). Accepting also needs the permission the suggestion's kind names. Refused with ALREADY_DECIDED, NOT_APPLICABLE, INVALID_PAYLOAD, a missing reason or note, and VERSION_CONFLICT when someone decided first. Requires Bid Desk and permission to update 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:

mutation DecideBidAiSuggestion($input: DecideBidAiSuggestionInput!) {
decideBidAiSuggestion(input: $input) {
id
status
createdAt
appliedRefId
appliedRefType
bidId
}
}

Variables:

{
"input": {
"decision": "string",
"expectedVersion": 0,
"id": "id"
}
}

Response:

{
"data": {
"decideBidAiSuggestion": {
"id": "id",
"status": "ACCEPTED",
"createdAt": "2025-01-15T00:00:00Z",
"appliedRefId": "id",
"appliedRefType": "string",
"bidId": "id"
}
}
}
decideBidAiSuggestion(
input: DecideBidAiSuggestionInput!
): BidAiSuggestion!

Arguments​

decideBidAiSuggestion.input ● DecideBidAiSuggestionInput! non-null input​

The suggestion, its version and the decision.

Type​

BidAiSuggestion object​

A change a Bid Desk AI run suggests on a bid. Nothing is written until a person accepts it.