Skip to main content

Robots Management

APIs for listing and retrieving details about robots.


List Robots

Retrieves all robots in the organization along with their online status.

Endpoint

GET /robots

Request Headers

{
"authorization": "bearer <access_token>"
}

Response Example

{
"robotDataList": [
{
"basicData": { "id": "11111111-2122-1122-2233-555555319861", "name": "AMR-01" },
"isOnline": true
},
{
"basicData": { "id": "11111111-2122-1122-2233-555555319862", "name": "AMR-02" },
"isOnline": false
}
]
}

Get Robot Details

Retrieves full details for a specific robot by its ID.

Endpoint

GET /robots/{robotId}

Request Headers

{
"authorization": "bearer <access_token>"
}

Path Parameters

  • robotId (string): The unique identifier of the robot.

Response Fields

FieldTypeDescription
robotDataobjectBasic robot data and online status
fleetNamestringName of the fleet the robot belongs to
organizationNamestringName of the organization
lastTimeSeendatetimeLast time the robot was online (UTC)
membersobjectOrganization admins and shared users with permissions
configurationInformationobjectActive configuration name and version
agentVersionstringCurrent agent version running on the robot
latestAgentVersionstringLatest available agent version

Response Example

{
"robotData": {
"basicData": {
"id": "11111111-2122-1122-2233-555555319864",
"name": "AMR-Qualcomm-RB5"
},
"isOnline": false
},
"fleetName": "Warehouse-Floor-A",
"organizationName": "Cogniteam",
"lastTimeSeen": "2024-09-29T13:07:27.211444Z",
"members": {
"orgAdmins": {
"orgAdmins": ["admin@cogniteam.com"]
},
"sharedUsers": {
"userPermissions": [
{ "userId": "user@cogniteam.com", "permissionType": 1 }
]
}
},
"configurationInformation": {
"name": "default-config",
"version": "1.0.8"
},
"agentVersion": "5.4.0.17",
"latestAgentVersion": "5.4.0.19"
}
note

lastTimeSeen returns "0001-01-01T00:00:00Z" when the robot has never connected to the platform.

User Permission Types

ValueRole
0None
1Operator
2Developer
3Admin