Skip to main content
POST
Create Event

Headers

Authorization
string
required
Example:

"Bearer 123"

Body

application/json

Create an event.

See Creating an Event for more information.

event_name
string
required

Type of the event. Currently, only "llm" is supported.

Allowed value: "llm"
properties
EventProperties · object
required

Event specific properties. For LLM events, this includes the inputs and outputs of the LLM call.

fingerprint_id
string<uuid>
required

The fingerprint of the client that generated the event.

session
string
required

The unique identifier of the session associated with the event.

agent
string | null

The name of the agent associated with the event.

agent_version
string | null

The name of the agent version associated with the event.

person
string | null

The unique identifier of the person associated with the event.

Response

Successful Response