Open a user-delegated agent DM channel
Creates a fresh human-to-agent DM conversation and channel-linked session for the authenticated user on every successful call; it does not reuse an earlier DM. The agentId must exist in the published app configuration, even when a Workspace runtime source is selected; promote a Workspace-only agent before using it here. The response field created is always true. If content is supplied and createOnly is not true, posts the first message as that user.
Authentication
OAuth/JWT bearer with the ‘runtime’ scope that resolves to a user principal. API keys and agent service tokens are rejected by user-delegated operations.
Headers
Query parameters
Optional Workspace runtime selector for preview or validation calls. If supplied with X-CES-Workspace-ID, both values must match.
Request
Optional caller-provided idempotency/message id.
Private, turn-scoped agent orientation for the associated channel message. It is not returned by channel message APIs.