Skip to content

Get-EAIQueryField

Terminal window
Get-EAIQueryField [[-RecordType] <string>] [[-Usage] <string>] [<CommonParameters>]

Get-EAIQueryField returns the query-path field names used by Invoke-EAIRecordsQuery, Build-EAIQueryFilter, and related Edwin UI Query APIs. These names often differ from properties on objects returned by the API (for example meta.eventTimestamp vs cf.eventTime).

Use this cmdlet to discover valid -OrderField, -Field, and filter field references before building queries.

Terminal window
Get-EAIQueryField
Terminal window
Get-EAIQueryField -RecordType events -Usage Order
Terminal window
Get-EAIQueryField -RecordType alerts -Usage Filter | Format-Table Field, Label, Type

Optional record table filter: events, alerts, or insights.

Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 0
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

Optional usage filter: Filter, Order, or Return (field projection).

Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 1
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.