---
title: "Get detailed information about an entity (table schema)"
method: GET
path: "/external-services/{service_id}/query/containers/{path}/entities/{entity}"
tags: ["External Services - Query"]
---

# Get detailed information about an entity (table schema)

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

## 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}/entities/{entity}`
- Auth: HTTP bearer

## Path parameters

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

## Response `200`

Entity details

- EntityInfoResponse
  - `container_path` string[], required: Full container path
  - `entity` string, required: Entity name
  - `entity_type` string, required: Entity type
  - `fields` FieldResponse[], required: Field definitions
    - `field_type` string, required: Field type (Int32, String, Timestamp, etc.)
    - `name` string, required: Field name
    - `nullable` boolean, required: Whether the field is nullable
  - `metadata` unknown
  - `row_count` integer, nullable: Approximate row count (for tables/collections)
  - `size_bytes` integer, nullable: Size in bytes (for objects/files)
  - `sort_schema` unknown

## Other responses

- `400`: Path is not a valid container for this data source
- `401`: Unauthorized
- `403`: Insufficient permissions
- `404`: Service, container, or entity 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/entities/:entity/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)
