v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-141610169.0 KB

Creates a new session context within a workflow run to manage conversation state and acts.

put/workflow-definitions/{workflowDefinitionName}/workflow-runs/{workflowRunId}/sessions

Path parameters

workflowDefinitionNamestring required

The name of the workflow definition containing the workflow run.

workflowRunIdstring required

The unique identifier of the workflow run to create the session in.

Request body

clientTokenstring

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

Response

Success

sessionIdstring required

The unique identifier for the created session.