Get an Agent's execution status

get/bots/{agentId}/state
Internal-Use Only

Get an Agent's execution status by ID. This endpoint returns a value of either 'idle' or 'running'.

Request Samples

1

Response Samples

1running

Path Parameters

NameTypeRequiredDescription
agentId
string
true

The ID of the Agent

Responses

StatusMeaningDescription
200OKThe request succeeded.Schema
400Bad RequestBad request (the request is not well-formed).Schema
401UnauthorizedNot authenticated.Schema
403ForbiddenThe user does not have permission to complete this request.Schema
404Not FoundThe specified resource was not found.Schema
406Not AcceptableNot Acceptable. Include an Accept header with a supported value on the request.Schema
415Unsupported Media TypeUnsupported Media Type. Include a Content-Type header with a supported value in the request.Schema