A WebSocket allows the client to request data using SQL as input.
Use the following URL to open a WebSocket connection. Depending on deployment, use ws (not-secure) or wss (secure) connection:
The query is per environment, you need to add the environment name.
To authenticate, create a service account and set the token in the header for the Authorization Bearer.
Once the connection is established, the server expects the client to send a JSON message with the following structure:
For example in Python:
sql
The SQL query used to fetch data
string
live
If set, enables partial results for aggregation queries.
optional[boolean]
stats
Millis interval to receive query stats. If not provided the stats information is not sent
optional[int]
The client should wait for incoming messages and stop when EOF is received. The server sends JSON-encoded messages, the payload structure is:
Since there are multiple types of messages the server sends, the type
attribute determines the data structure for the data
payload. Below is the list of possible type
values:
HEARTBEAT
To keep the connection alive, the server injects an empty message.
RECORD
The message represents a data record.
ERROR
The message contains information about an error that occurred.
STATS
The message contains information about the current execution.Only activated if the stats
field in the request is present.
METADATA
The message contains a list of metadata fields each record message will contain. For example: offset, partition,timestamp, __keysize, __valueSize, valueSchemaId.
SCHEMA
Reserved.
PAGE_END
Reserved.
END
The message signals the end of the execution. The server will close the socket after this message is sent.
BADRECORD
The message contains information about the Kafka message which cannot be read. For example, if the topic expects Avro and the payload is not a valid Avro.
SENTINEL
The message contains information about the execution termination reason when query thresholds are reached.
The data
the attribute is null. The client should ignore these messages.
In this case, the payload structure is:
When requested the payload format is:
A possible payload can be:
The payload format is:
The payload format is:
The payload format is:
The payload format is:
Given the type
RECORD the payloads contains the data returned to the client, and it is dependent on the SQL input. The payload format is:
data.key
Returns the underlying Kafka message key value. Only applied when *
projection is used. When a key projection is used (i.e. _key.MMSI), the value is returned as data.value.MMSI
.
data.data
Will contain the output generated by the SQL projections. If *
is used for the SQL projection, it will return the Kafka message value structure.
data.metadata
Returned when no aggregations are involved. It contains the Kafka message partition, offset, byte size information
data.rownum
Reserved optional long value.
For a topic which contains nested data for both key and value.
The payload format is:
If the Kafka message key is null the response would be:
Projecting the key will not return the key
attribute:
produces the following output:
Aggregating data will not return the key
and metadata
attributes:
Authenticate
Learn how to authenticate against Lenses APIs.
Lenses API Spec
Explore the Lenses API Spec.
Websocket Spec
Lenses uses websockets for SQL queries. Learn how to use Lenses Websockets.
Starts a session given a username/password and puts it into a cookie.
Happy response. A set-cookie header will be present.
Starts a session given a username/password and puts it into a cookie.
Happy response. A set-cookie header will be present.
Starts a session given a username/password and puts it into a cookie.
Happy response. A set-cookie header will be present.
Deletes a group.
Successful deletion.
Deletes a user.
Successful deletion.
Deletes a ServiceAccount.
Successful deletion.
Deletes a role.
Successful deletion.
Deletes all sessions associated with the current user.
Happy response.
Proxies HTTP to a Lenses instance. Note: this is not a regular HTTP API endpoint. The path specified here is a prefix. Everything beneath it gets proxied to the corresponding Lenses instance. Any request body and method (the GET here is only a placeholder) are accepted, as long as the Lenses API accepts it. The connection can even be upgraded to a websocket. The status code and response body are controlled by the Lenses API. This concept does not fit into the OpenAPI world at all; this definition is only here for the sake of documentation to avoid having an undocumented dark matter API.
Error object.
Enumerates possible error types.
Describes the problem in a human readable fashion.
Is a copy of the http status code.
Lists for validation errors the fields that failed validation.
Enumerates field validation error types.
Contains in case of an "unauthorised" type of error, the url of the SSO provider, if any.
Is set to the id of this request. Can be used to correlate backend logs.
Returns HQ's licence summary.
Successfully returns licence response.
Is true when the licence is a community one, false otherwise.
Returns a specific ServiceAccount.
Happy response.
Contains the resource identifier for use in access control policies.
Contains the resource identifier for use in access control policies.
Is set to the number of users in this group.
Is set to the number of service accounts in this group.
Is set to the number of roles associated with this group.
Allows attaching custom string key/values to resources. The following maxima apply:
If null, it won't expire.
Updates when this service account has interaction with the API.
Allows attaching custom string key/values to resources. The following maxima apply:
Lists all environments
Happy response.
Contains the resource identifier for use in access control policies.
Enumerates Tiers.
Contains dynamic properties of the Agent, brought in via a connected agent. Only when the agent is connected to HQ, agent info can be updated. An environment that never had a connected agent cannot have a LiveAgentInfo.
Signals whether an agent is currently connected.
Is a collection of fields related to an agent. Updated only when an agent is connected.
Contains the time instant this object as a whole was updated.
Is measured in seconds.
Bundles licence info as gathered by the agent through Lenses' API.
Is set to the hostname of the machine the agent runs on.
Contains the version of the agent executable.
Bundles several categories of agent metrics.
Is optionally part of AgentMetrics. Contains Kafka-specific metrics. Unavailable if Zoopeeker is not configured.
Is a part of AgentMetrics. Contains Data related metrics.
Is unavailable without Zookeeper. Total size of all topic data including replicas on disk [bytes].
Is unavailable without Zookeeper. Data written to the brokers [bytes/s].
Is unavailable without Zookeeper. Data read from the brokers [bytes/s].
Is unavailable without Zookeeper. Data written to the brokers [msg/s].
Is a part of AgentMetrics. Contains Apps metrics.
Is a part of AgentMetrics. Contains Kafka Connect metrics.
Is a part of AgentMetrics. Contains miscellaneous metrics.
Allows attaching custom string key/values to resources. The following maxima apply:
Updates a service account.
Updates the display name of the service account.
Updates the description of a service account.
Patches metadata. It has the following semantics:
Happy response.
Contains the resource identifier for use in access control policies.
Contains the resource identifier for use in access control policies.
Is set to the number of users in this group.
Is set to the number of service accounts in this group.
Is set to the number of roles associated with this group.
Allows attaching custom string key/values to resources. The following maxima apply:
If null, it won't expire.
Updates when this service account has interaction with the API.
Allows attaching custom string key/values to resources. The following maxima apply:
Returns all roles.
Happy response.
Holds the unique name of this role.
Contains the resource identifier for use in access control policies.
Is set to the number of PermissionStatements in the Policy.
Allows attaching custom string key/values to resources. The following maxima apply:
Returns HQ's licence.
Successfully returns licence response.
Is set to the moment HQ no longer considers this licence valid. Will be omitted for licences that do not expire.
Enumerates licence tiers.
Updates an environment.
Enumerates Tiers.
Patches metadata. It has the following semantics:
Updates the display name of the environment.
Happy response.
Contains the resource identifier for use in access control policies.
Enumerates Tiers.
Contains dynamic properties of the Agent, brought in via a connected agent. Only when the agent is connected to HQ, agent info can be updated. An environment that never had a connected agent cannot have a LiveAgentInfo.
Signals whether an agent is currently connected.
Is a collection of fields related to an agent. Updated only when an agent is connected.
Contains the time instant this object as a whole was updated.
Is measured in seconds.
Bundles licence info as gathered by the agent through Lenses' API.
Is set to the hostname of the machine the agent runs on.
Contains the version of the agent executable.
Bundles several categories of agent metrics.
Is optionally part of AgentMetrics. Contains Kafka-specific metrics. Unavailable if Zoopeeker is not configured.
Is a part of AgentMetrics. Contains Data related metrics.
Is unavailable without Zookeeper. Total size of all topic data including replicas on disk [bytes].
Is unavailable without Zookeeper. Data written to the brokers [bytes/s].
Is unavailable without Zookeeper. Data read from the brokers [bytes/s].
Is unavailable without Zookeeper. Data written to the brokers [msg/s].
Is a part of AgentMetrics. Contains Apps metrics.
Is a part of AgentMetrics. Contains Kafka Connect metrics.
Is a part of AgentMetrics. Contains miscellaneous metrics.
Allows attaching custom string key/values to resources. The following maxima apply:
Deletes an environment.
Successful deletion.
Returns all users
Happy response.
Contains the canonical and unique user's user name. Potentially an implicit reference to a corresponding entity in an external system in case of SSO.
Contains the resource identifier for use in access control policies.
Contains the resource identifier for use in access control policies.
Is set to the number of users in this group.
Is set to the number of service accounts in this group.
Is set to the number of roles associated with this group.
Allows attaching custom string key/values to resources. The following maxima apply:
Updates when this user has interaction with the API.
Models a user's Profile.
Contains the users' full name, e.g. Mary Jane Doe.
Contains the users' email address, e.g. mary.jane@doe.net. Note that this is not necessarily the same as the user's name, which often looks like an email address, but is not per se.
Allows attaching custom string key/values to resources. The following maxima apply:
Returns all ServiceAccounts.
Happy response.
Contains the resource identifier for use in access control policies.
Contains the resource identifier for use in access control policies.
Is set to the number of users in this group.
Is set to the number of service accounts in this group.
Is set to the number of roles associated with this group.
Allows attaching custom string key/values to resources. The following maxima apply:
If null, it won't expire.
Updates when this service account has interaction with the API.
Allows attaching custom string key/values to resources. The following maxima apply:
Creates a new ServiceAccount.
Sets the unique name of the new service account. It must be a valid HQ resource name: it can only contain lowercase alphanumeric characters or hyphens; hyphens cannot appear at the end or start; the length is 63 characters at most.
Sets | the display name of the new service account. If not provided, the value of "name" will be used.
Sets the description of the new service account.
Determines the moment of token expiration. If not specified, the token will never expire.
Allows attaching custom string key/values to resources. The following maxima apply:
Happy response.
Contains the resource identifier for use in access control policies.
Contains the resource identifier for use in access control policies.
Is set to the number of users in this group.
Is set to the number of service accounts in this group.
Is set to the number of roles associated with this group.
Allows attaching custom string key/values to resources. The following maxima apply:
If null, it won't expire.
Updates when this service account has interaction with the API.
Allows attaching custom string key/values to resources. The following maxima apply:
Lists all groups
Happy response.
Contains the resource identifier for use in access control policies.
Is set to the number of users in this group.
Is set to the number of service accounts in this group.
Is set to the number of roles associated with this group.
Allows attaching custom string key/values to resources. The following maxima apply:
Returns the backend's settings information.
Successfully returns application settings response.
Contains SAML configuration settings.
user_creation_mode setting controls how the creation of users should be handled in relation to SSO information. With the 'manual' mode, a user that exists externally in an Identity Provider will have to be manually created locally. With the 'sso' mode, that process will be automatic and a matching user will be created if it doesn't exist locally.
users_group_membership_management_mode setting controls how the management of a user's group membership should be handled in relation to SSO information. With the 'manual' mode, the information about the group membership returned from an Identity Provider will not be used and a user will only be a member of groups that were explicitly assigned to him locally. With the 'sso' mode, groups returned from Identity Provider will be used instead.
Creates a new environment.
Sets the name of the new environment. It must be a valid HQ resource name: it can only contain lowercase alphanumeric characters or hyphens; hyphens cannot appear at the end or start; the length is 63 characters at most.
Sets the display name of the new environment. If not provided, the value of "name" will be used.
Enumerates Tiers.
Allows attaching custom string key/values to resources. The following maxima apply:
Happy response.
Contains the resource identifier for use in access control policies.
Enumerates Tiers.
Contains dynamic properties of the Agent, brought in via a connected agent. Only when the agent is connected to HQ, agent info can be updated. An environment that never had a connected agent cannot have a LiveAgentInfo.
Signals whether an agent is currently connected.
Is a collection of fields related to an agent. Updated only when an agent is connected.
Contains the time instant this object as a whole was updated.
Is measured in seconds.
Bundles licence info as gathered by the agent through Lenses' API.
Is set to the hostname of the machine the agent runs on.
Contains the version of the agent executable.
Bundles several categories of agent metrics.
Is optionally part of AgentMetrics. Contains Kafka-specific metrics. Unavailable if Zoopeeker is not configured.
Is a part of AgentMetrics. Contains Data related metrics.
Is unavailable without Zookeeper. Total size of all topic data including replicas on disk [bytes].
Is unavailable without Zookeeper. Data written to the brokers [bytes/s].
Is unavailable without Zookeeper. Data read from the brokers [bytes/s].
Is unavailable without Zookeeper. Data written to the brokers [msg/s].
Is a part of AgentMetrics. Contains Apps metrics.
Is a part of AgentMetrics. Contains Kafka Connect metrics.
Is a part of AgentMetrics. Contains miscellaneous metrics.
Allows attaching custom string key/values to resources. The following maxima apply:
Returns the backend's meta information.
Happy response.
Is set to the HQ build version.
Is set to the HQ build id.
Is set to the HQ backend build id.
Is set to the HQ UI build id.
Equals runtime.GOOS.
Equals runtime.GOARCH.
Is set to the instant the backend started.
Equals runtime.Memstats.Alloc.
Equals runtime.Memstats.Sys.
Equals runtime.Memstats.GCCPUFraction.
Equals runtime.NumGoroutine().
Returns a specific user
Happy response.
Contains the canonical and unique user's user name. Potentially an implicit reference to a corresponding entity in an external system in case of SSO.
Contains the resource identifier for use in access control policies.
Contains the resource identifier for use in access control policies.
Is set to the number of users in this group.
Is set to the number of service accounts in this group.
Is set to the number of roles associated with this group.
Allows attaching custom string key/values to resources. The following maxima apply:
Updates when this user has interaction with the API.
Models a user's Profile.
Contains the users' full name, e.g. Mary Jane Doe.
Contains the users' email address, e.g. mary.jane@doe.net. Note that this is not necessarily the same as the user's name, which often looks like an email address, but is not per se.
Allows attaching custom string key/values to resources. The following maxima apply:
Allows updating fields of the user profile.
Contains the users' full name, e.g. Mary Jane Doe.
Contains the users' email address, e.g. mary.jane@doe.net. Note that this is not necessarily the same as the user's name, which often looks like an email address, but is not per se.
Happy response.
Contains the canonical and unique user's user name. Potentially an implicit reference to a corresponding entity in an external system in case of SSO.
Contains the resource identifier for use in access control policies.
Contains the resource identifier for use in access control policies.
Is set to the number of users in this group.
Is set to the number of service accounts in this group.
Is set to the number of roles associated with this group.
Allows attaching custom string key/values to resources. The following maxima apply:
Updates when this user has interaction with the API.
Models a user's Profile.
Contains the users' full name, e.g. Mary Jane Doe.
Contains the users' email address, e.g. mary.jane@doe.net. Note that this is not necessarily the same as the user's name, which often looks like an email address, but is not per se.
Allows attaching custom string key/values to resources. The following maxima apply:
Returns a specific role.
Happy response.
Holds the unique name of this role.
Contains the resource identifier for use in access control policies.
Is either a single action or a list of actions.
Enumerates permission actions. This is an incomplete placeholder for illustration purposes.
Is either a single string or a list of strings.
Enumerates permission effects.
Allows attaching custom string key/values to resources. The following maxima apply:
Renews the service account's token. The current token is invalidated and a new one is generated. An optional expiration timestamp can be provided.
Determines the moment of token expiration. If not specified, the token will never expire.
Happy response.
Contains the resource identifier for use in access control policies.
Contains the resource identifier for use in access control policies.
Is set to the number of users in this group.
Is set to the number of service accounts in this group.
Is set to the number of roles associated with this group.
Allows attaching custom string key/values to resources. The following maxima apply:
If null, it won't expire.
Updates when this service account has interaction with the API.
Allows attaching custom string key/values to resources. The following maxima apply:
Creates a new user.
Sets the unique name of the new user. It must be a valid HQ resource name: it can only contain lowercase alphanumeric characters or hyphens; hyphens cannot appear at the end or start; the length is 63 characters at most.
Sets the display name of the new user. If not provided, the value of "name" will be used.
Allows attaching custom string key/values to resources. The following maxima apply:
Happy response.
Contains the canonical and unique user's user name. Potentially an implicit reference to a corresponding entity in an external system in case of SSO.
Contains the resource identifier for use in access control policies.
Contains the resource identifier for use in access control policies.
Is set to the number of users in this group.
Is set to the number of service accounts in this group.
Is set to the number of roles associated with this group.
Allows attaching custom string key/values to resources. The following maxima apply:
Updates when this user has interaction with the API.
Models a user's Profile.
Contains the users' full name, e.g. Mary Jane Doe.
Contains the users' email address, e.g. mary.jane@doe.net. Note that this is not necessarily the same as the user's name, which often looks like an email address, but is not per se.
Allows attaching custom string key/values to resources. The following maxima apply:
Assigns the given user exactly to the provided groups, ensuring they are not part of any other groups.
The name of the user.
Adds the user or service account to the groups (specified by their names).
Removes the user or service account from the groups (specified by their names). If a group is specified in both add_to_groups as well in here, removal wins.
Sets the user or service account memberships to those groups (specified by their names) in an absolute fashion (ensures user/sa will be exactly a member of those), if provided. Cannot be combined with the add_to_groups or remove_from_groups.
User groups membership updated successfully.
Contains the canonical and unique user's user name. Potentially an implicit reference to a corresponding entity in an external system in case of SSO.
Contains the resource identifier for use in access control policies.
Contains the resource identifier for use in access control policies.
Is set to the number of users in this group.
Is set to the number of service accounts in this group.
Is set to the number of roles associated with this group.
Allows attaching custom string key/values to resources. The following maxima apply:
Updates when this user has interaction with the API.
Models a user's Profile.
Contains the users' full name, e.g. Mary Jane Doe.
Contains the users' email address, e.g. mary.jane@doe.net. Note that this is not necessarily the same as the user's name, which often looks like an email address, but is not per se.
Allows attaching custom string key/values to resources. The following maxima apply:
Updates a user.
Updates the display name of the user.
Patches metadata. It has the following semantics:
Happy response.
Contains the canonical and unique user's user name. Potentially an implicit reference to a corresponding entity in an external system in case of SSO.
Contains the resource identifier for use in access control policies.
Contains the resource identifier for use in access control policies.
Is set to the number of users in this group.
Is set to the number of service accounts in this group.
Is set to the number of roles associated with this group.
Allows attaching custom string key/values to resources. The following maxima apply:
Updates when this user has interaction with the API.
Models a user's Profile.
Contains the users' full name, e.g. Mary Jane Doe.
Contains the users' email address, e.g. mary.jane@doe.net. Note that this is not necessarily the same as the user's name, which often looks like an email address, but is not per se.
Allows attaching custom string key/values to resources. The following maxima apply:
Assigns the given service account exactly to the provided groups, ensuring they are not part of any other groups.
The name of the service account.
Adds the user or service account to the groups (specified by their names).
Removes the user or service account from the groups (specified by their names). If a group is specified in both add_to_groups as well in here, removal wins.
Sets the user or service account memberships to those groups (specified by their names) in an absolute fashion (ensures user/sa will be exactly a member of those), if provided. Cannot be combined with the add_to_groups or remove_from_groups.
Service account groups membership updated successfully.
Contains the resource identifier for use in access control policies.
Contains the resource identifier for use in access control policies.
Is set to the number of users in this group.
Is set to the number of service accounts in this group.
Is set to the number of roles associated with this group.
Allows attaching custom string key/values to resources. The following maxima apply:
If null, it won't expire.
Updates when this service account has interaction with the API.
Allows attaching custom string key/values to resources. The following maxima apply:
Creates a new role.
Sets the unique name of the new role. It must be a valid HQ resource name: it can only contain lowercase alphanumeric characters or hyphens; hyphens cannot appear at the end or start; the length is 63 characters at most.
Sets the display name of the new role. If not provided, the value of "name" will be used.
Contains a list of permission statements.
Is either a single action or a list of actions.
Enumerates permission actions. This is an incomplete placeholder for illustration purposes.
Is either a single string or a list of strings.
Enumerates permission effects.
Allows attaching custom string key/values to resources. The following maxima apply:
Happy response.
Holds the unique name of this role.
Contains the resource identifier for use in access control policies.
Is either a single action or a list of actions.
Enumerates permission actions. This is an incomplete placeholder for illustration purposes.
Is either a single string or a list of strings.
Enumerates permission effects.
Allows attaching custom string key/values to resources. The following maxima apply:
Updates a role.
Updates the display name of the role.
Sets, if specififed, the new permission statements.
Is either a single action or a list of actions.
Enumerates permission actions. This is an incomplete placeholder for illustration purposes.
Is either a single string or a list of strings.
Enumerates permission effects.
Patches metadata. It has the following semantics:
Happy response.
Holds the unique name of this role.
Contains the resource identifier for use in access control policies.
Is either a single action or a list of actions.
Enumerates permission actions. This is an incomplete placeholder for illustration purposes.
Is either a single string or a list of strings.
Enumerates permission effects.
Allows attaching custom string key/values to resources. The following maxima apply:
Returns the currently authenticated user
Happy response.
Represents either a user or service account.
Contains the canonical and unique user's user name. Potentially an implicit reference to a corresponding entity in an external system in case of SSO.
Contains the resource identifier for use in access control policies.
Contains the resource identifier for use in access control policies.
Is set to the number of users in this group.
Is set to the number of service accounts in this group.
Is set to the number of roles associated with this group.
Allows attaching custom string key/values to resources. The following maxima apply:
Updates when this user has interaction with the API.
Models a user's Profile.
Contains the users' full name, e.g. Mary Jane Doe.
Contains the users' email address, e.g. mary.jane@doe.net. Note that this is not necessarily the same as the user's name, which often looks like an email address, but is not per se.
Allows attaching custom string key/values to resources. The following maxima apply:
Updates a group.
Updates the display name of the group.
Updates the Group description, if a value is provided.
Sets the Roles that are bound to this Group to the Roles (specified by their names), if provided.
Adds the users/principals (specified by their names) to this group, if provided.
Removes the users/principals (specified by their names) from this group, if provided. If members are specified in both add_members as well in here, removal wins.
Sets the members of this group to those users/principals (specified by their names) in an absolute fashion, if provided. Cannot be combined with the add_members or remove_members fields.
Patches metadata. It has the following semantics:
Happy response.
Holds the name of the Group. Must be unique.
Contains the resource identifier for use in access control policies.
Holds the unique name of this role.
Contains the resource identifier for use in access control policies.
Is set to the number of PermissionStatements in the Policy.
Allows attaching custom string key/values to resources. The following maxima apply:
Contains the resource identifier for use in access control policies.
Models a user's Profile.
Contains the users' full name, e.g. Mary Jane Doe.
Contains the users' email address, e.g. mary.jane@doe.net. Note that this is not necessarily the same as the user's name, which often looks like an email address, but is not per se.
Allows attaching custom string key/values to resources. The following maxima apply:
Contains the resource identifier for use in access control policies.
Allows attaching custom string key/values to resources. The following maxima apply:
Allows attaching custom string key/values to resources. The following maxima apply:
Gets a group by its name.
Happy response.
Holds the name of the Group. Must be unique.
Contains the resource identifier for use in access control policies.
Holds the unique name of this role.
Contains the resource identifier for use in access control policies.
Is set to the number of PermissionStatements in the Policy.
Allows attaching custom string key/values to resources. The following maxima apply:
Contains the resource identifier for use in access control policies.
Models a user's Profile.
Contains the users' full name, e.g. Mary Jane Doe.
Contains the users' email address, e.g. mary.jane@doe.net. Note that this is not necessarily the same as the user's name, which often looks like an email address, but is not per se.
Allows attaching custom string key/values to resources. The following maxima apply:
Contains the resource identifier for use in access control policies.
Allows attaching custom string key/values to resources. The following maxima apply:
Allows attaching custom string key/values to resources. The following maxima apply:
Retrieves a list of dataset tags
Get tags sorted by dataset count
"user"
A response wrapping a paginated list of datasets and the set of relative source types
Creates a new Group.
Sets the unique name of the new group. It must be a valid HQ resource name: it can only contain lowercase alphanumeric characters or hyphens; hyphens cannot appear at the end or start; the length is 63 characters at most.
Sets the display name of the new group. If not provided, the value of "name" will be used.
Sets the description of the new group.
Lists principal names (users, service accounts) to be member of this group.
Sets the Roles that are bound to this Group by name.
Allows attaching custom string key/values to resources. The following maxima apply:
Happy response.
Holds the name of the Group. Must be unique.
Contains the resource identifier for use in access control policies.
Holds the unique name of this role.
Contains the resource identifier for use in access control policies.
Is set to the number of PermissionStatements in the Policy.
Allows attaching custom string key/values to resources. The following maxima apply:
Contains the resource identifier for use in access control policies.
Models a user's Profile.
Contains the users' full name, e.g. Mary Jane Doe.
Contains the users' email address, e.g. mary.jane@doe.net. Note that this is not necessarily the same as the user's name, which often looks like an email address, but is not per se.
Allows attaching custom string key/values to resources. The following maxima apply:
Contains the resource identifier for use in access control policies.
Allows attaching custom string key/values to resources. The following maxima apply:
Allows attaching custom string key/values to resources. The following maxima apply:
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).
"kafka"
"customer-positions"
Retrieves a single environment by name.
Happy response.
Contains the resource identifier for use in access control policies.
Enumerates Tiers.
Contains dynamic properties of the Agent, brought in via a connected agent. Only when the agent is connected to HQ, agent info can be updated. An environment that never had a connected agent cannot have a LiveAgentInfo.
Signals whether an agent is currently connected.
Is a collection of fields related to an agent. Updated only when an agent is connected.
Contains the time instant this object as a whole was updated.
Is measured in seconds.
Bundles licence info as gathered by the agent through Lenses' API.
Is set to the hostname of the machine the agent runs on.
Contains the version of the agent executable.
Bundles several categories of agent metrics.
Is optionally part of AgentMetrics. Contains Kafka-specific metrics. Unavailable if Zoopeeker is not configured.
Is a part of AgentMetrics. Contains Data related metrics.
Is unavailable without Zookeeper. Total size of all topic data including replicas on disk [bytes].
Is unavailable without Zookeeper. Data written to the brokers [bytes/s].
Is unavailable without Zookeeper. Data read from the brokers [bytes/s].
Is unavailable without Zookeeper. Data written to the brokers [msg/s].
Is a part of AgentMetrics. Contains Apps metrics.
Is a part of AgentMetrics. Contains Kafka Connect metrics.
Is a part of AgentMetrics. Contains miscellaneous metrics.
Allows attaching custom string key/values to resources. The following maxima apply:
Retrieves a list of datasets
The page number to be returned, must be greater than zero. Defaults to 1.
1
The elements amount on a single page, must be greater than zero.
25
A search keyword to match dataset, fields and description against.
"name"
A 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