Protected configurationOptional initOverrides: RequestInitAtomically leases a conversation to one worker. A conflict means another unexpired worker owns it. Use expectedVersion to reject work selected from stale context. Acquire a renewable conversation claim
Optional initOverrides: RequestInitAdds agent/operator collaboration context without sending any email to the customer. Add an internal conversation note
Optional initOverrides: RequestInitAdds agent/operator collaboration context without sending any email to the customer. Add an internal conversation note
Optional initOverrides: RequestInitAdd an internal SMS conversation note
Optional initOverrides: RequestInitAdd an internal SMS conversation note
Optional initOverrides: RequestInitEvaluates effective inbox and account sending rules before an agent creates a send action. A blocked result includes the operator recovery route. Check whether sending rules allow recipients
Optional initOverrides: RequestInitEvaluates effective inbox and account sending rules before an agent creates a send action. A blocked result includes the operator recovery route. Check whether sending rules allow recipients
Optional initOverrides: RequestInitAcquire an SMS conversation claim
Optional initOverrides: RequestInitAcquire an SMS conversation claim
Optional initOverrides: RequestInitRevalidates conversation freshness, sends one threaded reply with an idempotency key, and releases the supplied claim only after the send succeeds. Complete a work item with an idempotent reply
Optional initOverrides: RequestInitRevalidates conversation freshness, sends one threaded reply with an idempotency key, and releases the supplied claim only after the send succeeds. Complete a work item with an idempotent reply
Optional initOverrides: RequestInitCreates a saved draft in the path inbox using the same SendEmailOptions shape as sending, without sending the email. Create a scoped email draft for an agent
Optional initOverrides: RequestInitCreates a saved draft in the path inbox using the same SendEmailOptions shape as sending, without sending the email. Create a scoped email draft for an agent
Optional initOverrides: RequestInitCreates an inbox without changing this agent connection's scopes. Account-wide scope is required so the new inbox is already covered. Create an inbox with an account-wide inbox-manager connection
Optional initOverrides: RequestInitCreates an inbox without changing this agent connection's scopes. Account-wide scope is required so the new inbox is already covered. Create an inbox with an account-wide inbox-manager connection
Optional initOverrides: RequestInitBuilds the same recipients and RFC In-Reply-To/References headers as immediate reply, saves them as a draft, and preserves the required threading headers across later agent draft updates. Create a correctly threaded reply draft
Optional initOverrides: RequestInitBuilds the same recipients and RFC In-Reply-To/References headers as immediate reply, saves them as a draft, and preserves the required threading headers across later agent draft updates. Create a correctly threaded reply draft
Optional initOverrides: RequestInitCreate an agent-managed TOTP device from a base32 secret key
Optional initOverrides: RequestInitCreate an agent-managed TOTP device from a base32 secret key
Optional initOverrides: RequestInitCreate an agent-managed TOTP device from custom options
Optional initOverrides: RequestInitCreate an agent-managed TOTP device from custom options
Optional initOverrides: RequestInitCreate an agent-managed TOTP device from an OTP Auth URL
Optional initOverrides: RequestInitCreate an agent-managed TOTP device from an OTP Auth URL
Optional initOverrides: RequestInitCreates 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. Defer a work item to human review
Optional initOverrides: RequestInitCreates 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. Defer a work item to human review
Optional initOverrides: RequestInitDeletes a saved draft without sending it. Delete a scoped email draft for an agent
Optional initOverrides: RequestInitDeletes a saved draft without sending it. Delete a scoped email draft for an agent
Optional initOverrides: RequestInitDelete an agent-managed TOTP device
Optional initOverrides: RequestInitDelete an agent-managed TOTP device
Optional initOverrides: RequestInitExtracts bounded text only after verifying both the email scope and that the attachment belongs to that email. List attachments first instead of guessing IDs. Extract text from a scoped email attachment for an agent
Optional initOverrides: RequestInitExtracts bounded text only after verifying both the email scope and that the attachment belongs to that email. List attachments first instead of guessing IDs. Extract text from a scoped email attachment for an agent
Optional initOverrides: RequestInitGenerate a code for an agent-managed TOTP device
Optional initOverrides: RequestInitGenerate a code for an agent-managed TOTP device
Optional initOverrides: RequestInitReturns the connection identity, role, effective permission names, declared resource scope, feature availability, and server-enforced limits. Call this once during worker startup instead of hard-coding role behavior. Discover this agent connection's capabilities
Optional initOverrides: RequestInitReturns the connection identity, role, effective permission names, declared resource scope, feature availability, and server-enforced limits. Call this once during worker startup instead of hard-coding role behavior. Discover this agent connection's capabilities
Optional initOverrides: RequestInitReturns the projected conversation plus this connection's bounded activity timeline, internal notes, and active human-review handoff. Get one scoped conversation
Optional initOverrides: RequestInitReturns the projected conversation plus this connection's bounded activity timeline, internal notes, and active human-review handoff. Get one scoped conversation
Optional initOverrides: RequestInitReturns parsed email content after resolving the message inbox and checking agent scope. Get scoped hydrated email for an agent
Optional initOverrides: RequestInitReturns a saved draft including the full SendEmailOptions payload. Get a scoped email draft for an agent
Optional initOverrides: RequestInitReturns a saved draft including the full SendEmailOptions payload. Get a scoped email draft for an agent
Optional initOverrides: RequestInitReturns parsed email content after resolving the message inbox and checking agent scope. Get scoped hydrated email for an agent
Optional initOverrides: RequestInitReturns lightweight metadata and headers for an email after resolving its inbox and checking the agent key scope. Get scoped email summary for an agent
Optional initOverrides: RequestInitReturns lightweight metadata and headers for an email after resolving its inbox and checking the agent key scope. Get scoped email summary for an agent
Optional initOverrides: RequestInitReturns thread metadata and ordered messages using an email ID as the authorization anchor. Arbitrary thread-ID probing is not allowed. Get a scoped email thread for an agent
Optional initOverrides: RequestInitReturns thread metadata and ordered messages using an email ID as the authorization anchor. Arbitrary thread-ID probing is not allowed. Get a scoped email thread for an agent
Optional initOverrides: RequestInitWaits for and returns the latest email in one scoped inbox. This is the agent-shaped equivalent of latest-message polling. Get latest scoped inbox email for an agent
Optional initOverrides: RequestInitWaits for and returns the latest email in one scoped inbox. This is the agent-shaped equivalent of latest-message polling. Get latest scoped inbox email for an agent
Optional initOverrides: RequestInitSelects the oldest available scoped conversation and atomically claims it for one worker. This combines queue selection and claim acquisition so concurrent workers do not need to coordinate those steps themselves. Claim the next conversation work item
Optional initOverrides: RequestInitSelects the oldest available scoped conversation and atomically claims it for one worker. This combines queue selection and claim acquisition so concurrent workers do not need to coordinate those steps themselves. Claim the next conversation work item
Optional initOverrides: RequestInitList SMS thread messages
Optional initOverrides: RequestInitList SMS thread messages
Optional initOverrides: RequestInitList SMS threads
Optional initOverrides: RequestInitList SMS threads
Optional initOverrides: RequestInitGet an assigned phone number
Optional initOverrides: RequestInitGet an assigned phone number
Optional initOverrides: RequestInitReturns only active phone numbers explicitly assigned to this agent connection. List assigned phone numbers
Optional initOverrides: RequestInitReturns only active phone numbers explicitly assigned to this agent connection. List assigned phone numbers
Optional initOverrides: RequestInitGet received SMS
Optional initOverrides: RequestInitGet received SMS
Optional initOverrides: RequestInitList received SMS for an assigned phone number
Optional initOverrides: RequestInitList received SMS for an assigned phone number
Optional initOverrides: RequestInitGet sent SMS
Optional initOverrides: RequestInitGet sent SMS
Optional initOverrides: RequestInitList sent SMS for an assigned phone number
Optional initOverrides: RequestInitList sent SMS for an assigned phone number
Optional initOverrides: RequestInitGet one SMS conversation
Optional initOverrides: RequestInitGet one SMS conversation
Optional initOverrides: RequestInitGet an agent-accessible TOTP device
Optional initOverrides: RequestInitFind an agent-accessible TOTP device by name, issuer, or username
Optional initOverrides: RequestInitFind an agent-accessible TOTP device by name, issuer, or username
Optional initOverrides: RequestInitGet an agent-accessible TOTP device
Optional initOverrides: RequestInitList agent-accessible TOTP devices
Optional initOverrides: RequestInitList agent-accessible TOTP devices
Optional initOverrides: RequestInitReturns the inbox IDs, addresses, names, and tags visible to this resource-scoped agent key. Agents should use this endpoint instead of guessing inbox IDs. List inboxes accessible to an agent
Optional initOverrides: RequestInitReturns the inbox IDs, addresses, names, and tags visible to this resource-scoped agent key. Agents should use this endpoint instead of guessing inbox IDs. List inboxes accessible to an agent
Optional initOverrides: RequestInitReturns an ordered at-least-once event batch. Persist nextCursor after processing and deduplicate by eventId. waitSeconds enables bounded long polling; production workers should not continuously call latest-email polling. Read durable scoped automation events
Optional initOverrides: RequestInitReturns an ordered at-least-once event batch. Persist nextCursor after processing and deduplicate by eventId. waitSeconds enables bounded long polling; production workers should not continuously call latest-email polling. Read durable scoped automation events
Optional initOverrides: RequestInitReads the bounded mail-thread projection and applies current connection scope on every request. Persist nextCursor only after processing the returned page. Exact totals are intentionally omitted. List active conversations with an opaque keyset cursor
Optional initOverrides: RequestInitReads the bounded mail-thread projection and applies current connection scope on every request. Persist nextCursor only after processing the returned page. Exact totals are intentionally omitted. List active conversations with an opaque keyset cursor
Optional initOverrides: RequestInitReturns bounded attachment metadata only after verifying the email belongs to an inbox visible to the agent key. List attachments on a scoped email for an agent
Optional initOverrides: RequestInitReturns bounded attachment metadata only after verifying the email belongs to an inbox visible to the agent key. List attachments on a scoped email for an agent
Optional initOverrides: RequestInitLists draft previews for one scoped inbox. List scoped email drafts for an agent
Optional initOverrides: RequestInitLists draft previews for one scoped inbox. List scoped email drafts for an agent
Optional initOverrides: RequestInitReturns paginated email previews for one inbox after checking the agent key has AGENT_READ_EMAIL and is scoped to the inbox. List scoped inbox emails for an agent
Optional initOverrides: RequestInitReturns paginated email previews for one inbox after checking the agent key has AGENT_READ_EMAIL and is scoped to the inbox. List scoped inbox emails for an agent
Optional initOverrides: RequestInitLists conversation threads for one scoped inbox, including unread state, attachment presence, message count, and latest-message excerpts. List scoped inbox threads for an agent
Optional initOverrides: RequestInitLists conversation threads for one scoped inbox, including unread state, attachment presence, message count, and latest-message excerpts. List scoped inbox threads for an agent
Optional initOverrides: RequestInitList active SMS conversations
Optional initOverrides: RequestInitList active SMS conversations
Optional initOverrides: RequestInitChecks that the selected conversation and latest inbound email are still current, then creates a correctly threaded reply draft. An optional internal note records context for human review without sending email. Prepare a guarded reply draft
Optional initOverrides: RequestInitChecks that the selected conversation and latest inbound email are still current, then creates a correctly threaded reply draft. An optional internal note records context for human review without sending email. Prepare a guarded reply draft
Optional initOverrides: RequestInitRelease is idempotent; repeating it does not fail. Release a conversation claim
Optional initOverrides: RequestInitRelease is idempotent; repeating it does not fail. Release a conversation claim
Optional initOverrides: RequestInitRelease an SMS conversation claim
Optional initOverrides: RequestInitRelease an SMS conversation claim
Optional initOverrides: RequestInitRenew a conversation claim
Optional initOverrides: RequestInitRenew a conversation claim
Optional initOverrides: RequestInitRenew an SMS conversation claim
Optional initOverrides: RequestInitRenew an SMS conversation claim
Optional initOverrides: RequestInitSends a reply using the original conversation context after checking AGENT_REPLY_EMAIL and inbox scope. Reply to a scoped email as an agent
Optional initOverrides: RequestInitSends a reply using the original conversation context after checking AGENT_REPLY_EMAIL and inbox scope. Reply to a scoped email as an agent
Optional initOverrides: RequestInitReply to received SMS
Optional initOverrides: RequestInitReply to received SMS
Optional initOverrides: RequestInitRecords one running worker instance and its deployed release for owner-side health monitoring. Send this during startup and periodically while the process can accept work; it does not claim or mutate a conversation. Report a worker heartbeat
Optional initOverrides: RequestInitRecords one running worker instance and its deployed release for owner-side health monitoring. Send this during startup and periodically while the process can accept work; it does not claim or mutate a conversation. Report a worker heartbeat
Optional initOverrides: RequestInitCreates or returns the active handoff and moves the shared workflow state into REVIEW without classifying the request as an operational failure. Request human review for a conversation
Optional initOverrides: RequestInitCreates or returns the active handoff and moves the shared workflow state into REVIEW without classifying the request as an operational failure. Request human review for a conversation
Optional initOverrides: RequestInitRequest human review for an SMS conversation
Optional initOverrides: RequestInitRequest human review for an SMS conversation
Optional initOverrides: RequestInitSearches one scoped inbox using explicit field matches and attachment conditions. Use this for deterministic automation recovery instead of repeatedly fetching the latest message. Search scoped inbox emails for an agent
Optional initOverrides: RequestInitSearches one scoped inbox using explicit field matches and attachment conditions. Use this for deterministic automation recovery instead of repeatedly fetching the latest message. Search scoped inbox emails for an agent
Optional initOverrides: RequestInitSends a saved draft through the existing inbox send pipeline and deletes it only after send success. Send a scoped email draft for an agent
Optional initOverrides: RequestInitSends a saved draft through the existing inbox send pipeline and deletes it only after send success. Send a scoped email draft for an agent
Optional initOverrides: RequestInitSend SMS from an assigned phone number
Optional initOverrides: RequestInitSend SMS from an assigned phone number
Optional initOverrides: RequestInitReplaces the SendEmailOptions stored for a draft. The draft remains attached to its original inbox. Update a scoped email draft for an agent
Optional initOverrides: RequestInitReplaces the SendEmailOptions stored for a draft. The draft remains attached to its original inbox. Update a scoped email draft for an agent
Optional initOverrides: RequestInitUpdate an inbox visible to an inbox-manager connection
Optional initOverrides: RequestInitUpdate an inbox visible to an inbox-manager connection
Optional initOverrides: RequestInitUpdate an agent-managed TOTP device
Optional initOverrides: RequestInitUpdate an agent-managed TOTP device
Optional initOverrides: RequestInitProtected requestOptional initOverrides: RequestInitRest ...middlewares: Middleware[]Rest ...postMiddlewares: ((context: ResponseContext) => Promise<void | Response>)[]Rest ...preMiddlewares: ((context: RequestContext) => Promise<void | FetchParams>)[]
Atomically leases a conversation to one worker. A conflict means another unexpired worker owns it. Use expectedVersion to reject work selected from stale context. Acquire a renewable conversation claim