cURL
curl --request POST \ --url https://api.honeyhive.ai/v1/events/export \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "project": "<string>", "filters": [ { "field": "<string>", "operator": "exists", "value": "<string>", "type": "string" } ], "dateRange": { "$gte": "<string>", "$lte": "<string>" }, "projections": [ "<string>" ], "limit": 123, "page": 123 } '
{ "events": [ { "project": "<string>", "project_id": "<string>", "source": "<string>", "event_name": "<string>", "event_type": "model", "event_id": "<string>", "session_id": "<string>", "parent_id": "<string>", "children_ids": [ "<string>" ], "config": {}, "inputs": {}, "outputs": {}, "error": "<string>", "start_time": 123, "end_time": 123, "duration": 123, "metadata": {}, "feedback": {}, "metrics": {}, "user_properties": {} } ], "totalEvents": 123 }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Request body for GET /events legacy endpoint
Name of the project
Array of filter conditions
Show child attributes
Fields to include in the response
Limit number of results (default 1000, max 7500)
Page number of results (default 1)
Success
Response for GET /events legacy endpoint
Was this page helpful?