Skip to main content

bidAiSuggestions

Requires permission biddesk:bid:read.

Lists the AI suggestions on a bid, oldest first, at most 200; optionally one skill's or one status. 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:

query BidAiSuggestions($bidId: ID!) {
bidAiSuggestions(bidId: $bidId) {
id
status
createdAt
appliedRefId
appliedRefType
bidId
}
}

Variables:

{
"bidId": "id"
}

Response:

{
"data": {
"bidAiSuggestions": [
{
"id": "id",
"status": "ACCEPTED",
"createdAt": "2025-01-15T00:00:00Z",
"appliedRefId": "id",
"appliedRefType": "string",
"bidId": "id"
}
]
}
}
bidAiSuggestions(
bidId: ID!
skillKey: String
status: BidAiSuggestionStatus
take: Int
): [BidAiSuggestion!]!

Arguments​

bidAiSuggestions.bidId ● ID! non-null scalar​

The bid.

bidAiSuggestions.skillKey ● String scalar​

Only this skill's suggestions.

bidAiSuggestions.status ● BidAiSuggestionStatus enum​

Only suggestions in this state.

bidAiSuggestions.take ● Int scalar​

At most this many, up to 200.

Type​

BidAiSuggestion object​

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