curl --request POST \
--url https://backend.nebuly.com/event-ingestion/api/v2/events/interactions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"interaction": {
"conversation_id": "<string>",
"output": "<string>",
"time_start": "<string>",
"time_end": "<string>",
"messages": [
{}
],
"end_user": "<string>",
"rag_sources": [
"<string>"
],
"model": "<string>",
"tags": {},
"feature_flag": [
"<string>"
],
"feedback_actions": [
{}
]
},
"anonymize": true
}'
curl --request POST \
--url https://backend.nebuly.com/event-ingestion/api/v2/events/interactions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"interaction": {
"conversation_id": "<string>",
"output": "<string>",
"time_start": "<string>",
"time_end": "<string>",
"messages": [
{}
],
"end_user": "<string>",
"rag_sources": [
"<string>"
],
"model": "<string>",
"tags": {},
"feature_flag": [
"<string>"
],
"feedback_actions": [
{}
]
},
"anonymize": true
}'
Show properties
ISO 8601
.Example: 2023-12-07T15:00:00.000Z
ISO 8601
.Example: 2023-12-07T15:00:10.000Z
role
: the role of who is sending the message. Possible values are: system, user, assistant, tool.content
: the content of the message."messages": [
{
"role": "system",
"content": "This is a system prompt"
},
{
"role": "user",
"content": "What's the weather like in Turin?"
},
{
"role": "assistant",
"content": "The weather is currently rainy in Turin."
},
{
"role": "user",
"content": "What's the weather like in Rome?"
}
]
{"version" => "v1.0.0"}
. You have the flexibility to define custom tags, making them available as potential filters on the Nebuly platform.slug
: (string) – the type of action. Accepted values include:
thumbs_up
thumbs_down
copy_input
copy_output
paste
comment
regenerate
edit
rating
text
: (string, optional) – textual feedback associated with the action (if applicable).value
: (number, optional) – only used for the rating
action to capture a numerical score."feedback_actions": [
{
"slug": "thumbs_up",
"text": "Very helpful response!"
},
{
"slug": "comment",
"text": "Can you explain more about this?"
},
{
"slug": "rating",
"value": 4,
"text": "Pretty good!"
},
{
"slug": "regenerate"
}
]