Get Schema
Changed onReturns 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 and wait for it to complete before fetching this endpoint if you need up-to-date field definitions.
Request
- Base URLhttps://app.polytomic.com
- Auth
- HTTP bearer
- or HTTP basic
Path parameters
Unique identifier of the connection
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
Response
OK
Example response
{
"data": {
"fields": [
{
"id": "email",
"is_primary_key": true,
"name": "Email",
"primary_key_override": true,
"remote_type": "varchar(255)"
}
],
"id": "contact",
"name": "Contact"
}
}Changes
- breaking
the
response's property type changed fromobjectto no type for status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - info
added to the
response propertyallOflist for the response status
- breaking
- breaking
the
///response's property type changed fromobjectto no type for status - breaking
the
///response's property type changed fromstringto no type for status - warning
removed the optional property
////from the response with the status - warning
removed the optional property
////from the response with the status - warning
removed the optional property
////from the response with the status - warning
removed the optional property
////from the response with the status - info
added to the
///response propertyallOflist for the response status - info
added to the
///response propertyallOflist for the response status - info
added to the
///response propertyallOflist for the response status - info
removed the
arrayenum value from the///response property for the response status - info
removed the
binaryenum value from the///response property for the response status - info
removed the
booleanenum value from the///response property for the response status - info
removed the
datetimeenum value from the///response property for the response status - info
removed the
numberenum value from the///response property for the response status - info
removed the
objectenum value from the///response property for the response status - info
removed the
stringenum value from the///response property for the response status - info
removed the
unknownenum value from the///response property for the response status
- breaking