---
title: "Returns a list of namespaces."
method: GET
path: "/cc/v1/namespaces"
tags: ["Namespaces"]
---

# Returns a list of namespaces.

`GET /cc/v1/namespaces`

Optional extended description in Markdown.

## Query parameters

- `page` integer
- `size` integer

## Response `200`

Detailed namespace and namespace information.

- PageNamespaceList
  - `models` NamespaceResponse[]
    - `id` integer — the id of namespace
    - `namespace` string — the namespace name
    - `platformNamespace` string — the namespace platformNamespace
    - `remarks` string — the remarks of namespace
    - `annotations` object — the annotations of namespace
    - `hard` object — the annotations of namespace
    - `enableFlag` integer — Whether the data is valid
  - `pageNumber` integer
  - `total` integer
  - `pageSize` integer
  - `totalPage` integer

## Other responses

- `401` — Unauthorized
- `404` — url to get allNamespaces not found.

---

[API](https://skmtc.dev/webankfintech/apis/mlss-cc-api.md) · [All operations](https://skmtc.dev/webankfintech/apis/mlss-cc-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/webankfintech/mlss-cc-api/revisions/615a549c16f7/schema)
