Sample Records
Returns a sample of records from a model.
Synchronous requests must complete within 10 seconds. If the source query or enrichment step can exceed that budget, use the asynchronous option so the work runs as a background job.
Authentication
AuthorizationBearer
Bearer user API key
OR
AuthorizationBasic
Basic organization-scoped API key
Path parameters
id
Model ID
Headers
X-Polytomic-Version
Query parameters
async
Run in the background and return a job instead of the result.
Response
OK
data
The sampled records
job
Background job running the request when async is true
Errors
400
Bad Request Error
404
Not Found Error
500
Internal Server Error
