GET
/
session
/
{session_id}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

session_id
string
required

Response

200 - application/json
project_id
string

Name of project associated with the event

source
string

Source of the event - production, staging, etc

event_name
string

Name of the event

event_type
enum<string>

Specify whether the event is of "session", "model", "tool" or "chain" type

Available options:
session,
model,
tool,
chain
event_id
string

Unique id of the event, if not set, it will be auto-generated

session_id
string

Unique id of the session associated with the event, if not set, it will be auto-generated

parent_id
string | null

Id of the parent event if nested

children_ids
string[]

Id of events that are nested within the event

config
object

Associated configuration JSON for the event - model name, vector index name, etc

inputs
object

Input JSON given to the event - prompt, chunks, etc

outputs
object

Final output JSON of the event

error
string | null

Any error description if event failed

start_time
number

UTC timestamp (in milliseconds) for the event start

end_time
integer

UTC timestamp (in milliseconds) for the event end

duration
number

How long the event took in milliseconds

metadata
object

Any system or application metadata associated with the event

feedback
object

Any user feedback provided for the event output

metrics
object

Any values computed over the output of the event

user_properties
object

Any user properties associated with the event