v9

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-0122134244.7 KB

Create Session

post/apps/{app_name}/users/{user_id}/sessions

Path parameters

app_namestring required
user_idstring required

Request body

sessionIdstring nullable

The ID of the session to create. If not provided, a random session ID will be generated.

stateobject nullable

The initial state of the session.

Response

Successful Response

idstring required

Unique identifier of the session.

appNamestring required

Application name that owns the session.

userIdstring required

User ID that owns the session.

stateobject

Current persisted session state.

lastUpdateTimenumber

Unix timestamp in seconds for the most recent session update.