---
title: "List namespaces with optional match conditions."
method: POST
path: "/store/namespaces"
tags: ["Store"]
---

# List namespaces with optional match conditions.

`POST /store/namespaces`

## Request body

- StoreListNamespacesRequest
  - `prefix` string[] — Optional list of strings representing the prefix to filter namespaces.
  - `suffix` string[] — Optional list of strings representing the suffix to filter namespaces.
  - `max_depth` integer — Optional integer specifying the maximum depth of namespaces to return.
  - `limit` integer — Maximum number of namespaces to return (default is 100).
  - `offset` integer — Number of namespaces to skip before returning results (default is 0).

## Response `200`

Success

- array[]
  - string[]

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/xpert-ai/apis/agent-protocol.md) · [All operations](https://skmtc.dev/xpert-ai/apis/agent-protocol/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/xpert-ai/agent-protocol/revisions/ac9dbe16ea2f/schema)
