APIkit for GraphQL Module Reference | MuleSoft Documentation
# APIkit for GraphQL Module Reference
## Configurations
### Config
Default configuration
#### Parameters
Description | Default Value | Required  
---|---|---  
The name for this configuration. Connectors reference the configuration with this name.  
API definition | Defines the path to the API definition resource, for example: `resource::7ddfc767-c5b3-4583-9997-a468e251acd2:posts:1.0.0:graphql:zip:api.graphql`  
Introspection Enabled | Enables schema introspection.  
Max Query Depth Allowed | The maximum depth a query can have. The value must be greater than 1.  
Max Query Complexity Allowed | The maximum number of data fields a query can include. The value must be greater than 1.  
The identifier of this element is used to reference it in other components.  
#### Associated Operations
  *   * Serialize Batch


#### Associated Sources
  *   * 

## Operations
### Route
`<graphql-router:route>`
#### Parameters
Name | Type | Description | Default Value | Required  
---|---|---|---|---  
Configuration |  The name of the configuration to use  
Content of the message (usually, the payload)  
Output MIME Type |  The MIME type of the payload that this operation outputs  
Output Encoding |  The encoding of the payload that this operation outputs  
ConfigurationProvider |  The name of the configuration you use to execute this component  
Streaming Strategy | 
  * Repeatable In Memory Stream
  * Repeatable File Store Stream
  * Non-Repeatable Stream

|  Configure repeatable streaming strategy  
Target Variable |  The name of a variable on which the operation output is placed  
Target Value |  An expression that is evaluated against the operation output and the outcome of that expression is stored in the target variable  
#### Configurations
### Serialize
`<graphql-router:serialize>`
#### Parameters
Name | Type | Description | Default Value | Required  
---|---|---|---|---  
Configuration |  The name of the configuration you use  
Inbound Content |  Content of the message (usually, the payload)  
ConfigurationProvider |  The name of the configuration you use to execute this component  
Object Type Name |  The object-type name  
The field name  
Target Variable |  The name of a variable on which the operation output is placed  
Target Value |  An expression that is evaluated against the operation output and the outcome of that expression is stored in the target variable  
#### Configurations
### Serialize Batch
`<graphql-router:serialize-batch>`
#### Parameters
Name | Type | Description | Default Value | Required  
---|---|---|---|---  
Configuration |  The name of the configuration you use  
Object Type Name |  The object-type name  
Inbound Content |  Content of the message (usually, the payload)  
ConfigurationProvider |  The name of the configuration you use to execute this component  
Target Variable |  The name of a variable on which the operation output is placed  
Target Value |  An expression that is evaluated against the operation output and the outcome of that expression is stored in the target variable  
#### Configurations
## Sources
### Data Fetcher
`<graphql-router:data-fetcher>`
#### Parameters
Name | Type | Description | Default Value | Required  
---|---|---|---|---  
Configuration |  The name of the configuration you use  
Output MIME Type |  The MIME type of the payload that this operation outputs  
Output Encoding |  The encoding of the payload that this operation outputs  
ConfigurationProvider |  The name of the configuration you use to execute this component  
Primary Node Only |  Whether this source should only be executed on the primary node when running in cluster  
Streaming Strategy | 
  * Repeatable In Memory Stream
  * Repeatable File Store Stream
  * Non-Repeatable Stream

|  Configure repeatable streaming strategy  
Redelivery Policy |  Redelivery Policy |  Defines a policy for processing the redelivery of the same message  
Object Type Name |  The object-type name  
The field name  
Body Content |  Content of the message (usually, the payload)  
#### Output
**Attributes Type** | * Data Fetcher Attributes  
---|---  
#### Configurations
### Data Loader
`<graphql-router:data-loader>`
#### Parameters
Name | Type | Description | Default Value | Required  
---|---|---|---|---  
Configuration |  The name of the configuration you use  
Object Type Name |  The object-type name  
ConfigurationProvider |  The name of the configuration you use to execute this component  
Primary Node Only |  Whether this source should only be executed on the primary node when running in cluster  
Redelivery Policy |  Redelivery Policy |  Defines a policy for processing the redelivery of the same message  
Body Content |  Content of the message (usually, the payload)  
#### Output
Array of Any  
---  
#### Configurations
## Types
### Data Fetcher Attributes
Field | Type | Description | Default Value | Required  
---|---|---|---|---  
Alias of the queried field  
Arguments of the queried field  
Selected Fields |  Map of subfields selected from this compound type  
Actual value of the fetched field parent  
### Repeatable in Memory Stream
Field | Type | Description | Default Value | Required  
---|---|---|---|---  
Initial Buffer Size |  The amount of memory that is allocated to consume the stream and provide random access to it. If the stream contains more data than buffer capacity, then it is expanded according to the `bufferSizeIncrement` attribute, with an upper limit of `maxInMemorySize`.  
Buffer Size Increment |  How much buffer size expands if it exceeds its initial size. A value of zero or lower specifies that the buffer doesn’t expand. When the buffer is full, a `STREAM_MAXIMUM_SIZE_EXCEEDED` error occurs.  
Max Buffer Size |  The maximum amount of memory used. If more is used, a `STREAM_MAXIMUM_SIZE_EXCEEDED` error is raised. A value lower or equal to zero means no limit.  
Buffer Unit |  Enumeration, one of: |  These attributes are expressed in this unit.  
### Repeatable File Store Stream
Field | Type | Description | Default Value | Required  
---|---|---|---|---  
In Memory Size |  Defines the maximum memory that the stream uses to keep data in memory. If it consumes more, the stream buffers the content on disk.  
Buffer Unit |  Enumeration, one of: |  The unit for expressing `maxInMemorySize`  
### Redelivery Policy
Field | Type | Description | Default Value | Required  
---|---|---|---|---  
Max Redelivery Count |  The maximum number of times a message can be redelivered and processed unsuccessfully before triggering a "Process failed" message.  
Message Digest Algorithm |  The secure hashing algorithm to use. If not set, the default is SHA-256.  
Message Identifier | 
  * Redelivery Policy Message Identifier

|  The strategy to use to identify the messages  
Object Store |  ObjectStore |  The object store where the redelivery counter for each message is stored  
### Redelivery Policy Message Identifier
Field | Type | Description | Default Value | Required  
---|---|---|---|---  
Use Secure Hash |  Whether to use a secure hash algorithm to identify a redelivered message  
Id Expression |  Expressions to use to determine when a message has been redelivered. You can only set this property if useSecureHash is false.