GET
/
session
/
{session_id}

Authorizations

Authorization
string
header
required

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

Path Parameters

session_id
string
required

Response

200 - application/json
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

duration
number

How long the event took in milliseconds

end_time
integer

UTC timestamp (in milliseconds) for the event end

error
string | null

Any error description if event failed

event_id
string

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

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
feedback
object

Any user feedback provided for the event output

inputs
object

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

metadata
object

Any system or application metadata associated with the event

metrics
object

Any values computed over the output of the event

outputs
object

Final output JSON of the event

parent_id
string | null

Id of the parent event if nested

project_id
string

Name of project associated with the event

session_id
string

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

source
string

Source of the event - production, staging, etc

start_time
number

UTC timestamp (in milliseconds) for the event start

user_properties
object

Any user properties associated with the event