Agent Management
Get device code status
Changed onCheck the status of a device code. Use this to poll for agent installation completion after creating an agent.
post/agents/device-codes/status
Request
- Base URLhttps://api.lightspark.com/grid/2025-10-13
- URLhttps://api.lightspark.com/grid/2025-10-13/agents/device-codes/status
- AuthHTTP basic
Request body
Example request
{
"code": "jqzJR3AgI9OAwb_enypARw"
}Response
Successful operation
Example response
{
"code": "jqzJR3AgI9OAwb_enypARw",
"status": "PENDING"
}Changes
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- info
- warning
added the new
CORRIDOR_UNDER_MAINTENANCEenum value to theresponse property for the response status
- warning