superagent icon indicating copy to clipboard operation
superagent copied to clipboard

Webhooks

Open homanp opened this issue 2 years ago • 2 comments

⚠️ Please check that this feature request hasn't been suggested before.

  • [X] I searched previous Ideas in Discussions didn't find any similar feature requests.
  • [X] I searched previous Issues didn't find any similar feature requests.

🔖 Feature description

Sometimes queries take a long time to execute. When that happens it would be nice to offer webhooks for more flexible DX.

📝 Additional Context

No response

Acknowledgements

  • [X] My issue title is concise and descriptive.
  • [X] I have searched the existing issues to make sure this feature has not been requested yet.
  • [X] I have provided enough information for the maintainers to understand and evaluate this request.

homanp avatar May 29 '23 22:05 homanp

@homanp - Does DX standfor Digital Experience? Are you thinking of once a query is complete, it sends a notification somewhere with response, a complete notice?

yusofy avatar Jul 01 '23 01:07 yusofy

@homanp - Does DX standfor Digital Experience? Are you thinking of once a query is complete, it sends a notification somewhere with response, a complete notice?

I'm thinking the user passes in a callback url when they create an Agent. Every time a query to the /predict endpoint is done that url will receive a POST request.

DX = Developer Experience

homanp avatar Jul 01 '23 06:07 homanp