---
title: "List spaces"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.cloudraker.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List spaces

Path: CloudRaker Paperwork API › Spaces

`GET /v1/spaces`

Lists your organization's spaces, newest first.

`?limit` caps the page (1–200, default 50). There is no cursor — paging is by `limit` only.

`expiresAt` is `null` for a space created outside the API, which has no deadline.

**Learn more:** [Spaces](https://docs.cloudraker.com/paperwork/developers/spaces)

## Authentication

- `bearerAuth`, http, header `Authorization`

## Query parameters

- `limit` (`listApiSpaces.query.limit`; integer, optional)
  - min 1; max 200

## Code samples

### cURL

```bash
curl --request GET \
  --url https://api.cloudraker.com/v1/spaces \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://api.cloudraker.com/v1/spaces';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://api.cloudraker.com/v1/spaces"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
```

## Responses

### 200

The spaces.

#### Example

```json
{
  "object": "list",
  "data": [
    {
      "object": "space",
      "id": "string",
      "name": "string",
      "createdAt": "string",
      "expiresAt": "string"
    }
  ]
}
```

- `object` (`listApiSpaces.response.200.object`; string, required)
- `data` (`listApiSpaces.response.200.data`; array<object>, required)
  - `object` (`listApiSpaces.response.200.data.object`; string, required)
  - `id` (`listApiSpaces.response.200.data.id`; string, required)
  - `name` (`listApiSpaces.response.200.data.name`; string, required)
  - `createdAt` (`listApiSpaces.response.200.data.createdAt`; string, required)
  - `expiresAt` (`listApiSpaces.response.200.data.expiresAt`; string | null, required)

### 400

Validation Error

#### Example

```json
{
  "success": false,
  "error": [
    null
  ],
  "data": null
}
```

- `success` (`listApiSpaces.response.400.success`; boolean, required)
  - one of `false`
- `error` (`listApiSpaces.response.400.error`; array<unknown>, required)
- `data` (`listApiSpaces.response.400.data`; unknown, required)

### 429

Rate limited. The `/v1` API allows at least **67 requests per minute per organization** (about 1,000 requests per 15 minutes) — a guaranteed floor, enforced per edge location, so a geographically spread caller may get more. Wait for the `Retry-After` interval and retry — the error is `retryable`.

#### Example

```json
{
  "code": "rate_limited",
  "message": "string",
  "retryable": true,
  "requestId": "string",
  "docUrl": "string"
}
```

- `code` (`listApiSpaces.response.429.code`; string, required)
  - one of `"rate_limited"`
- `message` (`listApiSpaces.response.429.message`; string, required)
- `retryable` (`listApiSpaces.response.429.retryable`; boolean, required)
  - one of `true`
- `requestId` (`listApiSpaces.response.429.requestId`; string, required)
- `docUrl` (`listApiSpaces.response.429.docUrl`; string, optional)


Source: https://docs.cloudraker.com/paperwork/api/spaces/list-api-spaces/index.md
