curl --request GET \
--url https://{cluster}.cognitedata.com/api/v1/projects/{project}/streams \
--header 'Authorization: Bearer <token>'{
"items": [
{
"externalId": "test1",
"createdTime": 1730204346000,
"createdFromTemplate": "ImmutableTestStream",
"type": "Immutable",
"settings": {
"lifecycle": {
"retainedAfterSoftDelete": "P42D",
"dataDeletedAfter": "P1Y"
},
"limits": {
"maxRecordsTotal": {
"provisioned": 1000,
"consumed": 999
},
"maxGigaBytesTotal": {
"provisioned": 1000,
"consumed": 999
},
"maxFilteringInterval": "P1Y"
}
}
}
]
}Required capabilities:
StreamsAcl:READ
List all streams available in the project.
curl --request GET \
--url https://{cluster}.cognitedata.com/api/v1/projects/{project}/streams \
--header 'Authorization: Bearer <token>'{
"items": [
{
"externalId": "test1",
"createdTime": 1730204346000,
"createdFromTemplate": "ImmutableTestStream",
"type": "Immutable",
"settings": {
"lifecycle": {
"retainedAfterSoftDelete": "P42D",
"dataDeletedAfter": "P1Y"
},
"limits": {
"maxRecordsTotal": {
"provisioned": 1000,
"consumed": 999
},
"maxGigaBytesTotal": {
"provisioned": 1000,
"consumed": 999
},
"maxFilteringInterval": "P1Y"
}
}
}
]
}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.
List of streams.
List of streams.
Show child attributes
Was this page helpful?