Language

AgentInsightMonitors.GetAllAsync Method

Definition

List Agent Insights monitors, optionally filtered by agent name.

public virtual System.ClientModel.AsyncCollectionResult<Azure.AI.Projects.AgentInsightMonitorListItem> GetAllAsync(string after = default, string before = default, int? limit = default, Azure.AI.Projects.Memory.MemoryStoreListOrder? order = default, string agentName = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : string * string * Nullable<int> * Nullable<Azure.AI.Projects.Memory.MemoryStoreListOrder> * string * System.Threading.CancellationToken -> System.ClientModel.AsyncCollectionResult<Azure.AI.Projects.AgentInsightMonitorListItem>
override this.GetAllAsync : string * string * Nullable<int> * Nullable<Azure.AI.Projects.Memory.MemoryStoreListOrder> * string * System.Threading.CancellationToken -> System.ClientModel.AsyncCollectionResult<Azure.AI.Projects.AgentInsightMonitorListItem>
Public Overridable Function GetAllAsync (Optional after As String = Nothing, Optional before As String = Nothing, Optional limit As Nullable(Of Integer) = Nothing, Optional order As Nullable(Of MemoryStoreListOrder) = Nothing, Optional agentName As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncCollectionResult(Of AgentInsightMonitorListItem)

Parameters

after
String

A cursor that identifies the last item in the previous page.

before
String

A cursor that identifies the first item in the next page.

limit
Nullable<Int32>

The maximum number of items to return. Defaults to 20.

order
Nullable<MemoryStoreListOrder>

Sort order by creation time. Defaults to descending.

agentName
String

Filter monitors by agent name.

cancellationToken
CancellationToken

The cancellation token that can be used to cancel the operation.

Returns

Exceptions

Service returned a non-success status code.

Applies to