Skip to main content

applyProposal

Requires permission catalog:copilot:apply.

THE write gate: applies an explicitly APPROVED proposal card through the throttled, idempotent pipeline. Anything else (PROPOSED/REJECTED/…) fails 400.

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 ApplyProposal($input: ApplyProposalInput!) {
applyProposal(input: $input) {
batchId
jobId
replayed
report
}
}

Variables:

{
"input": {
"idempotencyKey": "string",
"proposalId": "id",
"sessionId": "id"
}
}

Response:

{
"data": {
"applyProposal": {
"batchId": "string",
"jobId": "string",
"replayed": true,
"report": {}
}
}
}
applyProposal(
input: ApplyProposalInput!
): ApplyProposalResult!

Arguments​

applyProposal.input ● ApplyProposalInput! non-null input​

The details of the apply proposal request.

Type​

ApplyProposalResult object​

The result of applying a proposal.