Share via


Insights.GetAll Method

Definition

Overloads

Name Description
GetAll(Nullable<InsightType>, String, String, String, Nullable<Boolean>, CancellationToken)

List all insights in reverse chronological order (newest first).

GetAll(String, String, String, String, Nullable<Boolean>, RequestOptions)

[Protocol Method] List all insights in reverse chronological order (newest first).

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.

GetAll(Nullable<InsightType>, String, String, String, Nullable<Boolean>, CancellationToken)

Source:
Insights.cs

List all insights in reverse chronological order (newest first).

public virtual System.ClientModel.CollectionResult<Azure.AI.Projects.Insight> GetAll(Azure.AI.Projects.InsightType? type = default, string evalId = default, string runId = default, string agentName = default, bool? includeCoordinates = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : Nullable<Azure.AI.Projects.InsightType> * string * string * string * Nullable<bool> * System.Threading.CancellationToken -> System.ClientModel.CollectionResult<Azure.AI.Projects.Insight>
override this.GetAll : Nullable<Azure.AI.Projects.InsightType> * string * string * string * Nullable<bool> * System.Threading.CancellationToken -> System.ClientModel.CollectionResult<Azure.AI.Projects.Insight>
Public Overridable Function GetAll (Optional type As Nullable(Of InsightType) = Nothing, Optional evalId As String = Nothing, Optional runId As String = Nothing, Optional agentName As String = Nothing, Optional includeCoordinates As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As CollectionResult(Of Insight)

Parameters

type
Nullable<InsightType>

Filter by the type of analysis.

evalId
String

Filter by the evaluation ID.

runId
String

Filter by the evaluation run ID.

agentName
String

Filter by the agent name.

includeCoordinates
Nullable<Boolean>

Whether to include coordinates for visualization in the response. Defaults to false.

cancellationToken
CancellationToken

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

Returns

Exceptions

Service returned a non-success status code.

Applies to

GetAll(String, String, String, String, Nullable<Boolean>, RequestOptions)

Source:
Insights.cs

[Protocol Method] List all insights in reverse chronological order (newest first).

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
public virtual System.ClientModel.Primitives.CollectionResult GetAll(string type, string evalId, string runId, string agentName, bool? includeCoordinates, System.ClientModel.Primitives.RequestOptions options);
abstract member GetAll : string * string * string * string * Nullable<bool> * System.ClientModel.Primitives.RequestOptions -> System.ClientModel.Primitives.CollectionResult
override this.GetAll : string * string * string * string * Nullable<bool> * System.ClientModel.Primitives.RequestOptions -> System.ClientModel.Primitives.CollectionResult
Public Overridable Function GetAll (type As String, evalId As String, runId As String, agentName As String, includeCoordinates As Nullable(Of Boolean), options As RequestOptions) As CollectionResult

Parameters

type
String

Filter by the type of analysis.

evalId
String

Filter by the evaluation ID.

runId
String

Filter by the evaluation run ID.

agentName
String

Filter by the agent name.

includeCoordinates
Nullable<Boolean>

Whether to include coordinates for visualization in the response. Defaults to false.

options
RequestOptions

The request options, which can override default behaviors of the client pipeline on a per-call basis.

Returns

The response returned from the service.

Exceptions

Service returned a non-success status code.

Applies to