Skip to main content
POST
Add traces to a session (deprecated)

Authorizations

Authorization
string
header
required

An Ingestion API Key (values begin with hh_ingst_). Scoped to a single project and accepted only by the ingestion endpoints; every other Data Plane operation refuses it. Create one in the HoneyHive app under the project's Settings → API Keys, on the Ingestion tab.

Path Parameters

session_id
string
required

Session ID to add traces to

Body

application/json

Request body for POST /session/{session_id}/traces (deprecated — use POST /v1/sessions/{session_id}/events/batch). Exactly one of logs (deprecated) or events must be present.

logs
object[]
deprecated

Deprecated: use events instead. Traces to add as raw event objects.

events
object[]

Traces to add as raw event objects. Replaces logs.

Response

Traces added successfully

Response from adding traces to a session

success
boolean
required