Get robot requests and success rate
GET/analytics/success-rate
Retrieve the total number of robot requests and the success rate.
Request
Query Parameters
startDate date
The start date for the date range filter.
endDate date
The end date for the date range filter.
Responses
- 200
- 400
- 500
Robot requests and success rate
- application/json
- Schema
- Example (from schema)
Schema
totalRequests number
successfulRequests number
successRate number
{
"totalRequests": 0,
"successfulRequests": 0,
"successRate": 0
}
Bad Request due to validation errors in the request body
- application/json
- Schema
- Example (from schema)
- Example
Schema
- any
{
"message": "Validation failed.",
"errors": [
{
"field": "name",
"message": "Name is required."
},
{
"field": "email",
"message": "Email must be a valid email address."
}
]
}
{
"message": "Validation failed.",
"errors": [
{
"field": "name",
"message": "Name is required."
},
{
"field": "email",
"message": "Email must be a valid email address."
}
]
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
- Example
Schema
- any
{
"message": "Internal Server Error. Please try again later."
}
{
"message": "Internal Server Error. Please try again later."
}
Loading...