Create

POST

Creates a data source.

Request

This endpoint expects an object.
idstringRequired

A human readable identifier. Must be unique within an organization.

descriptionstringOptional
granularityenumOptional
Allowed values: PICOSECONDSNANOSECONDS

Specifies the timestamp granularity of the datasource (i.e., picosecond or nanosecond scale). Defaults to nanosecond granularity.

Response

This endpoint returns an object.
ridstring
idstring
granularityenum
Allowed values: PICOSECONDSNANOSECONDS
descriptionstringOptional
dataLastWrittenAtdatetimeOptionalDefaults to 1970-01-01T00:00:00.000Z

Returns the approximate timestamp at which data was written to the data source. Will be accurate to within 1 minute.

Built with