SQL Streaming
Retrieves all SQL processor details
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:
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": "2025-10-24T16:21:28.546Z",
"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": "2025-10-24T16:21:28.546Z",
"stoppedAt": "2025-10-24T16:21:28.546Z",
"replicas": [
{
"id": "text",
"status": "STOPPED",
"msg": "text"
}
]
}
},
"coverage": "full"
}
]
}Creates a new SQL processor
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:
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"
}Retrieves all SQL processor details
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:
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"
}
]
}Creates a new SQL processor
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:
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"
}textRetrieves the SQL processor details
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:
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"
}Removes an existing SQL processor
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:
Accept: */*
textRetrieves the SQL processor details
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:
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": "2025-10-24T16:21:28.546Z",
"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": "2025-10-24T16:21:28.546Z",
"stoppedAt": "2025-10-24T16:21:28.546Z",
"replicas": [
{
"id": "text",
"status": "STOPPED",
"msg": "text"
}
]
}
},
"coverage": "full"
}Retrieves the SQL processor details
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:
Accept: */*
{
"sources": [
"text"
],
"nodes": [
{
"key": "text",
"description": "text",
"type": "STREAM",
"nodeType": "PreDaDProcessor",
"keyType": "TWAVRO",
"valueType": "TWAVRO",
"children": [
"text"
]
}
]
}Runs a SQL processor
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:
Accept: */*
textRuns a SQL processor
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:
Accept: */*
textStops a running SQL processor
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:
Accept: */*
textScales a SQL processor
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:
Accept: */*
textReturns the query intellisense information
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:
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?

