---
title: "Subspaces queries for all registered subspaces and all keys for a subspace."
method: GET
path: "/cosmos/params/v1beta1/subspaces"
tags: ["Query"]
---

# Subspaces queries for all registered subspaces and all keys for a subspace.

`GET /cosmos/params/v1beta1/subspaces`

## Response `200`

A successful response.

- CosmosParamsV1beta1QuerySubspacesResponse — QuerySubspacesResponse defines the response types for querying for all registered subspaces and all keys for a subspace.
  - `subspaces` CosmosParamsV1beta1Subspace[]
    - `keys` string[]
    - `subspace` string

## Other responses

- `default` — An unexpected error response.

## Changes

- **2025-05-21** `3874a03b0e7b` — 1 info
  - api operation id `UpgradeQuery_Subspaces` removed and replaced with `EvidenceQuery_Subspaces`
- **2025-05-09** `8dbfaa2bebb2` — 1 info
  - api operation id `CircuitQuery_Subspaces` removed and replaced with `UpgradeQuery_Subspaces`
- **2025-04-08** `21a675703a05` — 1 info
  - api operation id `AuthQuery_Subspaces` removed and replaced with `CircuitQuery_Subspaces`
- **2025-03-27** `4f349536c8f3` — 1 info
  - api operation id `FeegrantQuery_Subspaces` removed and replaced with `AuthQuery_Subspaces`
- **2025-02-24** `2ab9d24288c2` — 1 info
  - api operation id `CircuitQuery_Subspaces` removed and replaced with `FeegrantQuery_Subspaces`

[Full history](https://skmtc.dev/pokt-network/apis/http-api-console/changes/cosmos/params/v1beta1/subspaces/get.md)

---

[API](https://skmtc.dev/pokt-network/apis/http-api-console.md) · [All operations](https://skmtc.dev/pokt-network/apis/http-api-console/llms.txt) · [OpenAPI document](https://skmtc.dev/pokt-network/apis/http-api-console/revisions/671fab54b729?raw)
