Skip to main content

bidAiRuns

Requires permission biddesk:bid:read.

Lists the AI runs on a bid, newest first, at most 200, each with its trace; the model input is given only as its size. 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 BidAiRuns($bidId: ID!) {
bidAiRuns(bidId: $bidId) {
id
errorCode
status
attempts
bidId
cachedInputTokens
}
}

Variables:

{
"bidId": "id"
}

Response:

{
"data": {
"bidAiRuns": [
{
"id": "id",
"errorCode": "string",
"status": "FAILED",
"attempts": 0,
"bidId": "id",
"cachedInputTokens": 0
}
]
}
}
bidAiRuns(
bidId: ID!
take: Int
): [BidAiRun!]!

Arguments​

bidAiRuns.bidId ● ID! non-null scalar​

The bid.

bidAiRuns.take ● Int scalar​

At most this many, up to 200.

Type​

BidAiRun object​

The trace of one Bid Desk AI run on a bid: skill, prompt version, model, tokens, credits, validation errors and output. The model input is shown only as its size.