Skip to main content

BidAiOrgSuggestion

A change a Bid Desk AI run suggests for the organisation rather than a bid (an onboarding import, an induced model). Nothing is written until a person accepts it.

type BidAiOrgSuggestion {
appliedRefId: ID
appliedRefType: String
citations: JSON!
createdAt: DateTime!
decidedAt: DateTime
decidedBy: ID
editedPayload: JSON
id: ID!
kind: String!
payload: JSON!
rejectNote: String
rejectReason: String
runId: ID!
skillKey: String!
sourceId: ID
status: BidAiSuggestionStatus!
subjectId: ID
subjectType: String
version: Int!
}

Fields​

BidAiOrgSuggestion.appliedRefId ● ID scalar​

The record accepting it wrote.

BidAiOrgSuggestion.appliedRefType ● String scalar​

The kind of record accepting it wrote.

BidAiOrgSuggestion.citations ● JSON! non-null scalar​

Where in the organisation's set-up files the suggestion comes from: file, sheet, row or page.

BidAiOrgSuggestion.createdAt ● DateTime! non-null scalar​

When the run wrote it.

BidAiOrgSuggestion.decidedAt ● DateTime scalar​

When it was decided.

BidAiOrgSuggestion.decidedBy ● ID scalar​

Who decided it.

BidAiOrgSuggestion.editedPayload ● JSON scalar​

The change as a person edited and accepted it; the suggested payload is kept beside it.

BidAiOrgSuggestion.id ● ID! non-null scalar​

The suggestion's id.

BidAiOrgSuggestion.kind ● String! non-null scalar​

What kind of change it is, from the skill's declared list.

BidAiOrgSuggestion.payload ● JSON! non-null scalar​

The change as suggested.

BidAiOrgSuggestion.rejectNote ● String scalar​

The rejecting person's note.

BidAiOrgSuggestion.rejectReason ● String scalar​

Why it was rejected: WRONG, DUPLICATE, NOT_NEEDED, OUT_OF_SCOPE or OTHER.

BidAiOrgSuggestion.runId ● ID! non-null scalar​

The AI run that wrote it.

BidAiOrgSuggestion.skillKey ● String! non-null scalar​

The skill that wrote it.

BidAiOrgSuggestion.sourceId ● ID scalar​

The set-up file it was read from.

BidAiOrgSuggestion.status ● BidAiSuggestionStatus! non-null enum​

The decision state.

BidAiOrgSuggestion.subjectId ● ID scalar​

The record it is about.

BidAiOrgSuggestion.subjectType ● String scalar​

The kind of record it is about, e.g. product.

BidAiOrgSuggestion.version ● Int! non-null scalar​

The version a decision is based on.

Returned By​

decideOrgAiSuggestion mutation ● orgAiSuggestions query