POST
/
event-ingestion
/
api
/
v2
/
events
/
trace_interaction
curl --request POST \
  --url https://backend.nebuly.com/event-ingestion/api/v2/events/trace_interaction \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "interaction": {
    "conversation_id": "<string>",
    "input": "<string>",
    "output": "<string>",
    "time_start": "<string>",
    "time_end": "<string>",
    "end_user": "<string>",
    "tags": {},
    "feature_flag": [
      "<string>"
    ]
  },
  "traces": [
    {
      "model": "<string>",
      "messages": [
        {}
      ],
      "output": "<string>",
      "input_tokens": 123,
      "output_tokens": 123,
      "source": "<string>",
      "input": "<string>",
      "outputs": [
        "<string>"
      ]
    }
  ],
  "anonymize": true
}'
interaction
object
required

The interaction to send to the nebuly platform.

traces
object[]
required

The full trace of your LLM agent or chain.

anonymize
boolean
default:
"true"

Boolean flag to anonymize your data