Skip to main content
GET
/
namespaces
Get user's namespaces or search namespaces
curl --request GET \
  --url https://api.smithery.ai/namespaces \
  --header 'Authorization: Bearer <token>'
{
  "namespaces": [
    {
      "name": "anthropic"
    }
  ],
  "pagination": {
    "currentPage": 0,
    "pageSize": 0,
    "totalPages": 0,
    "totalCount": 0
  }
}

Authorizations

Authorization
string
header
required

Smithery API key as Bearer token

Query Parameters

q
string

Text search query (prefix match on name)

ownerId
string

Filter by owner ID

hasServers
enum<string>

Filter namespaces with servers

Available options:
0,
1,
true,
false
hasSkills
enum<string>

Filter namespaces with skills

Available options:
0,
1,
true,
false
page
integer
Required range: 1 <= x <= 9007199254740991
pageSize
integer
Required range: 1 <= x <= 50
fields
string

Comma-separated list of fields to include in response

Response

Successful response

namespaces
object[]
required
pagination
object
required