API Stability Preview

The gcsConfigureArchiving() GraphQL mutation may be used to configure GCS archiving for a repository (e.g., bucket).

Syntax

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

graphql
gcsConfigureArchiving(
      repositoryName: string!, 
      bucket: string!, 
      format: ArchivingFormat!, 
      tagOrderInName: [string!], 
      startFromDateTime: datetime
   ): BooleanResultType!

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

Show:
graphql
mutation {
  gcsConfigureArchiving( 
      repositoryName: "humio",
      bucket: "pale-1",
      format: NDJSON,
      tagOrderInName: ["admin", "other"],
  )
  { result }
}
Example Responses
Show:
json
{
  "data": {
    "gcsConfigureArchiving": {
      "result": true
    }
  }
}

Given Datatypes

ArchivingFormat is an enumerated list of formats from which to choose. Below is a list of them along with descriptions of each:

Table: ArchivingFormat

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: Mar 12, 2025
NDJSONboolean  PreviewWhether the archive format uses the Newline Delimited JSON format.
RAWboolean  PreviewWhether the archive is in raw data, unformatted.

Returned Datatypes

BooleanResultType has one parameter. It's described here:

Table: BooleanResultType

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 24, 2024
resultsbooleanyes Long-TermWhether the mutation was performed.