---
title: "List the spaces of your company"
method: GET
path: "/projects/spaces"
tags: ["Projects"]
---

# List the spaces of your company

`GET /projects/spaces`

## Request

- Base URL: `https://api.atako.ai`
- URL: `https://api.atako.ai/projects/spaces`
- Auth: HTTP bearer

Every space of the company, empty ones included, ordered by `position` then name. `projectCount` counts non-archived projects. Declared before `/projects/{id}`: `spaces` is not a project id.

## Response `200`

- object
  - `spaces` ProjectSpace[], required
    - `id` string, uuid, required
    - `name` string, required: Unique within the company, case-insensitively.
    - `position` integer, required: Reserved for a manual order (no UI yet). Spaces list by position, then name.
    - `projectCount` integer, required: Non-archived projects in the space.
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required

## Other responses

- `401`: Missing, malformed, or invalid bearer token / API key, or revoked session (SESSION_REVOKED).
- `404`: Not found, or the caller is not authorized to access this resource.

---

[API](https://skmtc.dev/atako/apis/atako-api.md) · [All operations](https://skmtc.dev/atako/apis/atako-api/llms.txt) · [OpenAPI document](https://skmtc.dev/atako/apis/atako-api/revisions/aa555c56fbd7?raw)
