API Stability Long-Term

The installedLicense() GraphQL query will return information about the license for the LogScale instance, if any license installed.

For more information on registering with LogScale Cloud, see the Starting with LogScale Cloud configuration page.

Syntax

Below is the syntax for the installedLicense() query field:

graphql
installedLicense: License

This query field is a simple one. There are no inputs, just the returned datatype, License, which is replaced with the couple of parameters it provides. Below is an example:

Show:
graphql
query {
  installedLicense {issuedAt, expiresAt}
}
Example Responses
Show:
json
{
  "data": {
    "installedLicense": {
      "issuedAt": "2024-07-18T12:48:27Z",
      "expiresAt": "2025-06-15T13:00:00Z"
    }
  }
}

Returned Datatypes

For License, there are only a couple of parameters. Below is a list of them:

Table: License

ParameterTypeRequiredDefaultStabilityDescription
Some arguments may be required, as indicated in the Required column. For some fields, this column indicates that a result will always be returned for this column.
Table last updated: Sep 17, 2024
expiresAtdatetimeyes Long-TermThe time at which the license expires.
issuedAtdatetimeyes Long-TermThe time at which the license was issued.