Skip to main content
POST
/
events
Create a new event (deprecated)
curl --request POST \
  --url https://api.dp1.us.honeyhive.ai/events \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "event": {
    "event_type": "model",
    "inputs": {},
    "project": "<string>",
    "project_id": "<string>",
    "source": "<string>",
    "event_name": "<string>",
    "event_id": "<string>",
    "session_id": "<string>",
    "parent_id": "<string>",
    "children_ids": [
      "<string>"
    ],
    "config": {},
    "outputs": {},
    "error": "<string>",
    "start_time": 123,
    "end_time": 123,
    "duration": 123,
    "metadata": {},
    "feedback": {},
    "metrics": {},
    "user_properties": {}
  }
}
'
{
  "event_id": "7f22137a-6911-4ed3-bc36-110f1dde6b66",
  "success": true
}

Documentation Index

Fetch the complete documentation index at: https://docs.honeyhive.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

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

Body

application/json

Request body for POST /events (deprecated — use POST /v1/events)

event
object
required

Full event object for legacy event creation endpoints

Response

Event created successfully

Response after creating an event

success
boolean
required
event_id
string
required