SQL Streaming
The bearer token can be obtained by creating a ServiceAccount.
The request input was invalid
Authentication error
The purchased Lenses license does not provide access to this feature
Authorisation error
The requested resource cannot be found
An internal server error has occurred
GET /api/v1/environments/{environment}/proxy/api/v2/streams HTTP/1.1
Host: api.example.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"processors": [
{
"id": "text",
"application": {
"name": "text",
"processorId": "text",
"lrn": "text",
"sql": "text",
"inputTopics": [
{
"name": "text",
"keyFormat": "TWAVRO",
"valueFormat": "TWAVRO"
}
],
"outputTopics": [
{
"name": "text",
"keyFormat": "TWAVRO",
"valueFormat": "TWAVRO"
}
],
"otherSettings": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
},
"metadata": {
"description": "text",
"tags": [
"text"
],
"createdBy": "text",
"createdAt": "2026-01-01T00:00:00.000Z",
"processorType": "PreDaD"
},
"deployment": {
"details": {
"replicas": 1,
"otherSettings": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"labels": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"cluster": "text",
"namespace": "text"
},
"status": {
"level": "NOT_RUNNING",
"startedAt": "2026-01-01T00:00:00.000Z",
"stoppedAt": "2026-01-01T00:00:00.000Z",
"replicas": [
{
"id": "text",
"status": "STOPPED",
"msg": "text"
}
]
}
},
"coverage": "full"
}
]
}The bearer token can be obtained by creating a ServiceAccount.
The request input was invalid
Authentication error
The purchased Lenses license does not provide access to this feature
Authorisation error
The requested resource cannot be found
An internal server error has occurred
POST /api/v1/environments/{environment}/proxy/api/v2/streams HTTP/1.1
Host: api.example.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 227
{
"name": "text",
"processorId": "text",
"sql": "text",
"description": "text",
"deployment": {
"details": {
"runners": 1,
"cluster": "text",
"namespace": "text",
"requestedCpu": 1,
"limitCpu": 1,
"requestedMemory": 1,
"limitMemory": 1
}
},
"tags": [
"text"
]
}{
"id": "text"
}The bearer token can be obtained by creating a ServiceAccount.
The request input was invalid
Authentication error
The purchased Lenses license does not provide access to this feature
Authorisation error
The requested resource cannot be found
An internal server error has occurred
GET /api/v1/environments/{environment}/proxy/api/v1/streams HTTP/1.1
Host: api.example.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"targets": [
{
"cluster": "text",
"version": "text",
"namespaces": [
"text"
]
}
],
"streams": [
{
"user": "text",
"name": "text",
"id": "text",
"lrn": "text",
"processorId": "text",
"sql": "text",
"clusterName": "text",
"startTs": 1,
"namespace": "text",
"pipeline": "text",
"runners": 1,
"inputTopics": [
"text"
],
"outputTopics": [
"text"
],
"state": {
"deploymentStatus": "FAILED",
"deploymentError": "text",
"runnerStatus": {
"ANY_ADDITIONAL_PROPERTY": {
"id": "text",
"worker": "text",
"status": "FAILED",
"errorMsg": "text"
}
}
},
"upTime": 1,
"stopTs": 1,
"lastAction": {
"action": "Scaled",
"msg": "text"
},
"processorType": "PreDaD",
"settings": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"coverage": "full"
}
]
}The bearer token can be obtained by creating a ServiceAccount.
The request input was invalid
Authentication error
The purchased Lenses license does not provide access to this feature
Authorisation error
The requested resource cannot be found
An internal server error has occurred
POST /api/v1/environments/{environment}/proxy/api/v1/streams HTTP/1.1
Host: api.example.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 173
{
"name": "text",
"appId": "text",
"sql": "text",
"runnerCount": 1,
"cluster": "text",
"namespace": "text",
"settings": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"user": "text",
"pipeline": "text"
}textThe bearer token can be obtained by creating a ServiceAccount.
SQL processor unique identifier
The request input was invalid
Authentication error
The purchased Lenses license does not provide access to this feature
Authorisation error
The requested resource cannot be found
An internal server error has occurred
GET /api/v1/environments/{environment}/proxy/api/v1/streams/{id} HTTP/1.1
Host: api.example.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"user": "text",
"name": "text",
"id": "text",
"lrn": "text",
"processorId": "text",
"sql": "text",
"clusterName": "text",
"startTs": 1,
"namespace": "text",
"pipeline": "text",
"runners": 1,
"inputTopics": [
"text"
],
"outputTopics": [
"text"
],
"state": {
"deploymentStatus": "FAILED",
"deploymentError": "text",
"runnerStatus": {
"ANY_ADDITIONAL_PROPERTY": {
"id": "text",
"worker": "text",
"status": "FAILED",
"errorMsg": "text"
}
}
},
"upTime": 1,
"stopTs": 1,
"lastAction": {
"action": "Scaled",
"msg": "text"
},
"processorType": "PreDaD",
"settings": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"coverage": "full"
}The bearer token can be obtained by creating a ServiceAccount.
SQL processor unique identifier
The request input was invalid
Authentication error
The purchased Lenses license does not provide access to this feature
Authorisation error
The requested resource cannot be found
An internal server error has occurred
DELETE /api/v1/environments/{environment}/proxy/api/v1/streams/{id} HTTP/1.1
Host: api.example.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
textThe bearer token can be obtained by creating a ServiceAccount.
SQL processor unique identifier
The request input was invalid
Authentication error
The purchased Lenses license does not provide access to this feature
Authorisation error
The requested resource cannot be found
An internal server error has occurred
GET /api/v1/environments/{environment}/proxy/api/v2/streams/{id} HTTP/1.1
Host: api.example.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": "text",
"application": {
"name": "text",
"processorId": "text",
"lrn": "text",
"sql": "text",
"inputTopics": [
{
"name": "text",
"keyFormat": "TWAVRO",
"valueFormat": "TWAVRO"
}
],
"outputTopics": [
{
"name": "text",
"keyFormat": "TWAVRO",
"valueFormat": "TWAVRO"
}
],
"otherSettings": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
},
"metadata": {
"description": "text",
"tags": [
"text"
],
"createdBy": "text",
"createdAt": "2026-01-01T00:00:00.000Z",
"processorType": "PreDaD"
},
"deployment": {
"details": {
"replicas": 1,
"otherSettings": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"labels": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"cluster": "text",
"namespace": "text"
},
"status": {
"level": "NOT_RUNNING",
"startedAt": "2026-01-01T00:00:00.000Z",
"stoppedAt": "2026-01-01T00:00:00.000Z",
"replicas": [
{
"id": "text",
"status": "STOPPED",
"msg": "text"
}
]
}
},
"coverage": "full"
}The bearer token can be obtained by creating a ServiceAccount.
SQL processor unique identifier
The request input was invalid
Authentication error
The purchased Lenses license does not provide access to this feature
Authorisation error
The requested resource cannot be found
An internal server error has occurred
GET /api/v1/environments/{environment}/proxy/api/v1/streams/{id}/graph HTTP/1.1
Host: api.example.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"sources": [
"text"
],
"nodes": [
{
"key": "text",
"description": "text",
"type": "STREAM",
"nodeType": "PreDaDProcessor",
"keyType": "TWAVRO",
"valueType": "TWAVRO",
"children": [
"text"
]
}
]
}The bearer token can be obtained by creating a ServiceAccount.
SQL processor unique identifier
The request input was invalid
Authentication error
The purchased Lenses license does not provide access to this feature
Authorisation error
The requested resource cannot be found
An internal server error has occurred
PUT /api/v1/environments/{environment}/proxy/api/v1/streams/{id}/start HTTP/1.1
Host: api.example.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
textThe bearer token can be obtained by creating a ServiceAccount.
SQL processor unique identifier
The request input was invalid
Authentication error
The purchased Lenses license does not provide access to this feature
Authorisation error
The requested resource cannot be found
An internal server error has occurred
PUT /api/v1/environments/{environment}/proxy/api/v1/streams/{id}/resume HTTP/1.1
Host: api.example.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
textThe bearer token can be obtained by creating a ServiceAccount.
SQL processor unique identifier
The request input was invalid
Authentication error
The purchased Lenses license does not provide access to this feature
Authorisation error
The requested resource cannot be found
An internal server error has occurred
PUT /api/v1/environments/{environment}/proxy/api/v1/streams/{id}/stop HTTP/1.1
Host: api.example.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
textThe bearer token can be obtained by creating a ServiceAccount.
SQL processor unique identifier
The new SQL processor runner count. It has to be an integer bigger than zero.
The request input was invalid
Authentication error
The purchased Lenses license does not provide access to this feature
Authorisation error
The requested resource cannot be found
An internal server error has occurred
PUT /api/v1/environments/{environment}/proxy/api/v1/streams/{id}/scale/{scale} HTTP/1.1
Host: api.example.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
textThe bearer token can be obtained by creating a ServiceAccount.
SQL processor unique identifier
The request input was invalid
Authentication error
The purchased Lenses license does not provide access to this feature
Authorisation error
The requested resource cannot be found
An internal server error has occurred
PUT /api/v1/environments/{environment}/proxy/api/v1/streams/{id}/image HTTP/1.1
Host: api.example.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 16
{
"image": "text"
}{
"id": "text"
}The bearer token can be obtained by creating a ServiceAccount.
The request input was invalid
Authentication error
The purchased Lenses license does not provide access to this feature
Authorisation error
The requested resource cannot be found
An internal server error has occurred
POST /api/v1/environments/{environment}/proxy/api/v1/intellisense/streams/kafka HTTP/1.1
Host: api.example.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 24
{
"sql": "text",
"caret": 1
}{
"input": "text",
"caret": 1,
"lints": [
{
"start": 1,
"end": 1,
"text": "text",
"type": "Warning"
}
],
"suggestions": [
{
"display": "text",
"text": "text",
"start": 1,
"end": 1,
"type": "text",
"description": "text",
"highlightStart": 1,
"highlightEnd": 1
}
],
"highlights": [
{
"start": 1,
"end": 1,
"text": "text",
"type": "Keyword"
}
],
"statementsPositions": [
{
"index": 1,
"start": 1,
"end": 1
}
]
}Last updated
Was this helpful?

