API Stability Long-Term

The enableScheduledReport() GraphQL mutation may be used to enable a scheduled report.

Syntax

Below is the syntax for the enableScheduledReport() mutation field:

graphql
enableScheduledReport(
      input: EnableScheduledReportInput!
   ): boolean!

Below is an example of how this mutation field might be used:

Show:
graphql
mutation {
  enableScheduledReport (input:
    { viewName: "humio",
      id: "uwsVwYlFWGqzD9bIgKeciwmiS1hCVMyn"
    } )
}
Example Responses
Show:
json
{
  "data": {
    "enableScheduledReport": true
  }
}

Given Datatypes

For EnableScheduledReportInput, there are two straightforward parameters that may be given. They're listed and described below:

Table: EnableScheduledReportInput

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 18, 2024
idstringyes Long-TermThe unique identifier of the scheduled report.
viewNamestringyes Long-TermThe name of the view of the scheduled report.