Zum Hauptinhalt springen

List Connection Dataset Templates

GET 

/v1/connections/:connection_id/dataset-templates

The ready-made datasets this connection is good for, each with the date window it reads today.

The app's dataset form and create_dataset_from_connection(template=...) read the same templates, so a dataset made either way has the same query. Each window ends on the last day the source has complete data for (Google Analytics: yesterday; Search Console: three days ago) and starts a bounded backfill before it.

A Search Console template stores date templates rather than dates, for example startDate {{ watermark - 3d or today - 93d }} and endDate {{ today - 3d }}: the dataset then reads on to the newest published day at every refresh and reads its last overlapDays days again. startDate and endDate beside the query are what those templates resolve to now: the days the first load reads. A connector with no template answers an empty list.

Request​

Responses​

Successful Response