Namespace
List reachable namespaces
Return a cursor-paginated page of namespaces the actor can reach. A namespace is reachable when the actor has namespace.read on it or can read at least one descendant. Organization stubs are included without requiring organization.read.
get/v1/namespaces
Query parameters
page_sizeinteger
Maximum number of items to return.
page_tokenstring
Opaque continuation token from a previous page_info.next_page_token.
Response
OK
Example response
{
"items": [
{
"id": "9bsv0s46s6s002p9ltq0",
"name": "Engineering",
"description": "Engineering team namespace",
"project_count": 4,
"document_count": 8,
"organization": {
"id": "9bsv0s46s6s002p9ltq0",
"name": "ACME Inc."
}
}
]
}