AgentController

Defer a work item to human review

Creates or returns the active review handoff and releases the supplied claim after the handoff is durable. Deferral is a normal workflow result rather than an operational failure.

post/agent/work-items/{conversationId}/defer

Request

  • Base URL: https://api.mailslurp.com
  • URL: https://api.mailslurp.com/agent/work-items/{conversationId}/defer
  • Auth: API key in header x-api-key

Path parameters

conversationIdstring uuid required

Request body

reasonCodestring required
reasonstring nullable
priority'LOW' | 'NORMAL' | 'HIGH' | 'URGENT' required
sourceEmailIdstring uuid nullable
draftIdstring uuid nullable
expectedConversationVersioninteger nullable
claimIdstring uuid nullable

Response

The human-review handoff and refreshed conversation state.

claimReleasedboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.