Skip to main content

RevokeAgentLeaseInput

Immediately revoke one visible lease.

input RevokeAgentLeaseInput {
idempotencyKey: String!
sessionId: String!
clientEpoch: BigInt!
leaseId: String!
reason: CrowdyStudioAgentPreemptionReason
}

Fields

RevokeAgentLeaseInput.idempotencyKey ● String! non-null scalar

Required retry key. Same owner, operation, key, and input replay the first result; changed input returns IDEMPOTENCY_CONFLICT.

RevokeAgentLeaseInput.sessionId ● String! non-null scalar

Owner/app session UUID.

RevokeAgentLeaseInput.clientEpoch ● BigInt! non-null scalar

Current attached client epoch.

RevokeAgentLeaseInput.leaseId ● String! non-null scalar

Lease UUID to revoke.

RevokeAgentLeaseInput.reason ● CrowdyStudioAgentPreemptionReason enum

Optional strict CrowdyJS/BWF preemption reason; defaults to HUMAN_STOP.

Member Of

crowdyStudioAgentRevokeLease mutation