v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1494674591.3 KB

Creates a session. A session is a contextual container used for generating recommendations. Amazon Connect creates a new Amazon Q in Connect session for each contact on which Amazon Q in Connect is enabled.

post/assistants/{assistantId}/sessions

Path parameters

assistantIdstring required

The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.

Request body

clientTokenstring

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see <a href="http://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/">Making retries safe with idempotent APIs</a>.

namestring required

The name of the session.

descriptionstring

The description.

tagsobject

The tags used to organize, track, or control access for this resource.

aiAgentConfigurationobject

The configuration of the AI Agents (mapped by AI Agent Type to AI Agent version) that should be used by Amazon Q in Connect for this Session.

contactArnstring

The Amazon Resource Name (ARN) of the email contact in Amazon Connect. Used to retrieve email content and establish session context for AI-powered email assistance.

removeOrchestratorConfigurationListboolean

The list of orchestrator configurations to remove from the session.

Response

Success