Get the most active robot
GET/analytics/most-active-robot
Retrieve the most active robot based on the number of requests.
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
Most active robot
- application/json
- Schema
- Example (from schema)
Schema
_id uuid
robotName string
totalRequests number
{
"_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"robotName": "string",
"totalRequests": 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...