Get robot requests
GET/analytics/robot-requests
Retrieve robot requests within a date range.
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 within date range
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
list object[]
_id date-time
t number
s number
granularity string
Possible values: [day, month, hour, minute]
{
"list": [
{
"_id": "2024-12-03T13:25:44.998Z",
"t": 0,
"s": 0
}
],
"granularity": "day"
}
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...