Send results by webhook
Seven fields of each result you send. Workflow, outcome type, success, quantity, time. Reference and trace id. Never any other field: it is dropped.
Access
- Kind
- A key we issue; your side sends
- What to give
- A secret token we issue, sent in a header
- Why that one
- Your call or chat platform posts each result to the address, with the token in the Authorization header. There is no key of yours to hand over.
What it attributes on its own
- From the source
- each result, its workflow and its kind; whether it succeeded, as your platform says; when it happened, and how many it counts; its own cost, where it carries the trace id of its AI calls
- Needs a rule or a trace
- the AI spend for each result: it comes from your model or gateway source, matched by workflow; what a success is worth, which you set on Outcomes
Connecting it
- Create the token. Copy the token. It shows once, and anyone with it can send results.
- Send your results. In your platform, POST each result to the address with the token in the header.
- Send, then check. Each delivery shows what was stored, or why it was refused.