Events
Update an event
- Knowledge
- Community
- GETRetrieve a list of configurations
- POSTCreate a new configuration
- PUTUpdate an existing configuration
- DELDelete a configuration
- GETRetrieve a list of datapoints
- PUTUpdate a specific datapoint
- POSTCreate a new datapoint
- GETRetrieve a specific datapoint
- DELDelete a specific datapoint
Configurations
Datapoints
Events
Update an event
curl --request PUT \
--url https://api.honeyhive.ai/events \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"event_id": "7f22137a-6911-4ed3-bc36-110f1dde6b66",
"metadata": {
"cost": 0.00008,
"completion_tokens": 23,
"prompt_tokens": 35,
"total_tokens": 58
},
"feedback": {
"rating": 5
},
"metrics": {
"num_words": 2
},
"outputs": {
"role": "assistant",
"content": "Hello world"
}
}'
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
event_id
string
requiredmetadata
object
feedback
object
metrics
object
outputs
object
curl --request PUT \
--url https://api.honeyhive.ai/events \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"event_id": "7f22137a-6911-4ed3-bc36-110f1dde6b66",
"metadata": {
"cost": 0.00008,
"completion_tokens": 23,
"prompt_tokens": 35,
"total_tokens": 58
},
"feedback": {
"rating": 5
},
"metrics": {
"num_words": 2
},
"outputs": {
"role": "assistant",
"content": "Hello world"
}
}'