Preview Model
Submits a job that previews the fields a model would expose without persisting it.
The response contains a job ID that resolves to the list of fields the model
would expose. Poll the job until it completes to retrieve the field list. The
model is not persisted — this endpoint is useful for validating a query or
configuration before calling [`POST /api/models`](../../api-reference/models/create) to save it.
Authentication
AuthorizationBearer
Bearer user API key
OR
AuthorizationBasic
Basic organization-scoped API key
Headers
X-Polytomic-Version
Query parameters
async
Request
This endpoint expects an object.
configuration
connection_id
name
additional_fields
enricher
fields
identifier
labels
organization_id
policies
relations
tracking_columns
Response
OK
data
job
Errors
400
Bad Request Error
404
Not Found Error
500
Internal Server Error
