Logging
Get all sessions
GET
/
session
Authorization
Query
curl --request GET \
--url https://api.honeyhive.ai/session \
--header 'Authorization: <authorization>'
[
{
"children": [
{}
],
"config": {},
"duration": 123,
"end_time": 123,
"error": "<string>",
"event_id": "<string>",
"event_name": "<string>",
"event_type": "<string>",
"feedback": {},
"inputs": {},
"metadata": {},
"metrics": {},
"outputs": {},
"project": "<string>",
"session_id": "<string>",
"source": "<string>",
"start_time": 123,
"user_properties": {}
}
]
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
project
string
The project to query sessions for
query
object
The query for finding sessions
limit
integer
The maximum number of sessions to return
Response
200 - application/json
children
object[]
Child events
config
object
The configuration of LLM, Tool or other for the event
duration
number
Duration of the event
end_time
number
End time of the event
error
string | null
Error from the event
event_id
string
The ID of the event
event_name
string
The name for the event
event_type
string
The type of the event
feedback
object
Feedback for the event
inputs
object
Inputs to the event
metadata
object
Metadata of the event
metrics
object
Metrics for the event
outputs
object
Outputs of the event
project
string
The project that the event belongs to
session_id
string | null
The ID of the session
source
string
Source of the event
start_time
number
Start time of the event
user_properties
object
User properties of the event
curl --request GET \
--url https://api.honeyhive.ai/session \
--header 'Authorization: <authorization>'
[
{
"children": [
{}
],
"config": {},
"duration": 123,
"end_time": 123,
"error": "<string>",
"event_id": "<string>",
"event_name": "<string>",
"event_type": "<string>",
"feedback": {},
"inputs": {},
"metadata": {},
"metrics": {},
"outputs": {},
"project": "<string>",
"session_id": "<string>",
"source": "<string>",
"start_time": 123,
"user_properties": {}
}
]