Hacker News new | ask | show | jobs
by sanjeevkm 2659 days ago
Small Suggestion

In the `POST /prompt` endpoint provide a way to pass metadata that does not need to be shown to the user, and return that back in the prompt answer object sent in the webhook/callback.

This is helpful in cases, where I want to send some internal transaction or event reference codes that will help me to properly co-relate the answer into my flow.

Best of luck!

1 comments

Thanks for the suggestion! This is on our product roadmap.

One way to track users is also to specify approve/reject redirect urls with random tokens (though we agree that private metadata is more ergonomic in this case).