---
title: "Get a space"
---

> 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.

# Get a space

Path: CloudRaker Paperwork API › Spaces

`GET /v1/spaces/{spaceId}`

Returns a space and when it expires.

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

## Authentication

- `bearerAuth`, http, header `Authorization`

## Path parameters

- `spaceId` (`getApiSpace.path.spaceId`; string, required)
  - minLength 1

## Code samples

### cURL

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

### TypeScript

```typescript
const url = 'https://api.cloudraker.com/v1/spaces/<spaceId>';
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/<spaceId>"

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

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

print(response.text)
```

## Responses

### 200

The space.

#### Example

```json
{
  "object": "space",
  "id": "string",
  "name": "string",
  "createdAt": "string",
  "expiresAt": "string"
}
```

- `object` (`getApiSpace.response.200.object`; string, required)
- `id` (`getApiSpace.response.200.id`; string, required)
- `name` (`getApiSpace.response.200.name`; string, required)
- `createdAt` (`getApiSpace.response.200.createdAt`; string, required)
- `expiresAt` (`getApiSpace.response.200.expiresAt`; string | null, required)

### 400

Validation Error

#### Example

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

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

### 404

Unknown, archived or expired space.

### 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` (`getApiSpace.response.429.code`; string, required)
  - one of `"rate_limited"`
- `message` (`getApiSpace.response.429.message`; string, required)
- `retryable` (`getApiSpace.response.429.retryable`; boolean, required)
  - one of `true`
- `requestId` (`getApiSpace.response.429.requestId`; string, required)
- `docUrl` (`getApiSpace.response.429.docUrl`; string, optional)


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