Helicone Community Page

Home
Members
Rabeles
R
Rabeles
Offline, last seen 2 months ago
Joined November 6, 2024
Hi, I'm working with Helicone feedback, and when a user leaves a negative rating, I'm adding a custom message. Since there isn't direct support for this yet, I'm utilizing the "after request" custom property where I save that feedback message under the key "feedbackMessage."

However, I'm encountering an issue when trying to retrieve all requests that contain my custom feedback message. The only method I've found involves using a filter, which I don't like since there isn't a direct query option for custom_properties: feedbackMessage is exist or sthm like.

Is there a better way to achieve this, or is the method I'm using currently recommended? Here's how I'm trying to query the data:

curl --request POST \ --url https://api.helicone.ai/v1/request/query \ --header 'Content-Type: application/json' \ --header 'authorization: xxxxxxxxxxxxxx' \ --data '{ "filter": { "job": { "custom_properties": { "feedbackMessage": { "not-contains": "randomvalue" } } } }
}'
6 comments
J
R