curl --request GET \
  --url https://api.honeyhive.ai/session/{session_id} \
  --header 'Authorization: Bearer <token>'
{
  "children_ids": [
    "<string>"
  ],
  "config": {},
  "duration": 123,
  "end_time": 123,
  "error": "<string>",
  "event_id": "<string>",
  "event_name": "<string>",
  "event_type": "model",
  "feedback": {},
  "inputs": {},
  "metadata": {},
  "metrics": {},
  "outputs": {},
  "parent_id": "<string>",
  "project": "<string>",
  "session_id": "<string>",
  "source": "<string>",
  "start_time": 123,
  "user_properties": {}
}

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
children_ids
string[]

Id of events that are nested within the event

config
object

Associated configuration for the event - model, provider, etc

duration
number

How long the event took in milliseconds

end_time
integer

UTC timestamp (in milliseconds) for the event end

error
string

Any error description if the 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 "model", "tool", "session" or "chain" type

Available options:
model,
tool,
chain,
session
feedback
object

Any user feedback provided for the event output

inputs
object

Input object passed to the event - user query, text blob, 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 of the event - completion, chunks, etc

parent_id
string

Id of the parent event if nested

project
string

Project associated with the event

session_id
string

Unique id of the session associated with the event

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