status • AI Agent SDK
status: Closed, branchable delivery outcome for the send contract.
status
Method
</div>
This is a method of the SendResult class in the base module.
Closed, branchable delivery outcome for the send contract.
One of `"sent" / "failed" / "queued" / "duplicate", derived from the existing flags so a caller of BotProtocol's send_message can branch on the outcome without exception-handling (a swallowed exception would otherwise be a silent drop). queued (persisted to a durable outbox) and duplicate (crash-recovered possible re-send) take precedence over the bare ok` flag.
Signature
def status() -> SendStatusReturns
ResponseField
SendStatusThe result of the operation.
Used By
Source
View on GitHubpraisonaiagents/bots/base.py at line 389