GET Latest Workspace Snapshot
GET/workspaces/:workspaceId/data-flows-snapshots/latest
GET Latest Workspace Snapshot
Request
Path Parameters
Responses
- 200
Snapshot of the workspace.
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
Array [
]
]
]
Array [
]
properties
object
storage
object
required
defaultStreamGroup
object
required
streamGroups
object[]
required
properties
object
required
storage
object
required
custom
object
defaultStream
object
required
streams
object[]
required
properties
object
required
Possible values: [None
, WithNewLines
, WithoutNewLines
]
batchCompletionTimeout
object
required
batchIdAutoFillPattern
object
required
messageIdAutoFillPattern
object
required
egressRoutes
object[]
required
properties
object
required
config
object
required
azureEventHub
object
partitionKeyPattern
object
required
azureServiceBus
object
sql
object
grafana
object
otel
object
applyResourceLabels
object
logs
object
metrics
object
traces
object
delta
object
schema
object
required
textLines
object
otel
object
logs
object
required
metrics
object
required
traces
object
required
awsS3
object
targetPath
object
required
Possible values: [Messages
, BatchCompletions
]
egressSinks
object[]
required
properties
object
required
config
object
required
azureEventHub
object
azureServiceBus
object
sql
object
postgreSql
object
required
grafana
object
otel
object
basicAuth
object
required
delta
object
azureBlobStorage
object
required
awsS3
object
iamUserAccessKey
object
required
Possible values: [V1
, V2
, Mixed
]
{
"workspaceId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"version": 0,
"properties": {
"storage": {
"blobServiceUri": "string",
"storageAccountName": "string"
},
"defaultStreamGroup": {
"isEnabled": true,
"streamGroupName": "string"
}
},
"streamGroups": [
{
"name": "string",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"properties": {
"storage": {
"isWorkspaceStorage": true,
"custom": {
"blobServiceUri": "string",
"storageAccountName": "string"
}
},
"defaultStream": {
"isEnabled": true,
"streamName": "string"
}
},
"streams": [
{
"name": "string",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"properties": {
"concatenationMode": "None",
"batchCompletionTimeout": {
"isEnabled": true,
"timeout": "1.12:34:00"
},
"batchIdAutoFillPattern": {
"isEnabled": true,
"pattern": "string"
},
"messageIdAutoFillPattern": {
"isEnabled": true,
"pattern": "string"
}
},
"egressRoutes": [
{
"name": "string",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"properties": {
"isEnabled": true,
"egressSinkName": "string",
"config": {
"azureEventHub": {
"disablePayloadEmbedding": true,
"partitionKeyPattern": {
"isEnabled": true,
"pattern": "string"
}
},
"azureServiceBus": {
"disablePayloadEmbedding": true
},
"sql": {
"egressMapping": {}
},
"grafana": {},
"otel": {
"applyResourceLabels": {
"logs": {
"deviceId": true,
"siteId": true,
"streamGroupName": true,
"streamName": true
},
"metrics": {
"deviceId": true,
"siteId": true,
"streamGroupName": true,
"streamName": true
},
"traces": {
"deviceId": true,
"siteId": true,
"streamGroupName": true,
"streamName": true
}
}
},
"delta": {
"directoryPath": "string",
"schema": {
"textLines": {},
"otel": {
"logs": {
"isEnabled": true
},
"metrics": {
"isEnabled": true
},
"traces": {
"isEnabled": true
}
}
}
},
"awsS3": {
"targetPath": {
"isEnabled": true,
"path": "string"
}
}
},
"input": "Messages"
}
}
]
}
]
}
],
"egressSinks": [
{
"name": "string",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"properties": {
"isEnabled": true,
"config": {
"azureEventHub": {
"endpoint": "string",
"eventHubName": "string",
"sharedAccessKeyName": "string"
},
"azureServiceBus": {
"endpoint": "string",
"entityName": "string",
"sharedAccessKeyName": "string"
},
"sql": {
"postgreSql": {
"host": "string",
"port": "string",
"database": "string",
"username": "string"
}
},
"grafana": {},
"otel": {
"endpoint": "string",
"basicAuth": {
"username": "string"
}
},
"delta": {
"azureBlobStorage": {
"blobServiceUri": "string",
"storageAccountName": "string",
"containerName": "string"
}
},
"awsS3": {
"bucketName": "string",
"region": "string",
"iamUserAccessKey": {
"accessKey": "string"
}
}
},
"protocolVersion": "V1"
}
}
]
}