# List servers

```http
GET /servers
```

List servers: REST lists your servers, or one project's with project\_reference; GraphQL and MCP list the servers of one project.

## Parameters

| Name                | In    | Required | Description                                                                |
| ------------------- | ----- | -------- | -------------------------------------------------------------------------- |
| `cursor`            | query |          | Opaque cursor pointing at the next page. Omit it to read the first page.   |
| `limit`             | query |          | Items per page                                                             |
| `sort_by`           | query |          | Sort field. Defaults to "created\_at". The "name" field sorts by hostname. |
| `sort_order`        | query |          | Sort order. Defaults to "desc".                                            |
| `project_reference` | query |          |                                                                            |

## Responses

| Status | Description                                                                                                              |
| ------ | ------------------------------------------------------------------------------------------------------------------------ |
| 200    | One page of the servers you own, or of the project’s servers                                                             |
| 400    | Invalid pagination or sorting options. With project\_reference, also a cursor outside the project’s current server list. |
| 401    | Unauthorized                                                                                                             |
| 403    | API-key read scope denied; with project\_reference, also project access denied                                           |
| 404    | With project\_reference: project not found                                                                               |
| 500    | Server error                                                                                                             |
