Create Or Update Dataset

Creates a dataset if the s3 path does not exist, otherwise updates the dataset

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
namestringRequired
metadatamap from strings to stringsRequired
originMetadataobjectRequired
labelsset of stringsRequired
propertiesmap from strings to stringsRequired
handleobjectOptional
descriptionstringOptional
granularityenumOptional

Granularity of dataset timestamps. Defaults to nanoseconds.

Allowed values:
isV2DatasetbooleanOptional

If true, the dataset should be ingested to the v2 tables and is compatible with streaming.

workspacestringOptional

The workspace in which to create the dataset. If not provided, the dataset will be created in the default workspace for the user’s organization, if the default workspace for the organization is configured.

Response

This endpoint returns an object.
ridstring
uuidUUID
namestring
displayNamestring
ingestDatedatetime
originMetadataobject
lastIngestStatusobject
retentionPolicyobject
timestampTypeenum
Allowed values:
labelsset of strings
propertiesmap from strings to strings
granularityenum
Allowed values:
allowStreamingboolean
descriptionstringOptional
metadatamap from strings to stringsOptional
handleobjectOptional
ingestStatusenumOptional
Allowed values:
sourcestringOptional
boundsobjectOptional