Skip to Content
Docs

Get the stored log level of an agent by id

GET
/agents/{agentId}/log-level

Authorization

jwt
headerAuthorizationBearer <JWT>

Path Parameters

Header Parameters

Response Body

application/json
  1. response
level*string
Value in"fatal""error""warn""info""debug"
durationMs*number
Example Request
curl -X GET 'https://agents.your-tenant-id.my.contextual.io/api/v1/agents/{agentId}/log-level'
Example Response
{  "level": "fatal",  "durationMs": 0}