Usage Reports
Automatically collect usage information.
POST https://api.received.ai/api/usage/event
POST https://api.received.ai/api/usage/event/formatted
POST https://api.received.ai/api/usage/event/update
POST https://api.received.ai/api/usage/event/formatted/update
DELETE https://api.received.ai/api/usage/event/<event_ref>Reporting Customer Usage
Report Default Usage
POST https://api.received.ai/api/usage/event{
"timestamp": "2024-02-06T11:37:38.872Z",
"customer_ref": "eaa65954-9eb7-4246-a96c-7f6bc3aac42f",
"usage_product_ref": "94434ff8-8537-4f72-a5df-a45cca271544",
"quantity": 10,
"additional_report_data": {
"note": "User-specific note"
},
"validations": {
"currency": "USD",
"entity_ref": "27db2a0c-a11f-4b2e-bfab-8032d0a5a7a1"
}
}Response
Schema
Term
Type
Description
Example
Response Schema
Term
Type
Description
Example
Report Formatted Usage
Response
Request Schema
Term
Type
Description
Example
Response Schema
Term
Type
Description
Example
Explore More APIs
Edit Usage Event
Response
Edit Formatted Usage Event
Response
Delete Usage Event
Last updated