Skip to content
Hexel StudioDocs

Send my session message

POST/titan/user/sessions/{id}/messages

Queue a message for the caller's own durable session (active or idle; SESSION_NOT_ACTIVE otherwise): its SHA-256 and size only, at most 64 KiB; the app writes the text to the session's content store. Idempotent per op_id (the same op_id with other content is OP_ID_CONFLICT); at most 32 waiting (RATE_LIMITED). NOT_FOUND also unless the workspace's enforced session profile allows remote_steering. Authorized by the user access token of the person the durable sessions act for; NOT_FOUND unless person sessions is on.

Path parameters

idstring

Headers

Bearer <token>. The person's user-route token: a user access token from the deployment's identity provider for an audience only the person routes accept, carrying their use claim. The Gateway verifies it; the edge does not. A session's token is refused here, and a user-route token is refused as a session's. Served only while the deployment turns the person routes on; NOT_FOUND otherwise.

Body parameters

Returns

200Successful response; exact status varies by operation.object

messageobject
replayedboolean

Errors

  • defaultRejected request.