API Stability Short-Term

The dynamicConfig() GraphQL query returns the current value for the dynamic configuration.

For more information on configuring all aspects of LogScale, see the Configuration Settings reference section.

Syntax

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

graphql
dynamicConfig(
     dynamicConfig: DynamicConfig!
   ): string!

This query is fairly versatile. Below is an example calling for information on the currentUser, similar to using currentUser() .

Show:
graphql
query{
   dynamicConfig:currentUser {
     id
     firstName
     isOrgRoot
   }
}
Example Responses
Show:
json
{
  "data": {
    "dynamicConfig": { 
      "id": "jSl8Iz25SLwiEUzXBE6YDetG",
      "firstName": "Bob",
      "isOrgRoot": true
    }
  }
}

Per the requested fields in the return datatype, the example above returned the current user's unique identifier, first name and answered the question as to whether they're a root user.

Given Datatypes

For the given datatype, dynamicConfig(), there are several values from which to choose. Below is a list of them along with a description of each:

Table: DynamicConfig

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: Apr 2, 2025