Session → Create
AI-generatedSummary
Create a new session associated with a given session ID by specifying a user ID and optional metadata key-value pairs.
Inputs
- Session ID (required) — The unique identifier for the session to be created.
- User ID — User ID associated with the session.
- Metadata — Optional metadata as multiple key-value pairs to associate with the session.
Output shape
a single JSON object representing the newly created session, including its user ID and metadata fields.
Returns the API response for session creation. If multiple input items are processed, returns an array of session objects accordingly.