subscriptions = client.time_series.subscriptions.list(limit=5){
"items": [
{
"externalId": "my.known.id",
"partitionCount": 50,
"createdTime": 1730204346000,
"lastUpdatedTime": 1730204346000,
"name": "<string>",
"description": "<string>",
"dataSetId": 4503599627370496,
"timeSeriesCount": 123,
"filter": {
"or": [
{
"not": {
"and": [
{
"equals": {
"property": [
"metadata",
"manufacturer"
],
"value": "acme"
}
},
{
"in": {
"property": [
"name"
],
"values": [
"pump-1-temperature",
"motor-9-temperature"
]
}
},
{
"range": {
"property": [
"dataSetId"
],
"gte": 1,
"lt": 10
}
}
]
}
},
{
"and": [
{
"equals": {
"property": [
"assetId"
],
"value": 1234
}
},
{
"equals": {
"property": [
"description"
],
"value": "Temperature in Celsius"
}
}
]
}
]
}
}
],
"nextCursor": "<string>"
}Required capabilities:
timeSeriesSubscriptionsAcl:READ
List all subscriptions for the tenant. Use nextCursor to paginate through the results.
subscriptions = client.time_series.subscriptions.list(limit=5){
"items": [
{
"externalId": "my.known.id",
"partitionCount": 50,
"createdTime": 1730204346000,
"lastUpdatedTime": 1730204346000,
"name": "<string>",
"description": "<string>",
"dataSetId": 4503599627370496,
"timeSeriesCount": 123,
"filter": {
"or": [
{
"not": {
"and": [
{
"equals": {
"property": [
"metadata",
"manufacturer"
],
"value": "acme"
}
},
{
"in": {
"property": [
"name"
],
"values": [
"pump-1-temperature",
"motor-9-temperature"
]
}
},
{
"range": {
"property": [
"dataSetId"
],
"gte": 1,
"lt": 10
}
}
]
}
},
{
"and": [
{
"equals": {
"property": [
"assetId"
],
"value": 1234
}
},
{
"equals": {
"property": [
"description"
],
"value": "Temperature in Celsius"
}
}
]
}
]
}
}
],
"nextCursor": "<string>"
}Access token issued by the CDF project's configured identity provider. Access token must be an OpenID Connect token, and the project must be configured to accept OpenID Connect tokens. Use a header key of 'Authorization' with a value of 'Bearer $accesstoken'. The token can be obtained through any flow supported by the identity provider.
Limit on the number of results to return.
1 <= x <= 100Cursor for paging through results. In general, if a response contains a nextCursor
property, it means that there may be more results, and you should pass that value as the
cursor parameter in the next request.
Note that the cursor may or may not be encrypted, but either way, it is not intended to be decoded. Its internal structure is not a part of the public API, and may change without notice. You should treat it as an opaque string and not attempt to craft your own cursors.
"4zj0Vy2fo0NtNMb229mI9r1V3YG5NBL752kQz1cKtwo"
A complete list of subscriptions in the tenant.
Was this page helpful?