POST
/
public
/
v2
/
capture
/
session

Authorizations

Authorization
string
headerrequired

Body

application/json

Represents a request to capture a session.

Attributes: type (Literal[IngestionType.OpenSession]): The type of ingestion, set to IngestionType.OpenSession. body (OpenSessionBody): The body of the open session request.

type
enum<string>
default: capture-session
Available options:
capture-session
body
object
required

Represents the request body for capturing a session.

Attributes: user_id (str): The unique identifier for the user. session_id (str): The unique identifier for the session data. metadata (Optional[Dict[str, str]]): Additional metadata associated with the session. Optional. created_at (Optional[str]): The datetime when the session was opened. Optional.

Response

200 - application/json

The response is of type any.