Skip to content

Get stats of a command request

Request

API to get a aggregrated status for a command request

Security
apiKey
Path
idstringrequired

ID of the command request object

cURL
curl -i -X GET \
  'https://develop-api.esper.io/_mock/openapi/commands/v0/commands/{id}/stats/' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Aggregrated status information for a command request.

Bodyapplication/json
codeinteger
messagestring
contentobject(CommandRequestStats)
Response
{ "code": 0, "message": "string", "content": { "id": "string", "status": [] } }