POST /report
Submit a witness report containing belief values about a target node’s liveness. The oracle uses these reports to aggregate and determine the overall status of nodes in the system.Request Body
The ID of the witness node submitting the report
The ID of the target node being reported on
Confidence score that the target is alive (0.0 to 1.0)
Confidence score that the target is dead (0.0 to 1.0)
Confidence score representing uncertainty (0.0 to 1.0)
Request Example
Response
Status of the report submission (“accepted”)
Response Example
Error Codes
- Invalid JSON in request body
- Invalid belief values (must sum to 1.0 and be between 0.0 and 1.0)
Request method is not POST
cURL Example
Notes
- The three belief values (alive, dead, unknown) must sum to 1.0
- Each belief value must be between 0.0 and 1.0
- The report is accepted asynchronously with a 202 status code