Skip to main content

Get-AtriaRequestLog

SYNOPSIS​

Retrieves the log entries associated with a specific request.

SYNTAX​

Get-AtriaRequestLog -RequestId <Int> [<CommonParameters>]

DESCRIPTION​

Returns the collection of log entries generated during the execution of a request. These logs are useful for diagnostics and post-operation auditing.

PARAMETERS​

  • RequestId <Int> (Required) The numeric identifier of the request for which logs are being queried.

  • <CommonParameters> Supports common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. More info: about_CommonParameters.

OUTPUTS​

Returns an array of log entries, each typically containing message text, timestamps, severity levels, and optional correlation or step identifiers.

EXAMPLES​

Example - View logs for a request​

Get-AtriaRequestLog -RequestId 9876

Returns logs related to request ID 9876, useful for debugging and traceability.

NOTES​

You must run Connect-AtriaApi beforehand to authenticate before calling this function.