Get Schema
Returns a single schema on a connection.
The schema is returned from the connection's cached schema set. If the
upstream source has changed since the last inspection, the result may be
stale.
> π Trigger [`POST /api/connections/{id}/schemas/refresh`](../../../../../api-reference/schemas/refresh)
> and wait for it to complete before fetching this endpoint if you need
> up-to-date field definitions.
Authentication
AuthorizationBasic
This is the Polytomic deployment key (on-premises only)
OR
AuthorizationBearer
This is the Polytomic API key
Path parameters
id
Unique identifier of the connection.
schema_id
Identifier of the schema within the connection. Format depends on the connection type (e.g. schema.table for databases, object name for SaaS backends).
Headers
X-Polytomic-Version
Response
OK
data
Errors
400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
500
Internal Server Error
