---
title: "Cache Get Namespace"
method: POST
path: "/api/v1.cache.namespace.get"
tags: ["Cache"]
---

# Cache Get Namespace

`POST /api/v1.cache.namespace.get`

Get cache namespace

## Request body

- CacheGetNamespaceIn
  - `name` string, required

## Response `200`

- CacheGetNamespaceOut
  - `name` string, required
  - `eviction_policy` 'NoEviction', required
  - `created` integer, required
  - `updated` integer, required

## Other responses

- `400`
- `401`
- `403`
- `422`

## Changes

- **2026-04-13** `e6c44b12ecfb` — 2 breaking
  - the `created` response's property type changed from `string` to `integer`, and format from `date-time` to `uint64` for status `200`
  - the `updated` response's property type changed from `string` to `integer`, and format from `date-time` to `uint64` for status `200`
- **2026-03-31** `f62be26d2a53` — 10 breaking, 5 warning, 4 info
  - the `name` response property's maxLength was unset from `256` for the response status `200`
  - the `name` response property's minLength was decreased from `1` to `0` for the response status `200`
  - the `created` response's property type changed from `integer` to `string`, and format from `uint64` to `date-time` for status `200`
  - the `detail` response's property type changed from `string` to `array` for status `422`
  - …15 more

[Change history](https://skmtc.dev/svix/apis/diom-api/changes/api/v1.cache.namespace.get/post.md)

---

[API](https://skmtc.dev/svix/apis/diom-api.md) · [All operations](https://skmtc.dev/svix/apis/diom-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/svix/diom-api/revisions/418657f4c8b0/schema)
