invariance_receipt_batch
Record multiple external receipts in a single API call to send observability data from sources like Stripe, Zendesk, or custom webhooks. Requires an AGENT API key for batch ingestion.
Instructions
Record many external receipts in one call. Requires an AGENT API key (operator tokens get 403).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| receipts | Yes | JSON array of CreateExternalReceiptRequest objects. Each element: CreateExternalReceiptRequest as a JSON object string. Required: source ("stripe|zendesk|salesforce|hubspot|slack|linear|jira|webhook|jsonl|csv|custom"), kind (string). Optional: run_id, node_id, external_id, occurred_at, business_object_type, business_object_id, subject_type, subject_id (strings), correlation_keys ({customer_id,ticket_id,refund_id,...}), payload, metadata (objects). Example: {"source":"stripe","kind":"refund.created","external_id":"re_1","correlation_keys":{"charge_id":"ch_1"},"payload":{"amount":500}} |