---
title: "POST /listRobots"
method: POST
path: "/listRobots"
deprecated: true
---

# POST /listRobots

`POST /listRobots`

> **Deprecated.**

Returns a list of robots. You can optionally provide filters to retrieve specific robots.

This API will no longer be supported as of May 2, 2022. Use it to remove resources that were created for Deployment Service.

## Query parameters

- `maxResults` string
- `nextToken` string

## Request body

- object
  - `nextToken` string — If the previous paginated request did not return all of the remaining results, the response object's <code>nextToken</code> parameter value is set to a token. To retrieve the next set of results, call <code>ListRobots</code> again and assign that token to the request object's <code>nextToken</code> parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.
  - `maxResults` integer — When this parameter is used, <code>ListRobots</code> only returns <code>maxResults</code> results in a single page along with a <code>nextToken</code> response element. The remaining results of the initial request can be seen by sending another <code>ListRobots</code> request with the returned <code>nextToken</code> value. This value can be between 1 and 200. If this parameter is not used, then <code>ListRobots</code> returns up to 200 results and a <code>nextToken</code> value if applicable.
  - `filters` Filter[] — <p>Optional filters to limit results.</p> <p>The filter names <code>status</code> and <code>fleetName</code> are supported. When filtering, you must use the complete value of the filtered item. You can use up to three filters, but they must be for the same named item. For example, if you are looking for items with the status <code>Registered</code> or the status <code>Available</code>.</p>
    - `name` string — The name of the filter.
    - `values` Name[] — A list of values.

## Response `200`

Success

- ListRobotsResponse — Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html.
  - `robots` Robot[] — A list of robots that meet the criteria of the request.
    - `arn` string — The Amazon Resource Name (ARN) of the robot.
    - `name` string — The name of the robot.
    - `fleetArn` string — The Amazon Resource Name (ARN) of the fleet.
    - `status` 'Available' | 'Registered' | 'PendingNewDeployment' | 'Deploying' | 'Failed' | 'InSync' | 'NoResponse' — The status of the robot.
    - `greenGrassGroupId` string — The Greengrass group associated with the robot.
    - `createdAt` string, date-time — The time, in milliseconds since the epoch, when the robot was created.
    - `architecture` 'X86_64' | 'ARM64' | 'ARMHF' — The architecture of the robot.
    - `lastDeploymentJob` string — The Amazon Resource Name (ARN) of the last deployment job.
    - `lastDeploymentTime` string, date-time — The time of the last deployment.
  - `nextToken` string — If the previous paginated request did not return all of the remaining results, the response object's <code>nextToken</code> parameter value is set to a token. To retrieve the next set of results, call <code>ListRobots</code> again and assign that token to the request object's <code>nextToken</code> parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.

## Other responses

- `480` — ResourceNotFoundException
- `481` — InvalidParameterException
- `482` — InternalServerException
- `483` — ThrottlingException

---

[API](https://skmtc.net/aws/apis/robomaker.md) · [All operations](https://skmtc.net/aws/apis/robomaker/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/robomaker/versions/a6f68d7d4866/schema)
