Skip to main content

retryFailedProposalItems

Requires permission catalog:copilot:apply.

Re-applies only the failed items of a PARTIAL batch (derived idempotency key per retry).

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 RetryFailedProposalItems($batchId: ID!, $proposalId: ID!, $sessionId: ID!) {
retryFailedProposalItems(
batchId: $batchId
proposalId: $proposalId
sessionId: $sessionId
) {
batchId
jobId
replayed
report
}
}

Variables:

{
"batchId": "id",
"proposalId": "id",
"sessionId": "id"
}

Response:

{
"data": {
"retryFailedProposalItems": {
"batchId": "string",
"jobId": "string",
"replayed": true,
"report": {}
}
}
}
retryFailedProposalItems(
batchId: ID!
proposalId: ID!
sessionId: ID!
): ApplyProposalResult!

Arguments​

retryFailedProposalItems.batchId ● ID! non-null scalar​

The ID of the batch.

retryFailedProposalItems.proposalId ● ID! non-null scalar​

The ID of the proposal.

retryFailedProposalItems.sessionId ● ID! non-null scalar​

The ID of the Copilot session.

Type​

ApplyProposalResult object​

The result of applying a proposal.