---
title: "Landing dashboard for the current user"
---

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

# Landing dashboard for the current user

Path: CloudRaker Workspace API › Home

`GET /home`

Aggregates the landing dashboard for the authenticated caller in one read. Authorization: any authenticated organization member — organization administrators see the whole organization; every other caller sees only what lies inside the spaces they hold `space:read` on. Returns `summary` (`pendingApprovals`, `runsInProgress`, `doneToday` counts), `pendingApprovals` (up to 20 approvals the caller owes, newest first, read from `inbox_items` — the same rows and the same `id` as `GET /api/workspace/inbox`), `activity` (the latest 30 activity events, newest first — `type` is an open string), and `recentSpaces` (up to 6 non-archived spaces, most recently updated first). `doneToday` counts completed activity since UTC midnight.

## Authentication

- `bearerAuth`, http, header `Authorization`

## Code samples

### cURL

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

### TypeScript

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

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

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

print(response.text)
```

## Responses

### 200

The caller’s dashboard.

#### Example

```json
{
  "summary": {
    "pendingApprovals": -9007199254740991,
    "runsInProgress": -9007199254740991,
    "doneToday": -9007199254740991
  },
  "pendingApprovals": [
    {
      "id": "string",
      "spaceId": "string",
      "sessionId": "string",
      "title": "string",
      "status": "open",
      "createdAt": "string",
      "unread": true
    }
  ],
  "activity": [
    {
      "id": "string",
      "type": "string",
      "spaceId": "string",
      "actor": {
        "userId": "string"
      },
      "resource": {
        "type": "string",
        "id": "string",
        "name": "string"
      },
      "status": "string",
      "createdAt": "string"
    }
  ],
  "recentSpaces": [
    {
      "id": "string",
      "title": "string",
      "spaceType": "string",
      "updatedAt": "string"
    }
  ]
}
```

- `summary` (`getHome.response.200.summary`; object, required)
  - `pendingApprovals` (`getHome.response.200.summary.pendingApprovals`; integer, required)
    - min -9007199254740991; max 9007199254740991
  - `runsInProgress` (`getHome.response.200.summary.runsInProgress`; integer, required)
    - min -9007199254740991; max 9007199254740991
  - `doneToday` (`getHome.response.200.summary.doneToday`; integer, required)
    - min -9007199254740991; max 9007199254740991
- `pendingApprovals` (`getHome.response.200.pendingApprovals`; array<object>, required)
  - `id` (`getHome.response.200.pendingApprovals.id`; string, required)
  - `spaceId` (`getHome.response.200.pendingApprovals.spaceId`; string, required)
  - `sessionId` (`getHome.response.200.pendingApprovals.sessionId`; string | null, required)
  - `title` (`getHome.response.200.pendingApprovals.title`; string, required)
  - `status` (`getHome.response.200.pendingApprovals.status`; string, required)
    - one of `"open"`, `"read"`, `"done"`
  - `createdAt` (`getHome.response.200.pendingApprovals.createdAt`; string, required)
  - `unread` (`getHome.response.200.pendingApprovals.unread`; boolean, required)
- `activity` (`getHome.response.200.activity`; array<object>, required)
  - `id` (`getHome.response.200.activity.id`; string, required)
  - `type` (`getHome.response.200.activity.type`; string, required)
  - `spaceId` (`getHome.response.200.activity.spaceId`; string | null, required)
  - `actor` (`getHome.response.200.activity.actor`; object, required)
    - `userId` (`getHome.response.200.activity.actor.userId`; string, optional)
  - `createdAt` (`getHome.response.200.activity.createdAt`; string, required)
  - `resource` (`getHome.response.200.activity.resource`; object, optional)
    - `type` (`getHome.response.200.activity.resource.type`; string, optional)
    - `id` (`getHome.response.200.activity.resource.id`; string, optional)
    - `name` (`getHome.response.200.activity.resource.name`; string, optional)
  - `status` (`getHome.response.200.activity.status`; string, optional)
- `recentSpaces` (`getHome.response.200.recentSpaces`; array<object>, required)
  - `id` (`getHome.response.200.recentSpaces.id`; string, required)
  - `title` (`getHome.response.200.recentSpaces.title`; string, required)
  - `spaceType` (`getHome.response.200.recentSpaces.spaceType`; string, required)
  - `updatedAt` (`getHome.response.200.recentSpaces.updatedAt`; string, required)


Source: https://docs.cloudraker.com/workspace/api/home/get-home/index.md
