agentProxy
Retrieves a list of datasets
The page number to be returned, must be greater than zero. Defaults to 1.
1The elements amount on a single page, must be greater than zero.
25A search keyword to match dataset, fields and description against.
nameA list of connection names to filter by. All connections will be included when no value is supplied.
A list of tag names to filter by. All tags will be included when no value is supplied.
The field to sort results by
Sorting order. Defaults to ascending
A flag to include in the search also system entities (e.g. Kafka's __consumer_offsets topic).
Whether to search only by table name, or also to include field names/documentation (defaults to true)
Schema format. Relevant only when sourceType is SchemaRegistrySubject
Filter based on whether the dataset has records
Filter based on compacted. Relevant only when sourceType is Kafka
A response wrapping a paginated list of datasets and the set of relative source types
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 /v1/environments/{environment}/proxy/api/v1/datasets?pageSize=1 HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"datasets": {
"values": [
{
"name": "text",
"highlights": [
{
"fieldName": "text",
"startIndex": 1,
"endIndex": 1,
"arrayIndex": 1
}
],
"records": 1,
"recordsPerSecond": 1,
"keyType": "text",
"valueType": "text",
"connectionName": "text",
"replication": 1,
"consumers": 1,
"partitions": 1,
"fields": {
"key": [
{
"name": "text",
"type": "text",
"typeDetails": {
"lensesDataType": "text"
},
"description": "text",
"ancestors": [
"text"
],
"highlights": [
{
"fieldName": "text",
"startIndex": 1,
"endIndex": 1,
"arrayIndex": 1
}
],
"isNullable": true,
"default": "text"
}
],
"value": [
{
"name": "text",
"type": "text",
"typeDetails": {
"lensesDataType": "text"
},
"description": "text",
"ancestors": [
"text"
],
"highlights": [
{
"fieldName": "text",
"startIndex": 1,
"endIndex": 1,
"arrayIndex": 1
}
],
"isNullable": true,
"default": "text"
}
]
},
"isSystemEntity": true,
"isMarkedForDeletion": true,
"isCompacted": true,
"sizeBytes": 1,
"policies": [
{
"policyId": "text",
"policyName": "text",
"policyCategory": "text",
"obfuscation": "text",
"matchingKeyFields": [
{
"name": "text",
"parents": [
"text"
]
}
],
"matchingValueFields": [
{
"name": "text",
"parents": [
"text"
]
}
]
}
],
"permissions": [
"text"
],
"description": "text",
"tags": [
{
"name": "text",
"count": 1
}
],
"retentionMs": 1,
"retentionBytes": 1,
"backupRestoreState": {},
"sourceType": "text",
"lrn": "text"
}
],
"pagesAmount": 1,
"totalCount": 1
},
"sourceTypes": [
"Kafka"
]
}Updates the offset for a topic-partition for the given group
The consumer group id
The topic name
The topic partition number
No content
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 /v1/environments/{environment}/proxy/api/consumers/{groupId}/offsets/topics/{topic}/partitions/{partition} HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 26
{
"offset": 1,
"type": "text"
}No content
Update the offset for a consumer group topic-partition tuples
The consumer group id
No content
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 /v1/environments/{environment}/proxy/api/consumers/{groupId}/offsets HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 31
{
"type": null,
"topics": [
"text"
]
}No content
Delete the offset for a topic-partition for the given group
The consumer group id
The topic name
The topic partition number
No content
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 /v1/environments/{environment}/proxy/api/consumers/{groupId}/topics/{topic}/partitions/{partition}/offsets HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Returns the consumer groups which are using the given topic
The consumer group name
No content
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 /v1/environments/{environment}/proxy/api/consumers/{consumerGroupName} HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Get a single dataset by connection/name. While information mastered externally might be a few second out of sync with their respective sources (e.g. JMX metadata, Elasticsearch index status, etc), information mastered in Lenses's db is guaranteed to be up to date (e.g. tags, descriptions).
kafkacustomer-positionsThe 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 /v1/environments/{environment}/proxy/api/v1/datasets/{connection}/{dataset} HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"name": "text",
"highlights": [
{
"fieldName": "text",
"startIndex": 1,
"endIndex": 1,
"arrayIndex": 1
}
],
"records": 1,
"recordsPerSecond": 1,
"keyType": "text",
"valueType": "text",
"connectionName": "text",
"replication": 1,
"consumers": 1,
"partitions": 1,
"fields": {
"key": [
{
"name": "text",
"type": "text",
"typeDetails": {
"lensesDataType": "text"
},
"description": "text",
"ancestors": [
"text"
],
"highlights": [
{
"fieldName": "text",
"startIndex": 1,
"endIndex": 1,
"arrayIndex": 1
}
],
"isNullable": true,
"default": "text"
}
],
"value": [
{
"name": "text",
"type": "text",
"typeDetails": {
"lensesDataType": "text"
},
"description": "text",
"ancestors": [
"text"
],
"highlights": [
{
"fieldName": "text",
"startIndex": 1,
"endIndex": 1,
"arrayIndex": 1
}
],
"isNullable": true,
"default": "text"
}
]
},
"isSystemEntity": true,
"isMarkedForDeletion": true,
"isCompacted": true,
"sizeBytes": 1,
"policies": [
{
"policyId": "text",
"policyName": "text",
"policyCategory": "text",
"obfuscation": "text",
"matchingKeyFields": [
{
"name": "text",
"parents": [
"text"
]
}
],
"matchingValueFields": [
{
"name": "text",
"parents": [
"text"
]
}
]
}
],
"permissions": [
"text"
],
"description": "text",
"tags": [
{
"name": "text",
"count": 1
}
],
"retentionMs": 1,
"retentionBytes": 1,
"backupRestoreState": {},
"sourceType": "text",
"lrn": "text"
}Retrieve information topic defaults
Name of the environment
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 /v1/environments/{environment}/proxy/api/configs/default/topics HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"key": "text",
"default": {
"default": "text",
"serverDefaultProperties": "text",
"description": "text"
}
}
]Name of the environment
The topic name
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 /v1/environments/{environment}/proxy/api/configs/topics/{topic} HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 43
{
"configs": [
{
"key": "text",
"value": "text"
}
]
}textRetrieve information about a given topic
Name of the environment
Name of the topic
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 /v1/environments/{environment}/proxy/api/topics/{topic} HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"topicName": "text",
"partitions": 1,
"replication": 1,
"isControlTopic": true,
"isCompacted": true,
"keyType": "text",
"valueType": "text",
"totalMessages": 1,
"config": [
{
"name": "text",
"value": "text",
"isDefault": true,
"defaultValue": "text",
"documentation": "text",
"originalValue": "text"
}
],
"consumers": [
{
"id": "text",
"coordinator": {
"id": 1,
"host": "text",
"port": 1,
"rack": "text"
},
"active": true,
"state": "Unknown",
"consumers": [
"text"
],
"consumersCount": 1,
"topicPartitionsCount": 1,
"minLag": 1,
"maxLag": 1,
"application": {
"id": "text",
"name": "text",
"type": "AkkaStreams"
}
}
],
"messagesPerPartition": [
{
"partition": 1,
"messages": 1,
"begin": 1,
"end": 1
}
],
"messagesPerSecond": 1,
"isMarkedForDeletion": true,
"timestamp": 1,
"keySchema": "text",
"keySchemaVersion": 1,
"keySchemaInlined": "text",
"valueSchema": "text",
"valueSchemaVersion": 1,
"valueSchemaInlined": "text",
"applications": [
{
"id": "text",
"name": "text",
"type": "AkkaStreams"
}
],
"description": "text",
"tags": [
{
"name": "text",
"count": 1
}
],
"permissions": [
"text"
],
"backups": [
{
"id": 1,
"createdAt": "2025-10-24T16:07:49.113Z",
"topic": "text",
"connectCluster": "text",
"connectorName": "text",
"connectorVersion": "text",
"s3Location": "text",
"reference": "text"
}
],
"restores": [
{
"id": 1,
"createdAt": "2025-10-24T16:07:49.113Z",
"topic": "text",
"connectCluster": "text",
"connectorName": "text",
"connectorVersion": "text",
"s3Location": "text",
"reference": "text"
}
]
}Name of the environment
Name of the topic
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 /v1/environments/{environment}/proxy/api/topics/{topic} HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
textName of the environment
Name of the topic
Partition where you delete messages from
Messages will be deleted up to this offset
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 /v1/environments/{environment}/proxy/api/topics/{topic}/{partition}/{offset} HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
textRetrieve information about a given topic
Name of the topic
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 /v1/environments/{environment}/proxy/api/v2/kafka/topics/{topic} HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"topicName": "text",
"lrn": "text",
"partitions": 1,
"replication": 1,
"isControlTopic": true,
"keyType": "text",
"valueType": "text",
"totalMessages": 1,
"configs": 1,
"consumers": 1,
"messagesPerSecond": 1,
"isMarkedForDeletion": true,
"isCompacted": true,
"description": "text",
"size": 1,
"tags": [
{
"name": "text",
"count": 1
}
]
}Environment name
Kafka topic name
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 /v1/environments/{environment}/proxy/api/metadata/topics/{topic} HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"topicName": "text",
"keyType": "text",
"valueType": "text",
"keySchema": "text",
"keySchemaVersion": 1,
"keySchemaInlined": "text",
"valueSchema": "text",
"valueSchemaVersion": 1,
"valueSchemaInlined": "text",
"description": "text",
"tags": [
"text"
],
"additionalInfo": null
}Environment name
Kafka topic name
No content
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 /v1/environments/{environment}/proxy/api/metadata/topics/{topic} HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Name of the environment
No content
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 /v1/environments/{environment}/proxy/api/v1/metadata/topics HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 253
{
"topicName": "text",
"keyType": "text",
"valueType": "text",
"keySchema": "text",
"keySchemaVersion": 1,
"keySchemaInlined": "text",
"valueSchema": "text",
"valueSchemaVersion": 1,
"valueSchemaInlined": "text",
"description": "text",
"tags": [
"text"
],
"additionalInfo": null
}No content
Name of the environment
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 /v1/environments/{environment}/proxy/api/metadata/topics/decoders HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"keys": [
"text"
],
"values": [
"text"
]
}Back up a topic to S3. You must configure the bucket, optional prefix and the flush settings.
The topic name
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 /v1/environments/{environment}/proxy/api/v1/kafka/topic/{topic}/backup HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 99
{
"cluster": "text",
"s3": {
"bucket": "text",
"prefix": "text"
},
"flush": {
"count": 1,
"size": 1,
"interval": 1
}
}{
"id": 1,
"connector": "text",
"cluster": "text"
}Restores data from S3 into the target topic.
The topic name
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 /v1/environments/{environment}/proxy/api/v1/kafka/topic/{topic}/restore HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 80
{
"cluster": "text",
"s3": {
"bucket": "text",
"prefix": "text"
},
"storageFormat": "avro"
}{
"id": 1,
"connector": "text",
"cluster": "text"
}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 /v1/environments/{environment}/proxy/api/v1/kafka/topics/{topicName}/partitions HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 16
{
"partitions": 1
}{
"partitions": 1
}Retrieves a list of dataset tags
Get tags sorted by dataset count
userA response wrapping a paginated list of datasets and the set of relative source types
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 /v1/environments/{environment}/proxy/api/v1/datasets/tags HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"tags": [
{
"name": "text",
"count": 1
}
]
}Returns the list of available connections
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 /v1/environments/{environment}/proxy/api/v1/connection/connections HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"name": "the-connection",
"templateName": "Kafka",
"templateVersion": 1,
"tags": [
"text"
],
"deletable": true
}
]Returns the intellisense result for a given query
Happy response
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
Error object.
POST /v1/environments/{environment}/proxy/api/v1/sql/presentation HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 45
{
"sql": "text",
"caret": 1,
"connectorId": "text"
}{
"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"
}
],
"tables": [
{
"tableName": {
"value": "text"
},
"fields": [
{
"value": "text"
}
]
}
],
"statementsPositions": [
{
"index": 1,
"start": 1,
"end": 1
}
]
}Publish data to a Kafka topic.
The topic name
Key type
Value type
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 /v1/environments/{environment}/proxy/api/v1/kafka/topics/{topic}/data HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/jsonn
Accept: */*
{
"success": true,
"schemaChanged": true
}Returns deployments 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
GET /v1/environments/{environment}/proxy/api/v1/deployment/targets HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"kubernetes": [
{
"cluster": "text",
"namespaces": [
"text"
],
"version": "text"
}
],
"connect": [
{
"cluster": "text",
"version": "text"
}
]
}Returns provisioning 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
GET /v1/environments/{environment}/proxy/api/v1/state/connections HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
textLast updated
Was this helpful?

