---
title: "Retrieve Current Space"
method: GET
path: "/v2/cdn/spaces/me"
tags: ["Spaces"]
---

# Retrieve Current Space

`GET /v2/cdn/spaces/me`

## Request

- Base URL: `https://api.storyblok.com`
- URL: `https://api.storyblok.com/v2/cdn/spaces/me`
- Auth: API key in query parameter `token`
- TypeScript: <https://skmtc.dev/storyblok/apis/storyblok-content-delivery-api/docs/v2/cdn/spaces/me/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve information about the current Storyblok space including cache version, domain, and language configuration.

## Query parameters

- `version` 'draft' | 'published'
- `token` string, required

## Response `200`

Space returned

- object
  - `space` Space, required
    - `id` integer, required: Space ID.
    - `name` string, required: Space name.
    - `domain` string, required: Domain associated with the space (configured under **Visual Editor** → **Location**).
    - `version` integer, required: Cached version Unix timestamp. Learn more in the [Caching concept](https://www.storyblok.com/docs/concepts/caching).
    - `language_codes` string[], required: An array of language codes configured in the space.

## Other responses

- `401`: Unauthorized

---

[API](https://skmtc.dev/storyblok/apis/storyblok-content-delivery-api.md) - [All operations](https://skmtc.dev/storyblok/apis/storyblok-content-delivery-api/llms.txt) - [OpenAPI document](https://skmtc.dev/storyblok/apis/storyblok-content-delivery-api/revisions/6981ed842964?raw)
