---
title: "List containers at a specific path Path segments are separated by forward slashes Example: /external-services/1/query/containers/mydb lists schemas in database \"mydb\""
method: GET
path: "/external-services/{service_id}/query/containers/{path}"
tags: ["External Services - Query"]
---

# List containers at a specific path Path segments are separated by forward slashes Example: /external-services/1/query/containers/mydb lists schemas in database "mydb"

`GET /external-services/{service_id}/query/containers/{path}`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/external-services/{service_id}/query/containers/{path}`
- Auth: HTTP bearer

## Path parameters

- `service_id` integer, required
- `path` string, required

## Response `200`

List of containers

- ContainerResponse[]
  - `can_contain_containers` boolean, required: Can this container hold other containers?
  - `can_contain_entities` boolean, required: Can this container hold entities (tables, collections, etc.)?
  - `child_container_type` string, nullable: Type of child containers (if can_contain_containers is true)
  - `container_type` string, required: Container type (database, schema, keyspace, bucket, etc.)
  - `entity_count_hint` string, nullable: Hint for UI on expected entity count (small = sidebar, large = pagination)
  - `entity_type_label` string, nullable: Label for entity type (if can_contain_entities is true)
  - `metadata` unknown, required
  - `name` string, required: Container name

## Other responses

- `400`: Path is deeper than this data source's container hierarchy (the container has no child containers; list its entities instead)
- `401`: Unauthorized
- `403`: Insufficient permissions
- `404`: Service or container not found
- `500`: Internal server error

## Changes

- **2026-10-13** `dd766bfd1f06`: 1 info
  - added the non-success response with the status `400`

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/external-services/:service_id/query/containers/:path/get.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
