Skip to main content
GetEventResponse = object

Description

Response for GET /events/:event_id — single event payload

Properties

event

event: object & object

Type Declaration

children_ids?
optional children_ids?: string[]
Description
Child event IDs in the trace hierarchy
config?
optional config?: object
Index Signature
[key: string]: unknown
Description
Configuration used for this event
duration?
optional duration?: number
Description
Event duration in milliseconds
end_time?
optional end_time?: number
Description
Event end time as Unix milliseconds
error?
optional error?: string | null
Description
Error message if the event failed
event_id
event_id: string
event_name?
optional event_name?: string
Description
Name of the event
event_type?
optional event_type?: "model" | "tool" | "chain" | "session"
Description
Type of event (model, tool, chain, or session)
feedback?
optional feedback?: object
Index Signature
[key: string]: unknown
Description
Feedback data associated with the event
inputs?
optional inputs?: object
Index Signature
[key: string]: unknown
Description
Input data for the event
metadata?
optional metadata?: object
Index Signature
[key: string]: unknown
Description
Arbitrary metadata for the event
metrics?
optional metrics?: object
Index Signature
[key: string]: unknown
Description
Metric values computed for the event
outputs?
optional outputs?: object
Index Signature
[key: string]: unknown
Description
Output data from the event
parent_id?
optional parent_id?: string
Description
Parent event ID in the trace hierarchy
project?
optional project?: string
Deprecated
Description
Project name (ignored by server — project is determined from API key scope)
project_id?
optional project_id?: string
Description
Project ID
session_id?
optional session_id?: string
Description
Session this event belongs to
source?
optional source?: string
Description
Source of the event (e.g., sdk-python)
start_time?
optional start_time?: number
Description
Event start time as Unix milliseconds
user_properties?
optional user_properties?: object
Index Signature
[key: string]: unknown
Description
User properties associated with the event