GET/schemas/{schema}/objects/{object}get_object_details
Return DDL, column metadata, indexes, and dependencies for a schema-qualified object.
Parameters
| Name | In | Required | Description |
|---|
| schema | path | Yes | Schema that owns the object. |
| object | path | Yes | Name of the object to inspect. |
| include_stats | query | No | When true, include planner statistics and index usage details where available. |
Responses
| Status | Description |
|---|
| 200 | Detailed metadata for the requested object. |
| 400 | The request payload or parameters were invalid. |
| 401 | Authentication failed or connection string could not be used. |
| 500 | Unexpected error while communicating with Postgres. |