Test a template (dry run)
POST
Maps a sample payload through the template (extractor + transform only — no Thing
resolution, no metric intersection, no write) and returns the produced per-record values plus
diagnostics. Requires an API key with the read action scoped to the template.
Loading code example
Loading code example
Authorizations
apiKeystringheaderrequired
API key passed in the header.
Path Parameters
templateIdstringrequired
The template id.
Response
application/json
The dry-run result.
reportobjectreport.previewOnlybooleanreport.templateIdnull | stringreport.templateRevisionnull | integer | string<int32>Pattern:
^-?(?:0|[1-9]\d*)$report.templateUpdatedAtnull | string<date-time>report.recordsParsedinteger | string<int32>Pattern:
^-?(?:0|[1-9]\d*)$report.readingsWritteninteger | string<int32>Pattern:
^-?(?:0|[1-9]\d*)$report.metricValuesWritteninteger | string<int32>Pattern:
^-?(?:0|[1-9]\d*)$report.recordsSkippedarray<object>report.recordsSkippedOmittedinteger | string<int32>Pattern:
^-?(?:0|[1-9]\d*)$report.metricsSkippedNotOnTtdarray<string>report.fieldsSkippedMissingarray<object>report.fieldsInvalidarray<object>report.lineProtocolnull | stringrecordsarray<object>records.timestampMsinteger | string<int64>Pattern:
^-?(?:0|[1-9]\d*)$records.fieldsarray<object>