ProjectResponsesClient.GetProjectResponsesAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Asynchronously gets project responses, optionally filtered by agent or conversation.
public virtual System.ClientModel.AsyncCollectionResult<OpenAI.Responses.ResponseResult> GetProjectResponsesAsync(Azure.AI.Extensions.OpenAI.AgentReference agent = default, string conversationId = default, int? limit = default, string order = default, string after = default, string before = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetProjectResponsesAsync : Azure.AI.Extensions.OpenAI.AgentReference * string * Nullable<int> * string * string * string * System.Threading.CancellationToken -> System.ClientModel.AsyncCollectionResult<OpenAI.Responses.ResponseResult>
override this.GetProjectResponsesAsync : Azure.AI.Extensions.OpenAI.AgentReference * string * Nullable<int> * string * string * string * System.Threading.CancellationToken -> System.ClientModel.AsyncCollectionResult<OpenAI.Responses.ResponseResult>
Public Overridable Function GetProjectResponsesAsync (Optional agent As AgentReference = Nothing, Optional conversationId As String = Nothing, Optional limit As Nullable(Of Integer) = Nothing, Optional order As String = Nothing, Optional after As String = Nothing, Optional before As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncCollectionResult(Of ResponseResult)
Parameters
- agent
- AgentReference
The agent used to filter the returned responses.
- conversationId
- String
The conversation ID used to filter the returned responses.
- order
- String
The order used to sort returned responses.
- after
- String
The response ID after which results should be returned.
- before
- String
The response ID before which results should be returned.
- cancellationToken
- CancellationToken
The cancellation token that can be used to cancel the operation.
Returns
The project responses.