@azure/ai-projects package

Classes

AIProjectClient

The main client for the AIProjectClient

VoiceAgentAuthenticationError

An error raised while acquiring a Microsoft Entra access token.

VoiceAgentConnectionError

An error raised by the WebSocket connection.

VoiceAgentLiveClient

Connects to Foundry voice agents that use GPT Live.

VoiceAgentProtocolError

An error raised when a WebSocket message does not match the voice-agent protocol.

VoiceAgentRealtimeClient

Connects to Foundry voice agents that use the Realtime protocol.

VoiceAgentRealtimeError

Base error raised by the Voice Agents WebSocket clients.

Interfaces

@azure/ai-projects.Index
A2APreviewTool

An agent implementing the A2A protocol.

A2APreviewToolboxTool

An A2A tool stored in a toolbox.

A2AProtocolConfiguration

Configuration specific to the A2A protocol.

A2ATool

An agent implementing the A2A protocol.

A2AToolboxTool

An A2A tool stored in a toolbox.

AIProjectClientOptionalParams

Optional parameters for the client.

AISearchIndexResource

A AI Search Index resource.

ActivityProtocolConfiguration

Configuration specific to the activity protocol.

Agent

model interface Agent

AgentBlueprintReference

model interface AgentBlueprintReference

AgentCard

model interface AgentCard

AgentCardSkill

model interface AgentCardSkill

AgentClusterInsightRequest

Insights on set of Agent Evaluation Results

AgentClusterInsightResult

Insights from the agent cluster analysis.

AgentDataGenerationJobSource

Agent source for data generation jobs — references an agent to fetch instructions and metadata from.

AgentDefinition

Base definition interface for agents. Contains the agent kind and optional RAI configuration.

AgentEndpointAuthorizationScheme

model interface AgentEndpointAuthorizationScheme

AgentEndpointConfig

model interface AgentEndpointConfig

AgentEvaluatorGenerationJobSource

Agent source for evaluator generation jobs — references an agent to fetch instructions and metadata from.

AgentFilterTraceSource

A trace source that selects traces by agent reference with time-based filtering.

AgentHarness

(Preview) A managed runtime and agent loop used to execute a prompt agent.

AgentIdentity

model interface AgentIdentity

AgentInsight

A persisted issue discovered from an agent's traces.

AgentInsightDetails

Additional insight details. Omitted unless details are requested.

AgentInsightEstimatedCost

Estimated Agent Insights cost.

AgentInsightHighlightedTrace

A highlighted trace that provides evidence for an agent insight.

AgentInsightJsonObject

A JSON object used in Agent Insights payloads.

AgentInsightLinkedTrace

A lightweight trace reference linked to an agent insight as supporting evidence.

AgentInsightMonitor

A per-agent Agent Insights monitor that owns configuration, runs, and discovered insights.

AgentInsightMonitorCreate

Fields accepted when creating an Agent Insights monitor for an agent.

AgentInsightMonitorListItem

Monitor list item without the summary.

AgentInsightMonitorUpdate

Fields that can be updated on an Agent Insights monitor.

AgentInsightMonitorsCancelRunOptionalParams

Optional parameters.

AgentInsightMonitorsCreateOptionalParams

Optional parameters.

AgentInsightMonitorsCreateRunOptionalParams

Optional parameters.

AgentInsightMonitorsDeleteOptionalParams

Optional parameters.

AgentInsightMonitorsGetInsightOptionalParams

Optional parameters.

AgentInsightMonitorsGetOptionalParams

Optional parameters.

AgentInsightMonitorsGetRunOptionalParams

Optional parameters.

AgentInsightMonitorsListInsightsOptionalParams

Optional parameters.

AgentInsightMonitorsListOptionalParams

Optional parameters.

AgentInsightMonitorsListRunsOptionalParams

Optional parameters.

AgentInsightMonitorsOperations

Operations for AgentInsightMonitorsOperations.

AgentInsightMonitorsResetOptionalParams

Optional parameters.

AgentInsightMonitorsUpdateInsightOptionalParams

Optional parameters.

AgentInsightMonitorsUpdateOptionalParams

Optional parameters.

AgentInsightPriorities

Monitor analysis priorities.

AgentInsightPrioritiesRead

Monitor analysis priorities returned by the service.

AgentInsightProposedFix

A recommended fix for an agent insight.

AgentInsightProposedFixChange

A customer-renderable change in a proposed fix.

AgentInsightRecommendedAction

The recommended remediation for an agent insight.

AgentInsightRun

A long-running run that analyzes one agent's traces and updates that agent's insights.

AgentInsightRunCreate

Inputs used when creating an agent insight run.

AgentInsightRunInputs

Inputs recorded for an Agent Insights run.

AgentInsightRunResult

Result statistics produced when an agent insight run succeeds.

AgentInsightSummary

Service-generated agent summary.

AgentInsightSuspension

Structured reason why scheduled generation is suspended for a monitor.

AgentInsightTokenUsage

Token usage for an Agent Insights run.

AgentInsightUpdate

Fields that can be updated on an agent insight.

AgentInsightsOverview

The effective overview for an Agent Insights monitor.

AgentInsightsOverviewOverride

A user-provided overview that becomes effective immediately and seeds the next generation.

AgentOptimizationAgentCandidateOutput

Candidate output produced by an agent-optimization job.

AgentOptimizationAppInsightsTraceConnectionConfiguration

Selects a project-linked Application Insights component.

AgentOptimizationBaselineAgentConfiguration

Caller-supplied baseline agent values that cannot be resolved from the target agent.

AgentOptimizationCandidate

A candidate generated by an optimization job.

AgentOptimizationCandidateEvaluation

Comparative evaluation summary for a candidate.

AgentOptimizationCandidateFile

Metadata for an artifact generated for an optimization candidate.

AgentOptimizationCandidateOutput

Base candidate output. Job types define derived output models with their own fields.

AgentOptimizationCandidatePromotionInfo

Promotion metadata recorded for a candidate.

AgentOptimizationCandidateSearchConfiguration

Candidate search settings.

AgentOptimizationConfiguration

Configuration for optimizing an agent for measured quality.

AgentOptimizationConfigurationBase

Base model for type-specific optimization configuration.

AgentOptimizationCostEstimate

Estimated monetary cost. Present only when at least one contributing model has pricing data.

AgentOptimizationEstimateBand

A low/typical/ceiling range for an estimated quantity. Expected values may be fractional, including estimated model-call counts.

AgentOptimizationEstimateInputs

Inputs for estimating an agent-optimization job.

AgentOptimizationEstimateResult

Result returned when estimating an agent-optimization job.

AgentOptimizationEvaluationConfiguration

Reusable quality-measurement configuration.

AgentOptimizationEvaluationSet

Base discriminated model for an optimization evaluation set.

AgentOptimizationEvaluator

Reference to a named evaluator, optionally pinned to a version.

AgentOptimizationEvaluatorGenerationConfiguration

Base configuration for service-generated optimization evaluators. Currently supported for skill optimization only. Uses evaluation_configuration.evaluation_model; no separate generation model is accepted.

AgentOptimizationFixedTraceWindow

Selects the latest readable trace conversations in a half-open interval, independently of feedback availability.

AgentOptimizationFoundryAgentTargetConfiguration

Identifies the Foundry agent that owns the configuration being optimized.

AgentOptimizationFoundrySkillOutputReference

Intended output identity, not proof that a skill version was created.

AgentOptimizationFoundrySkillReference

Exact reference to an existing skill version in the job's project.

AgentOptimizationInstructionsMutation

Instructions mutation.

AgentOptimizationJob

Agent optimization job resource — a long-running job that produces candidate changes to a Foundry agent configuration.

AgentOptimizationJobLatency

Average latency for one optimization stage and model.

AgentOptimizationJobResult

Partial or terminal result produced by an agent optimization job.

AgentOptimizationJobTokenUsage

Aggregated token usage for one optimization stage and model.

AgentOptimizationModelConfiguration

Identifies a model used by an optimization or evaluation step.

AgentOptimizationModelMutation

Model mutation.

AgentOptimizationMutation

Base candidate mutation.

AgentOptimizationPromptCandidateOutput

Candidate output produced by a prompt-optimization job.

AgentOptimizationResultCandidateSummary

Summary of candidates produced by an agent optimization job.

AgentOptimizationSkill

A skill in the manually supplied agent optimization surface.

AgentOptimizationSkillArtifactValidation

Per-skill artifact validation with explicit coverage and limitations.

AgentOptimizationSkillCandidateOutput

Output of the single generated candidate produced by trace-driven skill optimization. It can contain zero or more independent skill outcomes. Optional reporting-only evaluation reuses a baseline candidate and each candidate's evaluation summary; the baseline is not a generated alternative.

AgentOptimizationSkillExecutionStep

Latest recorded state of one logical step in the persisted execution snapshot.

AgentOptimizationSkillExecutionSummary

Persisted candidate execution snapshot, including partial runs. Not exposed on the job or candidate list response.

AgentOptimizationSkillOutputReference

Base intended output identity, not proof that a skill version was created.

AgentOptimizationSkillReference

Base reference to a skill used by optimization.

AgentOptimizationSkillResolvedContext

Frozen evidence and discovered baselines, without duplicating requested job configuration.

AgentOptimizationSkillResult

One independent skill outcome with its input baseline and intended or confirmed output.

AgentOptimizationSkillResultError

Structured error for an independent skill outcome.

AgentOptimizationSkillValidation

Base validation category; reporting-only performance scores use the baseline and generated candidate evaluation summaries.

AgentOptimizationSkillsMutation

Skill mutations.

AgentOptimizationSpace

The agent attributes and alternative values available to an agent-optimization search.

AgentOptimizationStageEstimate

Estimated values grouped by optimization stage.

AgentOptimizationTargetCompletionDataSource

Base source for a target-completion optimization evaluation set.

AgentOptimizationTargetCompletionDatasetReferenceDataSource

References an explicitly versioned registered Foundry dataset for target-completion evaluation.

AgentOptimizationTargetCompletionEvaluationSet

Evaluation set containing independent single-turn inputs.

AgentOptimizationTargetCompletionInlineDataSource

Supplies single-turn rows directly in the optimization request.

AgentOptimizationTargetCompletionTestCase

A single item in an inline evaluation set.

AgentOptimizationTargetConfiguration

Base target configuration for an optimization job.

AgentOptimizationToolsMutation

Tool mutations.

AgentOptimizationTraceConnectionConfiguration

Explicit project-authorized telemetry selection, not an arbitrary endpoint.

AgentOptimizationTraceEvaluatorGenerationConfiguration

Generates an evaluator from the job's trace evidence or a separate evaluator-only trace selection.

AgentOptimizationTraceIdsTraceWindow

Selects explicit trace IDs within the configured telemetry source and a lookback interval ending at job creation.

AgentOptimizationTraceWindow

Trace selection window for a one-time skill optimization job.

AgentOptimizationUserConversationSimulationDataSource

Base source for a user-conversation-simulation optimization evaluation set.

AgentOptimizationUserConversationSimulationDatasetReferenceDataSource

References an explicitly versioned registered Foundry dataset for user-conversation-simulation evaluation.

AgentOptimizationUserConversationSimulationEvaluationSet

Evaluation set containing scenarios for simulated conversations.

AgentOptimizationUserConversationSimulationInlineDataSource

Supplies Evals user-conversation simulation test cases directly in the optimization request.

AgentReference

Identifies an agent by name and, optionally, a specific version.

AgentSessionResource

An agent session providing a long-lived compute sandbox for hosted agent invocations.

AgentTaxonomyInput

Input configuration for the evaluation taxonomy when the input type is agent.

AgentTracesOptimizationContext

Trace evidence for skill optimization, selected independently of feedback availability.

AgentVersion

Represents a specific version of an agent. Includes metadata, versioning, creation time, and agent definition.

AgenticIdentityPreviewCredentials

Agentic identity credential definition

AgentsCancelOptimizationJobOptionalParams

Optional parameters.

AgentsCreateAgentFromManifestOptionalParams

Optional parameters.

AgentsCreateAgentVersionFromManifestOptionalParams

Optional parameters.

AgentsCreateFromPromptOptionalParams

Optional parameters.

AgentsCreateOptimizationJobOptionalParams

Optional parameters.

AgentsCreateOptionalParams

Optional parameters.

AgentsCreateSessionOptionalParams

Optional parameters.

AgentsCreateTelephonyBindingOptionalParams

Optional parameters.

AgentsCreateVersionFromCodeOptionalParams

Optional parameters.

AgentsCreateVersionOptionalParams

Optional parameters.

AgentsDeleteOptimizationJobOptionalParams

Optional parameters.

AgentsDeleteOptionalParams

Optional parameters.

AgentsDeleteSessionFileOptionalParams

Optional parameters.

AgentsDeleteSessionOptionalParams

Optional parameters.

AgentsDeleteTelephonyBindingOptionalParams

Optional parameters.

AgentsDeleteVersionOptionalParams

Optional parameters.

AgentsDisableOptionalParams

Optional parameters.

AgentsDownloadAgentCodeOptionalParams

Optional parameters.

AgentsDownloadOptimizationJobFileOptionalParams

Optional parameters.

AgentsDownloadSessionFileOptionalParams

Optional parameters.

AgentsEnableOptionalParams

Optional parameters.

AgentsEstimateOptimizationJobOptionalParams

Optional parameters.

AgentsGetOptimizationCandidateOptionalParams

Optional parameters.

AgentsGetOptimizationJobOptionalParams

Optional parameters.

AgentsGetOptionalParams

Optional parameters.

AgentsGetSessionLogStreamOptionalParams

Optional parameters.

AgentsGetSessionOptionalParams

Optional parameters.

AgentsGetTelephonyBindingOptionalParams

Optional parameters.

AgentsGetVersionOptionalParams

Optional parameters.

AgentsListOptimizationCandidatesOptionalParams

Optional parameters.

AgentsListOptimizationJobsOptionalParams

Optional parameters.

AgentsListOptionalParams

Optional parameters.

AgentsListSessionFilesOptionalParams

Optional parameters.

AgentsListSessionsOptionalParams

Optional parameters.

AgentsListTelephonyBindingsOptionalParams

Optional parameters.

AgentsListTelephonyCallsOptionalParams

Optional parameters.

AgentsListVersionsOptionalParams

Optional parameters.

AgentsOperations

Interface representing a Agents operations.

AgentsPromoteOptimizationCandidateOptionalParams

Optional parameters.

AgentsStopSessionOptionalParams

Optional parameters.

AgentsUpdateAgentFromManifestOptionalParams

Optional parameters.

AgentsUpdateAgentObjectOptionalParams

Optional parameters.

AgentsUpdateOptionalParams

Optional parameters.

AgentsUpdateTelephonyBindingOptionalParams

Optional parameters.

AgentsUploadSessionFileOptionalParams

Optional parameters.

AnswerResource

A completed question always includes its name, including null when unnamed.

AnswerResourceChoice

model interface AnswerResourceChoice

AnswerResourcePredicate

model interface AnswerResourcePredicate

AnswerResourceRefusal

The model declined to answer this question. Other questions in the same request can still receive answers.

AnswerResourceScore

model interface AnswerResourceScore

ApiErrorResponse

Error response for API failures.

ApiKeyCredentials

API Key Credential definition

ApplyPatchToolParam

Allows the assistant to create, delete, or update files using unified diffs.

ApproximateLocation

model interface ApproximateLocation

ArtifactProfile

Artifact profile of the model

AtTimeSchedule

Uses one earliest dispatch time for all recipients. Past times are allowed; preparation must still succeed.

AutoCodeInterpreterToolParam

Configuration for a code interpreter container. Optionally specify the IDs of the files to run the code on.

AzureAIAgentTarget

Represents a target specifying an Azure AI agent.

AzureAIModelTarget

Represents a target specifying an Azure AI model for operations requiring model selection.

AzureAISearchIndex

Azure AI Search Index Definition

AzureAISearchTool

The input definition information for an Azure AI search tool as used to configure an agent.

AzureAISearchToolResource

A set of index resources used by the azure_ai_search tool.

AzureAISearchToolboxTool

An Azure AI Search tool stored in a toolbox.

AzureAgentConfig

Configuration options for agent endpoint of getOpenAIClient method. Mainly used for hosted agents.

AzureFunctionBinding

The structure for keeping storage queue name and URI.

AzureFunctionDefinition

The definition of Azure function.

AzureFunctionStorageQueue

The structure for keeping storage queue name and URI.

AzureFunctionTool

The input definition information for an Azure Function Tool, as used to configure an Agent.

AzureOpenAIModelConfiguration

Azure OpenAI model configuration. The API version would be selected by the service for querying the model.

BaseCredentials

A base class for connection credentials

BetaEvaluationTaxonomiesCreateOptionalParams

Optional parameters.

BetaEvaluationTaxonomiesDeleteOptionalParams

Optional parameters.

BetaEvaluationTaxonomiesGetOptionalParams

Optional parameters.

BetaEvaluationTaxonomiesListOptionalParams

Optional parameters.

BetaEvaluationTaxonomiesOperations

Interface representing a BetaEvaluationTaxonomies operations.

BetaEvaluationTaxonomiesUpdateOptionalParams

Optional parameters.

BetaEvaluatorsGetCredentialsOptionalParams

Optional parameters.

BetaEvaluatorsListDiagnosticsOptionalParams

Optional parameters.

BetaEvaluatorsOperations

Operations for BetaEvaluatorsOperations.

BetaEvaluatorsPendingUploadOptionalParams

Optional parameters.

BetaInsightsGenerateOptionalParams

Optional parameters.

BetaInsightsGetOptionalParams

Optional parameters.

BetaInsightsListOptionalParams

Optional parameters.

BetaInsightsOperations

Interface representing a BetaInsights operations.

BetaMemoryStoresCreateMemoryOptionalParams

Optional parameters.

BetaMemoryStoresCreateOptionalParams

Optional parameters.

BetaMemoryStoresDeleteMemoryOptionalParams

Optional parameters.

BetaMemoryStoresDeleteOptionalParams

Optional parameters.

BetaMemoryStoresDeleteScopeOptionalParams

Optional parameters.

BetaMemoryStoresGetMemoryOptionalParams

Optional parameters.

BetaMemoryStoresGetOptionalParams

Optional parameters.

BetaMemoryStoresGetUpdateResultOptionalParams

Optional parameters.

BetaMemoryStoresListMemoriesOptionalParams

Optional parameters.

BetaMemoryStoresListOptionalParams

Optional parameters.

BetaMemoryStoresOperations

Interface representing a BetaMemoryStores operations.

BetaMemoryStoresSearchMemoriesOptionalParams

Optional parameters.

BetaMemoryStoresUpdateMemoriesOptionalParams

Optional parameters.

BetaMemoryStoresUpdateMemoryOptionalParams

Optional parameters.

BetaMemoryStoresUpdateOptionalParams

Optional parameters.

BetaModelsCreateOptions

Options for the create method that uploads local files and registers a model version.

BetaModelsDeleteOptionalParams

Optional parameters.

BetaModelsGetCredentialsOptionalParams

Optional parameters.

BetaModelsGetOptionalParams

Optional parameters.

BetaModelsListOptionalParams

Optional parameters.

BetaModelsListVersionsOptionalParams

Optional parameters.

BetaModelsOperations

Interface representing a BetaModels operations.

BetaModelsPendingCreateVersionOptionalParams

Optional parameters.

BetaModelsPendingUploadOptionalParams

Optional parameters.

BetaModelsUpdateOptionalParams

Optional parameters.

BetaOperations

Interface representing a Beta operations.

BetaRedTeamsCreateOptionalParams

Optional parameters.

BetaRedTeamsGetOptionalParams

Optional parameters.

BetaRedTeamsListOptionalParams

Optional parameters.

BetaRedTeamsOperations

Interface representing a BetaRedTeams operations.

BetaRoutinesCreateOrUpdateOptionalParams

Optional parameters.

BetaRoutinesDeleteOptionalParams

Optional parameters.

BetaRoutinesDisableOptionalParams

Optional parameters.

BetaRoutinesDispatchOptionalParams

Optional parameters.

BetaRoutinesEnableOptionalParams

Optional parameters.

BetaRoutinesGetOptionalParams

Optional parameters.

BetaRoutinesListOptionalParams

Optional parameters.

BetaRoutinesListRunsOptionalParams

Optional parameters.

BetaRoutinesOperations

Interface representing a BetaRoutines operations.

BetaSchedulesCreateOrUpdateOptionalParams

Optional parameters.

BetaSchedulesDeleteOptionalParams

Optional parameters.

BetaSchedulesGetOptionalParams

Optional parameters.

BetaSchedulesGetRunOptionalParams

Optional parameters.

BetaSchedulesListOptionalParams

Optional parameters.

BetaSchedulesListRunsOptionalParams

Optional parameters.

BetaSchedulesOperations

Interface representing a BetaSchedules operations.

BetaSkillsCreateOptionalParams

Optional parameters.

BetaSkillsCreateVersionFromFilesOptionalParams

Optional parameters.

BetaSkillsDeleteOptionalParams

Optional parameters.

BetaSkillsDeleteVersionOptionalParams

Optional parameters.

BetaSkillsDownloadOptionalParams

Optional parameters.

BetaSkillsDownloadVersionOptionalParams

Optional parameters.

BetaSkillsGetOptionalParams

Optional parameters.

BetaSkillsGetVersionOptionalParams

Optional parameters.

BetaSkillsListOptionalParams

Optional parameters.

BetaSkillsListVersionsOptionalParams

Optional parameters.

BetaSkillsOperations

Operations for BetaSkillsOperations.

BetaSkillsUpdateOptionalParams

Optional parameters.

BetaVoiceAgentsLiveConversationsDeleteOptionalParams

Optional parameters.

BetaVoiceAgentsLiveConversationsDownloadAudioItemOptionalParams

Optional parameters.

BetaVoiceAgentsLiveConversationsDownloadAudioOptionalParams

Optional parameters.

BetaVoiceAgentsLiveConversationsGetAudioItemOptionalParams

Optional parameters.

BetaVoiceAgentsLiveConversationsGetAudioOptionalParams

Optional parameters.

BetaVoiceAgentsLiveConversationsGetItemOptionalParams

Optional parameters.

BetaVoiceAgentsLiveConversationsGetOptionalParams

Optional parameters.

BetaVoiceAgentsLiveConversationsListItemsOptionalParams

Optional parameters.

BetaVoiceAgentsLiveConversationsListOptionalParams

Optional parameters.

BetaVoiceAgentsLiveConversationsOperations

Operations for managing persisted Live voice conversations.

BetaVoiceAgentsOperations

Preview GPT Live connections, stored Live conversations, and campaigns, with a legacy Realtime alias.

BetaVoiceAgentsTelephonyCancelOptionalParams

Optional parameters.

BetaVoiceAgentsTelephonyCreateOptionalParams

Optional parameters.

BetaVoiceAgentsTelephonyDeleteOptionalParams

Optional parameters.

BetaVoiceAgentsTelephonyGetOperationOptionalParams

Optional parameters.

BetaVoiceAgentsTelephonyGetOptionalParams

Optional parameters.

BetaVoiceAgentsTelephonyListOptionalParams

Optional parameters.

BetaVoiceAgentsTelephonyListValidationErrorsOptionalParams

Optional parameters.

BetaVoiceAgentsTelephonyOperations

Preview operations for managing voice-agent telephony campaigns.

BingCustomSearchConfiguration

A bing custom search configuration.

BingCustomSearchPreviewTool

The input definition information for a Bing custom search tool as used to configure an agent.

BingCustomSearchToolParameters

The bing custom search tool parameters.

BingGroundingSearchConfiguration

Search configuration for Bing Grounding

BingGroundingSearchToolParameters

The bing grounding search tool parameters.

BingGroundingTool

The input definition information for a bing grounding search tool as used to configure an agent.

BlobReference

Blob reference details.

BotServiceAuthorizationScheme

model interface BotServiceAuthorizationScheme

BotServiceRbacAuthorizationScheme

model interface BotServiceRbacAuthorizationScheme

BotServiceTenantAuthorizationScheme

model interface BotServiceTenantAuthorizationScheme

BrowserAutomationPreviewTool

The input definition information for a Browser Automation Tool, as used to configure an Agent.

BrowserAutomationPreviewToolboxTool

A browser automation tool stored in a toolbox.

BrowserAutomationTool

The input definition information for a Browser Automation Tool, as used to configure an Agent.

BrowserAutomationToolConnectionParameters

Definition of input parameters for the connection used by the Browser Automation Tool.

BrowserAutomationToolParameters

Definition of input parameters for the Browser Automation Tool.

BrowserAutomationToolboxTool

A browser automation tool stored in a toolbox.

CaptureStructuredOutputsTool

A tool for capturing structured outputs

ChartCoordinate

Coordinates for the analysis chart.

ChatCompletionTool

A function tool that can be used to generate a response.

ChatSummaryMemoryItem

A memory item containing a summary extracted from conversations.

ChoiceProbabilityResource

model interface ChoiceProbabilityResource

ClusterInsightResult

Insights from the cluster analysis.

ClusterTokenUsage

Token usage for cluster analysis

CodeBasedEvaluatorDefinition

Code-based evaluator definition using python code

CodeConfiguration

Code-based deployment configuration for a hosted agent.

CodeInterpreterTool

A tool that runs Python code to help generate a response to a prompt.

CodeInterpreterToolboxTool

A code interpreter tool stored in a toolbox.

ComparisonFilter

A filter used to compare a specified attribute key to a given value using a defined comparison operation.

CompoundFilter

Combine multiple filters using and or or.

ComputerTool

A tool that controls a virtual computer. Learn more about the computer tool.

ComputerUsePreviewTool

A tool that controls a virtual computer. Learn more about the computer tool.

Connection

Response from the list and get connections operations

ConnectionsGetOptionalParams

Optional parameters.

ConnectionsGetWithCredentialsOptionalParams

Optional parameters.

ConnectionsListOptionalParams

Optional parameters.

ConnectionsOperations

Interface representing a Connections operations.

ContainerAutoParam

model interface ContainerAutoParam

ContainerConfiguration

Container-based deployment configuration for a hosted agent.

ContainerNetworkPolicyAllowlistParam

model interface ContainerNetworkPolicyAllowlistParam

ContainerNetworkPolicyDisabledParam

model interface ContainerNetworkPolicyDisabledParam

ContainerNetworkPolicyDomainSecretParam

model interface ContainerNetworkPolicyDomainSecretParam

ContainerNetworkPolicyParam

Network access policy for the container.

ContainerSkill

model interface ContainerSkill

ContinuousEvaluationRuleAction

Evaluation rule action for continuous evaluation.

ConversationIdTraceSource

A trace source that selects traces by conversation IDs.

ConversationsDataGenerationJobConfiguration

The configuration for reconstructing existing traced conversations for evaluation, not synthetic conversation simulation. This preview requires scenario to be evaluation, sources of type traces, and the Foundry-Features: DataGenerationJobs=V1Preview request header. Conversation-level sampling is implicit; sample_level is not supported. Existing trace selection, annotations, and output dataset row schemas are unchanged. Create, get, and list responses preserve type: conversations. The service enforces the scenario, source, and conditional model-options requirements. Conversation-level output rows contain test_case_id, messages, tool_definitions, and metadata. A successful optional description adds test_case_description. If description generation fails, the row is retained with safe row-level status and error metadata, without raw provider or model error bodies.

CosmosDBIndex

CosmosDB Vector Store Index Definition

CreateAgentVersionFromCodeContent

Multipart request body for updating or versioning a code-based agent (POST /agents/{name} and POST /agents/{name}/versions).

CreateAgentVersionFromCodeMetadata

JSON metadata for code-based agent operations (create, update, create version). The agent name comes from the URL path parameter or the x-ms-agent-name header, so it is not included in this model. The content hash (SHA-256 of the zip) is carried in the x-ms-code-zip-sha256 header.

CreateChatCompletionRequestResponseFormat

An object specifying the format that the model must output. Setting to { "type": "json_schema", "json_schema": {...} } enables Structured Outputs which ensures the model will match your supplied JSON schema. Learn more in the Structured Outputs guide. Setting to { "type": "json_object" } enables the older JSON mode, which ensures the message the model generates is valid JSON. Using json_schema is preferred for models that support it.

CreateEvalCompletionsRunDataSource

A CompletionsRunDataSource object describing a model sampling configuration.

CreateEvalCompletionsRunDataSourceInputMessagesItemReference

model interface CreateEvalCompletionsRunDataSourceInputMessagesItemReference

CreateEvalCompletionsRunDataSourceInputMessagesTemplate

model interface CreateEvalCompletionsRunDataSourceInputMessagesTemplate

CreateEvalCompletionsRunDataSourceSamplingParams

model interface CreateEvalCompletionsRunDataSourceSamplingParams

CreateEvalJsonlRunDataSource

A JSONL dataset used as the input to an evaluation run. See evaluate datasets.

CreateSkillVersionFromFilesBody

Multipart request body for creating a skill version from files. Accepts either a single zip file or multiple individual skill files (directory upload). For zip uploads, the server extracts and validates contents. For directory uploads, files are validated as-is.

CreateTranscriptionResponseJsonUsage

Token usage statistics for the request.

CronTrigger

Cron based trigger.

CsvEvalRunDataSource

A CSV data source for evaluation runs.

See evaluation datasets.

CustomCredential

Custom credential definition

CustomGrammarFormatParam

A grammar defined by the user.

CustomRoutineTrigger

A custom event routine trigger.

CustomTextFormatParam

Unconstrained free-form text.

CustomToolParam

A custom tool that processes input using a specified format. Learn more about custom tools

CustomToolParamFormat

The input format for the custom tool. Default is unconstrained text.

DailyRecurrenceSchedule

Daily recurrence schedule.

DataGenerationJob

Data Generation Job resource.

DataGenerationJobConfiguration

Configuration for managing data generation jobs.

DataGenerationJobInputs

Caller-supplied inputs for a data generation job.

DataGenerationJobOutput

Output information for a data generation job.

DataGenerationJobResult

Result produced by a successful data generation job.

DataGenerationJobSource

The base source model for data generation jobs.

DataGenerationModelOptions

LLM model options for data generation jobs.

DataGenerationTokenUsage

Token usage information for a data generation job.

DataGenerationWarning

A nonfatal warning associated with data generation output.

DatasetCredential

Represents a reference to a blob for consumption

DatasetDataGenerationJobOutput

Dataset output for a data generation job.

DatasetEvaluationRuleAction

Configures a scheduled evaluation of dataset inputs.

DatasetEvaluatorGenerationJobSource

Dataset source for evaluator generation jobs — reference to a dataset.

DatasetReference

Reference to a Dataset whose concrete version has already been resolved.

DatasetVersion

DatasetVersion Definition

DatasetsCancelGenerationJobOptionalParams

Optional parameters.

DatasetsCreateGenerationJobOptionalParams

Optional parameters.

DatasetsCreateOrUpdateOptionalParams

Optional parameters.

DatasetsDeleteGenerationJobOptionalParams

Optional parameters.

DatasetsDeleteOptionalParams

Optional parameters.

DatasetsGetCredentialsOptionalParams

Optional parameters.

DatasetsGetGenerationJobOptionalParams

Optional parameters.

DatasetsGetOptionalParams

Optional parameters.

DatasetsListGenerationJobsOptionalParams

Optional parameters.

DatasetsListOptionalParams

Optional parameters.

DatasetsListVersionsOptionalParams

Optional parameters.

DatasetsOperations

Interface representing a Datasets operations.

DatasetsPendingUploadOptionalParams

Optional parameters.

DecisionResponse

model interface DecisionResponse

DefinitionUpdatedDiagnosticChange

A diagnostic change recording functional evaluator changes outside individual dimensions.

DeleteAgentResponse

A deleted agent Object

DeleteAgentVersionResponse

A deleted agent version Object

DeleteMemoryResponse

Response for deleting a memory item from a memory store.

DeleteMemoryStoreResponse

model interface DeleteMemoryStoreResponse

DeleteSkillResponse

A deleted skill.

DeleteSkillVersionResponse

A deleted skill version.

Deployment

Model Deployment Definition

DeploymentsGetOptionalParams

Optional parameters.

DeploymentsListOptionalParams

Optional parameters.

DeploymentsOperations

Interface representing a Deployments operations.

Dimension

One measurable criterion within a rubric. Quality criteria may use rating weights; safety criteria classify a behavior as allowed or disallowed.

DimensionAddedDiagnosticChange

A diagnostic change recording the addition of a rubric dimension.

DimensionRemovedDiagnosticChange

A diagnostic change recording the removal of a rubric dimension.

DimensionUpdatedDiagnosticChange

A diagnostic change recording an update to a rubric dimension.

DispatchRoutineResponse

Identifiers returned after a routine dispatch is queued.

EasyInputMessage

A message input to the model with a role indicating instruction following hierarchy. Instructions given with the developer or system role take precedence over instructions given with the user role. Messages with the assistant role are presumed to have been generated by the model in previous interactions.

EmbeddingConfiguration

Embedding configuration class

EmptyModelParam

model interface EmptyModelParam

EndpointBasedEvaluatorDefinition

Endpoint-based evaluator definition. The customer owns and hosts an HTTP endpoint that implements the evaluation contract. The evaluator references a Project Connection by name; the connection stores the endpoint URL and credentials (API Key or Entra ID). At execution time, the service resolves the connection to obtain the endpoint URL and authentication details, then calls the endpoint for each evaluation row.

EntraAuthorizationScheme

model interface EntraAuthorizationScheme

EntraIDCredentials

Entra ID credential definition

ErrorModel

model interface ErrorModel

EvalCsvFileIdSource

Represents a reference to an uploaded CSV file used as a source for evaluation data.

EvalItem

A message input to the model with a role indicating instruction following hierarchy. Instructions given with the developer or system role take precedence over instructions given with the user role. Messages with the assistant role are presumed to have been generated by the model in previous interactions.

EvalItemContentItemObject

A single content item: input text, output text, input image, or input audio.

EvalItemContentItemObjectInputTextContent

A text input to the model.

EvalItemContentOutputText

A text output from the model.

EvalItemInputImage

An image input block used within EvalItem content arrays.

EvalJsonlFileContentSource

model interface EvalJsonlFileContentSource

EvalJsonlFileContentSourceContent

model interface EvalJsonlFileContentSourceContent

EvalJsonlFileIdSource

model interface EvalJsonlFileIdSource

EvalResult

Result of the evaluation.

EvalRunDataSource

Base class for run data sources with discriminator support.

EvalRunResultCompareItem

Metric comparison for a treatment against the baseline.

EvalRunResultComparison

Comparison results for treatment runs against the baseline.

EvalRunResultSummary

Summary statistics of a metric in an evaluation run.

EvalStoredCompletionsSource

A StoredCompletionsRunDataSource configuration describing a set of filters

EvaluationAzureStandardVoiceModelConfiguration

Configures an Azure standard neural voice used to convert text to speech for evaluation through the Voice Live endpoint.

EvaluationComparisonInsightRequest

Evaluation Comparison Request

EvaluationComparisonInsightResult

Insights from the evaluation comparison.

EvaluationDataGenerationJob

Evaluation data generation job resource.

EvaluationDataGenerationJobInputs

Caller-supplied inputs for an evaluation data generation job.

EvaluationDataGenerationJobOutputConfiguration

Dataset output configuration for an evaluation data generation job.

EvaluationModelConfiguration

Configures the model that plays the simulated user. This model is separate from the evaluated target.

EvaluationResultSample

A sample from the evaluation result.

EvaluationRule

Evaluation rule model.

EvaluationRuleAction

Evaluation action model.

EvaluationRuleFilter

Evaluation filter model.

EvaluationRulesCreateOrUpdateOptionalParams

Optional parameters.

EvaluationRulesDeleteOptionalParams

Optional parameters.

EvaluationRulesGetOptionalParams

Optional parameters.

EvaluationRulesListOptionalParams

Optional parameters.

EvaluationRulesOperations

Operations for EvaluationRulesOperations.

EvaluationRunClusterInsightRequest

Insights on set of Evaluation Results

EvaluationRunClusterInsightResult

Insights from the evaluation run cluster analysis.

EvaluationScheduleTask

Evaluation task for the schedule.

EvaluationTarget

Base class for targets with discriminator support.

EvaluationTaxonomy

Evaluation Taxonomy Definition

EvaluationTaxonomyInput

Input configuration for the evaluation taxonomy.

EvaluationVoiceModelConfiguration

Voice configuration used to convert text to speech for evaluation through the Voice Live endpoint.

EvaluatorCredentialRequest

Request body for getting evaluator credentials

EvaluatorDefinition

Base evaluator configuration with discriminator

EvaluatorDiagnostic

The shared fields for recorded evaluator changes and health snapshots.

EvaluatorDiagnosticActor

The actor responsible for an evaluator lineage diagnostic.

EvaluatorFieldChange

A change to one functional evaluator field.

EvaluatorGenerationArtifacts

Service-managed provenance artifacts produced by an evaluator generation job. Present only on EvaluatorVersion resources created via the generation pipeline. The combined-JSONL Foundry Dataset is read-only and resolves to a versioned dataset in a service-reserved namespace.

EvaluatorGenerationInputs

Caller-supplied inputs for an evaluator generation job.

EvaluatorGenerationJob

Evaluator Generation Job resource — a long-running job that generates rubric-based evaluator definitions from source materials. On success, the result is the persisted EvaluatorVersion.

EvaluatorGenerationJobSource

The base source model for evaluator generation jobs. Polymorphic over type.

EvaluatorGenerationTokenUsage

Token consumption summary for an evaluator generation job. Populated when the job reaches a terminal state.

EvaluatorHealthMetrics

A snapshot of existing rubric-health computations. Missing components remain null and are not replaced with zeros.

EvaluatorMetric

Evaluator Metric

EvaluatorVersion

Evaluator Definition

EvaluatorsCancelGenerationJobOptionalParams

Optional parameters.

EvaluatorsCreateGenerationJobOptionalParams

Optional parameters.

EvaluatorsCreateVersionOptionalParams

Optional parameters.

EvaluatorsDeleteGenerationJobOptionalParams

Optional parameters.

EvaluatorsDeleteVersionOptionalParams

Optional parameters.

EvaluatorsGetGenerationJobOptionalParams

Optional parameters.

EvaluatorsGetVersionOptionalParams

Optional parameters.

EvaluatorsListGenerationJobsOptionalParams

Optional parameters.

EvaluatorsListOptionalParams

Optional parameters.

EvaluatorsListVersionsOptionalParams

Optional parameters.

EvaluatorsOperations

Operations for EvaluatorsOperations.

EvaluatorsUpdateVersionOptionalParams

Optional parameters.

ExternalAgentDefinition

The external agent definition. Represents a third-party agent hosted outside Foundry (for example, on GCP or AWS). Registration is metadata-only: Foundry records the agent definition to light up observability experiences (traces, evaluations) over customer-emitted OpenTelemetry data.

FabricDataAgentToolParameters

The fabric data agent tool parameters.

FabricIQPreviewTool

A FabricIQ server-side tool.

FabricIQPreviewToolboxTool

A FabricIQ tool stored in a toolbox.

FieldMapping

Field mapping configuration class

FileDataGenerationJobOutput

Azure OpenAI file output for a data generation job.

FileDataGenerationJobSource

File source for data generation jobs — Azure OpenAI file input.

FileDatasetVersion

FileDatasetVersion Definition

FileSearchTool

A tool that searches for relevant content from uploaded files. Learn more about the file search tool.

FileSearchToolboxTool

A file search tool stored in a toolbox.

FixedIntervalRetryPolicy

Shared direct-call/Campaign retry policy. Omission means one attempt; CallJobs return max_attempts=1 and interval=0 seconds.

FixedRatioVersionSelectionRule

model interface FixedRatioVersionSelectionRule

FolderDatasetVersion

FileDatasetVersion Definition

FoundryModelWarning

A warning associated with a model.

FunctionObject

Defines a function that a model can call, including its name and argument schema.

FunctionParameters

The parameters the functions accepts, described as a JSON Schema object. See the guide for examples, and the JSON Schema reference for documentation about the format. Omitting parameters defines a function with an empty parameter list.

FunctionShellToolParam

A tool that allows the model to execute shell commands.

FunctionShellToolParamEnvironment

model interface FunctionShellToolParamEnvironment

FunctionShellToolParamEnvironmentContainerReferenceParam

model interface FunctionShellToolParamEnvironmentContainerReferenceParam

FunctionShellToolParamEnvironmentLocalEnvironmentParam

model interface FunctionShellToolParamEnvironmentLocalEnvironmentParam

FunctionTool

Defines a function in your own code the model can choose to call. Learn more about function calling.

FunctionToolParam

model interface FunctionToolParam

GenAITracingOptions

Options for configuring GenAI tracing on a specific AIProjectClient instance.

Pass these under the tracingOptions key of AIProjectClientOptionalParams to enable GenAI tracing when the client is instantiated. Each client instance maintains its own independent tracing configuration.

GenerateVoiceAgentRequest

The inputs for generating a voice agent. Only kind and name are always required. The authoring service expands these inputs into a full, editable VoiceAgentDefinition, which is then created through POST /agents. The generated instructions and audio/voice settings are stored as separate fields on the resulting agent definition, so the caller can edit or override any of them afterward via standard agent versioning.

GetMicrosoft365PackageOptionalParams

Optional parameters.

GetMicrosoft365PublishDefaultsOptionalParams

Optional parameters.

GitHubCopilotHarness

(Preview) The legacy GitHub Copilot managed harness retained for compatibility. Use MicrosoftCopilotHarness for new prompt agents.

GitHubCopilotToolsetConfig

The legacy per-tool enablement override retained for compatibility. Use MicrosoftCopilotToolsetConfig for new integrations.

GitHubCopilotToolsetDefaultConfig

The legacy default enablement setting retained for compatibility. Use MicrosoftCopilotToolsetDefaultConfig for new integrations.

GitHubCopilotToolsetPreview

(Preview) The legacy GitHub Copilot toolset retained for compatibility. Use MicrosoftCopilotToolsetPreview for new integrations.

GitHubIssueRoutineTrigger

A GitHub issue routine trigger.

HeaderTelemetryEndpointAuth

Header-based secret authentication for a telemetry endpoint. The resolved secret value is injected as an HTTP header.

HealthComputedDiagnosticChange

Health computed during evaluator generation and retained as a historical snapshot. GET does not recompute these values after later edits.

HostedAgentDefinition

The hosted agent definition.

HourlyRecurrenceSchedule

Hourly recurrence schedule.

HumanEvaluationPreviewRuleAction

Evaluation rule action for human evaluation.

HybridSearchOptions

model interface HybridSearchOptions

ImageGenTool

A tool that generates images using the GPT image models.

ImageGenToolInputImageMask

model interface ImageGenToolInputImageMask

ImmediateSchedule

Dispatch automatically as soon as preparation succeeds and capacity permits.

IndexesCreateOrUpdateOptionalParams

Optional parameters.

IndexesDeleteOptionalParams

Optional parameters.

IndexesGetOptionalParams

Optional parameters.

IndexesListOptionalParams

Optional parameters.

IndexesListVersionsOptionalParams

Optional parameters.

IndexesOperations

Interface representing a Indexes operations.

InlineSkillParam

model interface InlineSkillParam

InlineSkillSourceParam

Inline skill payload

InlineVoiceSubagent

One inline voice subagent owned and versioned with its parent Voice Agent, not a separate Agent resource.

InputAudio

An audio input to the model.

InputAudioInputAudio

model interface InputAudioInputAudio

InputContent

model interface InputContent

InputContentInputFileContent

A file input to the model.

InputContentInputImageContent

An image input to the model. Learn about image inputs.

InputContentInputTextContent

A text input to the model.

InputTokensDetailsResource

model interface InputTokensDetailsResource

Insight

The response body for cluster insights.

InsightCluster

A cluster of analysis samples.

InsightGenerationRequest

The request body for generating an insight.

InsightModelConfiguration

Configuration of the model used in the insight generation.

InsightRequest

The request of the insights report.

InsightResult

The result of the insights.

InsightSample

A sample from the analysis.

InsightScheduleTask

Insight task for the schedule.

InsightSummary

Summary of the error cluster analysis.

InsightsMetadata

Metadata about the insights.

InvocationsProtocolConfiguration

Configuration specific to the invocations protocol.

InvocationsWsProtocolConfiguration

Configuration specific to the WebSocket-based invocations protocol.

InvokeAgentInvocationsApiDispatchPayload

A manual payload used to test an invocations API routine dispatch.

InvokeAgentInvocationsApiRoutineAction

Dispatches a routine through the raw invocations API. Exactly one of agent_name or agent_endpoint_id must be provided.

InvokeAgentResponsesApiDispatchPayload

A manual payload used to test a responses API routine dispatch.

InvokeAgentResponsesApiRoutineAction

Dispatches a routine through the responses API. Exactly one of agent_name or agent_endpoint_id must be provided.

ItemGenerationParams

Configures how the service prepares input items for an evaluation run before applying testing criteria.

Depending on type, preparation can generate new inputs, retrieve existing responses, transform source data, or simulate conversations. Each type selects a workflow-specific model with the parameters required by that preparation workflow. These parameters do not define the evaluated target or the testing criteria.

JobOperationState

Operation state for a long-running operation that creates a job resource.

CUSTOMIZATION: SDK-IMPROVEMENT: the emitted pollers resolve to the job's terminal result payload, which carries no identifier; jobId keeps the created job reachable.

LiveAllowedServerEventParam

A Live server event selector for the WebRTC frontend data channel.

LiveAllowedToolsChoiceParam

model interface LiveAllowedToolsChoiceParam

LiveApplyPatchToolInputParam

model interface LiveApplyPatchToolInputParam

LiveAudioFormat

Audio encoding and sample rate for audio sent and received over a Live WebSocket connection. WebRTC and SIP negotiate their media format separately.

LiveClientConfigParam

Startup-only capabilities for an untrusted frontend attached to a unified WebRTC session. Trusted sideband connections are unaffected.

LiveClientEvent

Client events for Live. Initialize a primary WebSocket with session.start and wait for session.started. WebRTC creation already starts the session. Audio append is primary WebSocket-only. See the Live prompting guide before writing frontend instructions and delegation policies.

LiveClientEventLiveCommentaryAppendParam

Provide context the Live model can communicate to the user, optionally for an existing client delegation. Rejected while an audio fixture is active.

LiveClientEventLiveDecisionCreateParam

Evaluate the configured questions using the current conversation and Decision inputs. Reusing an event_id is rejected for the lifetime of the session.

LiveClientEventLiveDecisionItemCreateParam

Append an input item for future decisions without starting an evaluation or changing Live voice context.

LiveClientEventLiveDecisionItemDeleteParam

Delete an input item from future decisions without starting an evaluation or changing Live voice context.

LiveClientEventLiveInputAudioAppendEvent

Send audio to a Live session over its primary WebSocket. WebRTC and SIP sessions send audio over their media transport.

LiveClientEventLiveInputAudioMuteParam

Mute audio input to the Live model without closing the session. The server acknowledges with session.input_audio.muted.

LiveClientEventLiveInputAudioUnmuteParam

Resume audio input to a Live model after muting it. The server acknowledges with session.input_audio.unmuted. An active audio fixture still pauses inference until playback finishes.

LiveClientEventLiveInstructionsAppendParam

Append developer instructions to the Live conversation while it is running, optionally associating them with an existing client delegation. Rejected while an audio fixture is active. These instructions remain in conversation history through compaction and are included in future backend delegations. For external audio, describe content already delivered so the assistant does not repeat it.

LiveClientEventLiveOutputAudioFixturePlayParam

Play one complete audio fixture through the session output. Send this event over the primary WebSocket or a server sideband. Audio must be raw mono PCM16 little-endian at 24 kHz, regardless of the session audio format, and at most 30 seconds. The entire payload is validated before model speech is interrupted and input is muted. Only one fixture can be active. fixture.playing acknowledges acceptance and fixture.played reports server mixer drain. These notifications are not exact transport-media boundaries. Input arriving during playback is dropped and not replayed.

LiveClientEventLiveResponseCreateParam

Request a response from the Live session’s Responses backend, or continue a delegated response waiting for tool results. Requires Responses delegation.

LiveClientEventLiveResponseItemCreateParam

Add an input item to the Live session’s Responses backend. Requires Responses delegation; use response.create to request a response.

LiveClientEventLiveSessionCloseParam

Request that the Live session close. The terminal session.closed event contains the close reason and final usage.

LiveClientEventLiveSessionUpdateParam

Update the delegation settings or transcript triggers of an active Live session. The server acknowledges accepted changes with session.updated.

LiveClientEventLiveThinkingAppendParam

Provide silent reasoning or progress context to the Live model, optionally for an existing client delegation. Rejected while an audio fixture is active.

LiveCodeInterpreterToolInputParam

model interface LiveCodeInterpreterToolInputParam

LiveComputerToolInputParam

model interface LiveComputerToolInputParam

LiveContainerNetworkPolicyDisabledParam

model interface LiveContainerNetworkPolicyDisabledParam

LiveContainerReferenceParam

model interface LiveContainerReferenceParam

LiveContextWindowUsage

The latest measured context-window usage of the Live model. This is separate from billing usage and delegated Responses token usage.

LiveCustomToolInputParam

model interface LiveCustomToolInputParam

LiveCustomVoiceParam

model interface LiveCustomVoiceParam

LiveDataChannelConfigParam

Control which Live events an untrusted WebRTC frontend can send and receive over its data channel. These restrictions do not apply to trusted sideband connections.

LiveDecisionChoiceParam

model interface LiveDecisionChoiceParam

LiveDecisionChoiceQuestionParam

model interface LiveDecisionChoiceQuestionParam

LiveDecisionCompleted

model interface LiveDecisionCompleted

LiveDecisionCustomToolCallOutputParam

model interface LiveDecisionCustomToolCallOutputParam

LiveDecisionCustomToolCallParam

model interface LiveDecisionCustomToolCallParam

LiveDecisionFunctionCallOutputParam

model interface LiveDecisionFunctionCallOutputParam

LiveDecisionFunctionCallParam

model interface LiveDecisionFunctionCallParam

LiveDecisionInputImageParam

model interface LiveDecisionInputImageParam

LiveDecisionInputItemParam

model interface LiveDecisionInputItemParam

LiveDecisionInputItemParamMessage

model interface LiveDecisionInputItemParamMessage

LiveDecisionInputJsonParam

model interface LiveDecisionInputJsonParam

LiveDecisionInputTextParam

model interface LiveDecisionInputTextParam

LiveDecisionJsonObject

model interface LiveDecisionJsonObject

LiveDecisionPredicateQuestionParam

model interface LiveDecisionPredicateQuestionParam

LiveDecisionQuestion

model interface LiveDecisionQuestion

LiveDecisionQuestionsInputParam

Questions evaluated using the current transcript and the session's shared Decision items.

LiveDecisionScoreLevelParam

model interface LiveDecisionScoreLevelParam

LiveDecisionScoreQuestionParam

model interface LiveDecisionScoreQuestionParam

LiveDecisionStoredCustomToolCallOutputParam

model interface LiveDecisionStoredCustomToolCallOutputParam

LiveDecisionStoredCustomToolCallParam

model interface LiveDecisionStoredCustomToolCallParam

LiveDecisionStoredFunctionCallOutputParam

model interface LiveDecisionStoredFunctionCallOutputParam

LiveDecisionStoredFunctionCallParam

model interface LiveDecisionStoredFunctionCallParam

LiveDecisionStoredInputItemParam

model interface LiveDecisionStoredInputItemParam

LiveDecisionStoredInputItemParamMessage

model interface LiveDecisionStoredInputItemParamMessage

LiveDecisionTriggerInputParam

model interface LiveDecisionTriggerInputParam

LiveDecisionsDelegationUpdateParam

model interface LiveDecisionsDelegationUpdateParam

LiveDecisionsSettingsInputParam

model interface LiveDecisionsSettingsInputParam

LiveDecisionsSettingsUpdateParam

model interface LiveDecisionsSettingsUpdateParam

LiveDelegationReasoningInputParam

Reasoning options for Responses requests made on behalf of the Live session.

LiveDelegationTextInputParam

Text generation options for the Live session’s Responses backend.

LiveFileSearchToolInputParam

model interface LiveFileSearchToolInputParam

LiveFunctionToolChoiceParam

model interface LiveFunctionToolChoiceParam

LiveFunctionToolInputParam

A function tool available to the Responses backend when the Live model delegates a task.

LiveHostedShellContainerAutoParam

model interface LiveHostedShellContainerAutoParam

LiveHostedShellNetworkPolicyAllowlistParam

model interface LiveHostedShellNetworkPolicyAllowlistParam

LiveHostedShellToolInputParam

A Responses shell tool. Use a hosted container or return local shell results with response.item.create. Domain secrets are not supported.

LiveImageGenerationToolInputParam

model interface LiveImageGenerationToolInputParam

LiveInitialAssistantMessageItemParam

An assistant message included in the initial text history of a Live session.

LiveInitialDeveloperMessageItemParam

A developer message included in the initial text history of a Live session.

LiveInitialInputTextContentPartParam

Text supplied in a developer or user message when starting a Live session.

LiveInitialItem

A developer, user, or assistant message supplied as text history before the Live session starts.

LiveInitialOutputTextContentPartParam

Assistant output text supplied as conversation history when starting a Live session.

LiveInitialSessionAudioOutputParam

Settings for speech generated by the Live model. Choose the voice before starting the session.

LiveInitialSessionAudioParam

Startup audio configuration. Only primary WebSockets accept audio.format; WebRTC and SIP negotiate their media format. Voice and format are immutable after startup.

LiveInitialTextContentPartParam

Assistant text supplied as conversation history when starting a Live session.

LiveInitialUserMessageItemParam

A user message included in the initial text history of a Live session.

LiveInlineSkillParam

model interface LiveInlineSkillParam

LiveInlineSkillSourceParam

Inline skill payload

LiveInputAudioAppend

Input audio received from the primary transport and reflected to a Live sideband connection before model-input muting.

LiveLiveError

Details of an error encountered by the Live session, including the affected parameter or client command when available.

LiveLocalEnvironmentParam

model interface LiveLocalEnvironmentParam

LiveLocalSkillParam

model interface LiveLocalSkillParam

LiveMCPToolChoiceParam

model interface LiveMCPToolChoiceParam

LiveMCPToolInputParam

model interface LiveMCPToolInputParam

LiveNamespaceToolInputParam

model interface LiveNamespaceToolInputParam

LiveOutputAudioDelta

An audio chunk generated by the Live model. Decode and play primary WebSocket chunks in delivery order using the configured session audio format. Sideband connections receive reflected output audio with timestamps.

LiveProgrammaticToolInputParam

model interface LiveProgrammaticToolInputParam

LiveResponsesDelegationSettingsInputParam

Model, prompt, and tool settings for tasks delegated by the Live session to a Responses backend.

LiveResponsesDelegationSettingsUpdateInputParam

Updates to the Responses backend of an existing Live session. Omitted settings retain their current values.

LiveResponsesDelegationUpdateParam

Update the Responses backend for an existing Live session without changing delegation ownership.

LiveServerEvent

An event sent by the Live API on a primary WebSocket or sideband connection.

LiveServerEventLiveCommentaryAppended

Returned when a session.commentary.append command is accepted into the Live session timeline. Acknowledges the added commentary without guaranteeing exact wording or completed audio playback.

LiveServerEventLiveDecisionEvent

A Decision API event for a Live delegation or transcript trigger. For a trigger, source_event_id identifies the transcript delta that caused this evaluation.

LiveServerEventLiveDecisionItemCreated

An input item was appended for future decisions.

LiveServerEventLiveDecisionItemDeleted

An input item was removed from future decisions.

LiveServerEventLiveDelegationCreated

Returned when the Live model delegates work to your application, Responses, or Decisions. Contains delegation metadata and the position on the session timeline where the work was delegated.

LiveServerEventLiveErrorEvent

Reports an error in the Live session, such as an invalid client command. Use error.client_event_id, when present, to identify the command that caused the error.

LiveServerEventLiveInfoEvent

An informational notice about the Live session, such as the event permissions applied to a frontend data channel.

LiveServerEventLiveInputAudioMuted

Acknowledges a session.input_audio.mute command. An independent input mute sends silence to the model and preserves sideband audio reflection. Fixture playback does not emit this event.

LiveServerEventLiveInputAudioUnmuted

Acknowledges a session.input_audio.unmute command, removing the independent input mute. An active audio fixture still pauses inference until playback finishes. Fixture playback does not emit this event.

LiveServerEventLiveInputTranscriptDelta

A transcript fragment for user input audio in the Live session. Accumulate fragments in delivery order; these events do not define complete turns or include a transcript-done event.

LiveServerEventLiveInstructionsAppended

Returned when a session.instructions.append command is accepted into the Live session timeline. Acknowledges the appended instructions without guaranteeing that the model has acted on them.

LiveServerEventLiveOutputAudioFixturePlayed

The complete audio fixture has drained from the server mixer and normal inference has resumed. Transport buffers may still contain audio; this event does not prove listener-side completion. The optional client_event_id echoes the play command. This event is not emitted for canceled or failed playback.

LiveServerEventLiveOutputAudioFixturePlaying

The existing playback path has accepted the validated audio fixture. This acknowledgment does not identify when the listener receives the first sample. The optional client_event_id echoes the play command.

LiveServerEventLiveOutputTranscriptDelta

A transcript fragment for assistant output audio in the Live session. Accumulate fragments in delivery order; these events do not define complete turns or include a transcript-done event.

LiveServerEventLiveResponseEvent

A streaming Responses API event from a backend delegated to by the Live session. Use the outer delegation_id to associate the nested stream with its Live delegation.

LiveServerEventLiveSessionClosed

Returned after the Live session finishes finalizing, with the close reason, final session snapshot, and cumulative audio usage. A connection closing without this event does not confirm successful finalization.

LiveServerEventLiveSessionStarted

Returned when a Live session has started. Contains the resolved session configuration, including server defaults.

LiveServerEventLiveSessionUpdated

Returned when a Live session update is accepted. Contains the resolved session configuration after the update.

LiveServerEventLiveSessionUsageUpdated

Reports cumulative Live audio usage and, when available, the most recent context-window usage. Delegated Responses token usage is reported separately in response.event events.

LiveServerEventLiveThinkingAppended

Returned when a session.thinking.append command is accepted into the Live session timeline. Acknowledges the added reasoning context without guaranteeing any spoken output.

LiveServerEventLiveTransportAnswered

The outbound SIP provider leg answered and media is established. Delivered only to sideband observers.

LiveServerEventLiveTransportDtmfReceived

A SIP DTMF keypress received from the caller. Delivered only to sideband observers.

LiveServerEventLiveTransportDtmfSent

A SIP DTMF keypress successfully sent to the SIP trunk. Delivered only to sideband observers; this is not a client command.

LiveServerEventLiveTransportFailed

An asynchronous outbound SIP setup failure. Delivered only to sideband observers.

LiveServerEventLiveTransportRinging

The outbound SIP provider leg is ringing or providing early media. Delivered only to sideband observers.

LiveSessionAudioFormatPCMParam

Raw, mono 16-bit little-endian PCM audio for a Live WebSocket connection.

LiveSessionAudioFormatPcmaParam

Raw, mono G.711 A-law audio for a Live WebSocket connection.

LiveSessionAudioFormatPcmuParam

Raw, mono G.711 μ-law audio for a Live WebSocket connection.

LiveSessionCreateParams

Initial configuration for a Live session, including its model, conversation instructions, audio, and delegated task handling.

LiveSessionCreateParamsDelegation

Who handles tasks delegated by the Live model. Omitted or null selects your application; use responses or decisions to delegate to the corresponding API.

LiveSessionCreateParamsDelegationLiveClientDelegationParam

Delegate tasks to your application. The Live session emits delegation events that your backend handles.

LiveSessionCreateParamsDelegationLiveDecisionsDelegationParam

model interface LiveSessionCreateParamsDelegationLiveDecisionsDelegationParam

LiveSessionCreateParamsDelegationLiveResponsesDelegationParam

Delegate tasks to a Responses model managed by the Live session.

LiveSessionStartEvent

Start a Live session on a primary WebSocket. Send this event before other commands and wait for session.started.

LiveSessionUpdateParams

Changes to an active Live session's delegation settings and transcript triggers.

LiveSessionUpdateParamsDelegation

Delegation settings to update. The delegation type must match the current session; omitted settings retain their values.

LiveSessionUpdateParamsDelegationLiveClientDelegationParam

Delegate tasks to your application. The Live session emits delegation events that your backend handles.

LiveSessionUsage

Cumulative audio duration for a Live session. Values are totals for the session, not increments to sum across usage events.

LiveSkillReferenceParam

model interface LiveSkillReferenceParam

LiveSpecificApplyPatchParam

Forces the model to call the apply_patch tool when executing a tool call.

LiveSpecificCodeInterpreterParam

model interface LiveSpecificCodeInterpreterParam

LiveSpecificComputerParam

model interface LiveSpecificComputerParam

LiveSpecificCustomToolParam

model interface LiveSpecificCustomToolParam

LiveSpecificFileSearchParam

model interface LiveSpecificFileSearchParam

LiveSpecificFunctionShellParam

Forces the model to call the shell tool when a tool call is required.

LiveSpecificImageGenParam

model interface LiveSpecificImageGenParam

LiveSpecificProgrammaticToolCallingParam

model interface LiveSpecificProgrammaticToolCallingParam

LiveSpecificWebSearchParam

model interface LiveSpecificWebSearchParam

LiveSpecificWebSearchPreviewParam

model interface LiveSpecificWebSearchPreviewParam

LiveToolSearchToolInputParam

model interface LiveToolSearchToolInputParam

LiveTransportCallError

model interface LiveTransportCallError

LiveWebSearchToolInputParam

A web search tool available to the Live session’s Responses backend.

LocalShellToolParam

A tool that allows the model to execute shell commands in a local environment.

LocalSkillParam

model interface LocalSkillParam

LogProbProperties

A log probability object.

LoraConfig

Adapter-specific metadata for LoRA models. Drives serving engine configuration at deployment time.

MCPListToolsTool

A tool available on an MCP server.

MCPListToolsToolAnnotations

model interface MCPListToolsToolAnnotations

MCPListToolsToolInputSchema

model interface MCPListToolsToolInputSchema

MCPTool

Give the model access to additional tools via remote Model Context Protocol (MCP) servers. Learn more about MCP.

MCPToolFilter

A filter object to specify which tools are allowed.

MCPToolRequireApproval

model interface MCPToolRequireApproval

MCPToolboxRequestHeaderBinding

A binding that supplies a request header to an MCP server.

MCPToolboxTool

An MCP tool stored in a toolbox.

ManagedAgentIdentityBlueprintReference

model interface ManagedAgentIdentityBlueprintReference

ManagedAzureAISearchIndex

Managed Azure AI Search Index Definition

McpProtocolConfiguration

Configuration specific to the MCP protocol.

MemoryItem

A single memory item stored in the memory store, containing content and metadata.

MemoryOperation

Represents a single memory operation (create, update, or delete) performed on a memory item.

MemorySearchItem

A retrieved memory item from memory search.

MemorySearchOptions

Memory search options.

MemorySearchPreviewTool

A tool for integrating memories into the agent.

MemoryStore

A memory store that can store and retrieve user memories.

MemoryStoreDefaultDefinition

Default memory store implementation.

MemoryStoreDefaultOptions

Default memory store configurations.

MemoryStoreDefinition

Base definition for memory store configurations.

MemoryStoreDeleteScopeResponse

Response for deleting memories from a scope.

MemoryStoreOperationUsage

Usage statistics of a memory store operation.

MemoryStoreSearchResponse

Memory search response.

MemoryStoreUpdateCompletedResult

Memory update result.

MemoryStoreUpdateResponse

Provides the status of a memory store update operation.

Metadata

Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects via API or the dashboard. Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters.

Microsoft365PermissionScopes

A set of delegated permission scopes requested from a single resource application.

Microsoft365PublishDefaults

Default and previously-published values used to pre-populate a Microsoft 365 publish request for a Foundry agent.

Microsoft365PublishResponse

Response from publishing an agent to Microsoft 365 / Microsoft Teams.

MicrosoftCopilotHarness

(Preview) The Microsoft Copilot managed harness for prompt agents.

MicrosoftCopilotToolsetConfig

An enablement override for a Microsoft Copilot built-in tool.

MicrosoftCopilotToolsetDefaultConfig

The default enablement setting for Microsoft Copilot built-in tools.

MicrosoftCopilotToolsetPreview

(Preview) Configuration overrides for Microsoft Copilot built-in tools.

MicrosoftFabricPreviewTool

The input definition information for a Microsoft Fabric tool as used to configure an agent.

MisalignmentErrorDetailsResource

Details of an action blocked because it may not align with the user's intent.

MisalignmentSteer

A public instruction for continuing after an action is blocked.

ModelCredentialRequest

Request to fetch credentials for a model asset.

ModelDeployment

Model Deployment Definition

ModelDeploymentSku

Sku information

ModelPendingUploadRequest

Represents a request for a pending upload of a model version.

ModelPendingUploadResponse

Represents the response for a model pending upload request.

ModelSamplingParams

Represents a set of parameters used to control the sampling behavior of a language model during text generation.

ModelSourceData

Source information for the model

ModelVersion

Model Version Definition

MonthlyRecurrenceSchedule

Monthly recurrence schedule.

NamespaceToolParam

Groups function/custom tools under a shared namespace.

NoAuthenticationCredentials

Credentials that do not require authentication

OneTimeTrigger

One-time trigger.

OpenAIClientOptionsWithAzureAgent

Extended OpenAI client options to include Azure Agent endpoint configuration.

OpenApiAnonymousAuthDetails

Security details for OpenApi anonymous authentication

OpenApiAuthDetails

authentication details for OpenApiFunctionDefinition

OpenApiFunctionDefinition

The input definition information for an openapi function.

OpenApiManagedAuthDetails

Security details for OpenApi managed_identity authentication

OpenApiManagedSecurityScheme

Security scheme for OpenApi managed_identity authentication

OpenApiProjectConnectionAuthDetails

Security details for OpenApi project connection authentication

OpenApiProjectConnectionSecurityScheme

Security scheme for OpenApi managed_identity authentication

OpenApiTool

The input definition information for an OpenAPI tool as used to configure an agent.

OpenApiToolboxTool

An OpenAPI tool stored in a toolbox.

OptimizationContext

Base model for typed optimization context.

OtlpTelemetryEndpoint

An OTLP (OpenTelemetry Protocol) telemetry export endpoint.

OutputTokensDetailsResource

model interface OutputTokensDetailsResource

PageSettings

An interface that tracks the settings for paged iteration

PagedAsyncIterableIterator

An interface that allows async iterable iteration both to completion and by page.

PendingUploadRequest

Represents a request for a pending upload.

PendingUploadResponse

Represents the response for a pending upload request

PerRecipientSchedule

Uses each recipient's scheduled_at: RFC 3339 with timezone in Datasets, Unix seconds for inline recipients.

PhoneNumber

Phone-number address used by supported source and destination roles.

PickPropertiesVoiceAgentAudioConfig

The template for picking properties.

ProceduralMemoryItem

A memory item containing a procedure extracted from conversations.

ProgrammaticToolCallingParam

model interface ProgrammaticToolCallingParam

PromptAgentDefinition

The prompt agent definition

PromptAgentDefinitionTextOptions

Configuration options for a text response from the model. Can be plain text or structured JSON data.

PromptBasedEvaluatorDefinition

Prompt-based evaluator

PromptCacheBreakpointConfig

Marks the exact end of a reusable prompt prefix. When ttl is omitted, the breakpoint inherits the request's prompt_cache_options.ttl; the boundary is not rounded to a token block.

PromptDataGenerationJobSource

Prompt source for data generation jobs — inline text provided by the user.

PromptEvaluatorGenerationJobSource

Prompt source for evaluator generation jobs — inline text provided by the user.

PromptOptimizationConfiguration

Configuration for a one-shot prompt transformation without comparative evaluation.

ProtocolConfiguration

Per-protocol configuration for the agent endpoint.

ProtocolVersionRecord

A record mapping for a single protocol and its version.

PublishToMicrosoft365OptionalParams

Optional parameters.

RaiConfig

Configuration for Responsible AI (RAI) content filtering and safety features.

RaiInvocationModeration

Declares where request/response text lives so content-safety guardrails can extract it.

RaiSseTextSelector

An SSE event-type to text-field selector for streaming invocation output.

RankingOptions

model interface RankingOptions

RealtimeAudioFormats

model interface RealtimeAudioFormats

RealtimeAudioFormatsAudioPcm

model interface RealtimeAudioFormatsAudioPcm

RealtimeAudioFormatsAudioPcma

model interface RealtimeAudioFormatsAudioPcma

RealtimeAudioFormatsAudioPcmu

model interface RealtimeAudioFormatsAudioPcmu

RealtimeClientEvent

A realtime client event.

RealtimeClientEventConversationItemCreate

Add a new Item to the Conversation's context, including messages, function calls, and function call responses. This event can be used both to populate a "history" of the conversation and to add new items mid-stream, but has the current limitation that it cannot populate assistant audio messages. If successful, the server will respond with a conversation.item.created event, otherwise an error event will be sent.

RealtimeClientEventConversationItemDelete

Send this event when you want to remove any item from the conversation history. The server will respond with a conversation.item.deleted event, unless the item does not exist in the conversation history, in which case the server will respond with an error.

RealtimeClientEventConversationItemRetrieve

Send this event when you want to retrieve the server's representation of a specific item in the conversation history. This is useful, for example, to inspect user audio after noise cancellation and VAD. The server will respond with a conversation.item.retrieved event, unless the item does not exist in the conversation history, in which case the server will respond with an error.

RealtimeClientEventConversationItemTruncate

Send this event to truncate a previous assistant message’s audio. The server will produce audio faster than realtime, so this event is useful when the user interrupts to truncate audio that has already been sent to the client but not yet played. This will synchronize the server's understanding of the audio with the client's playback. Truncating audio will delete the server-side text transcript to ensure there is not text in the context that hasn't been heard by the user. If successful, the server will respond with a conversation.item.truncated event.

RealtimeClientEventInputAudioBufferAppend

Send this event to append audio bytes to the input audio buffer. The audio buffer is temporary storage you can write to and later commit. A "commit" will create a new user message item in the conversation history from the buffer content and clear the buffer. Input audio transcription (if enabled) will be generated when the buffer is committed. If VAD is enabled the audio buffer is used to detect speech and the server will decide when to commit. When Server VAD is disabled, you must commit the audio buffer manually. Input audio noise reduction operates on writes to the audio buffer. The client may choose how much audio to place in each event up to a maximum of 15 MiB, for example streaming smaller chunks from the client may allow the VAD to be more responsive. Unlike most other client events, the server will not send a confirmation response to this event.

RealtimeClientEventInputAudioBufferClear

Send this event to clear the audio bytes in the buffer. The server will respond with an input_audio_buffer.cleared event.

RealtimeClientEventInputAudioBufferCommit

Send this event to commit the user input audio buffer, which will create a new user message item in the conversation. This event will produce an error if the input audio buffer is empty. When in Server VAD mode, the client does not need to send this event, the server will commit the audio buffer automatically. Committing the input audio buffer will trigger input audio transcription (if enabled in session configuration), but it will not create a response from the model. The server will respond with an input_audio_buffer.committed event.

RealtimeClientEventOutputAudioBufferClear

WebRTC/SIP Only: Emit to cut off the current audio response. This will trigger the server to stop generating audio and emit a output_audio_buffer.cleared event. This event should be preceded by a response.cancel client event to stop the generation of the current response. Learn more.

RealtimeClientEventResponseCancel

Send this event to cancel an in-progress response. The server will respond with a response.done event with a status of response.status=cancelled. If there is no response to cancel, the server will respond with an error. It's safe to call response.cancel even if no response is in progress, an error will be returned the session will remain unaffected.

RealtimeClientEventResponseCreate

This event instructs the server to create a Response, which means triggering model inference. When in Server VAD mode, the server will create Responses automatically. A Response will include at least one Item, and may have two, in which case the second will be a function call. These Items will be appended to the conversation history by default. The server will respond with a response.created event, events for Items and content created, and finally a response.done event to indicate the Response is complete. The response.create event includes inference configuration like instructions and tools. If these are set, they will override the Session's configuration for this Response only. Responses can be created out-of-band of the default Conversation, meaning that they can have arbitrary input, and it's possible to disable writing the output to the Conversation. Only one Response can write to the default Conversation at a time, but otherwise multiple Responses can be created in parallel. The metadata field is a good way to disambiguate multiple simultaneous Responses. Clients can set conversation to none to create a Response that does not write to the default Conversation. Arbitrary input can be provided with the input field, which is an array accepting raw Items and references to existing Items.

RealtimeConversationItem

A single item within a Realtime conversation.

RealtimeConversationItemFunctionCall

A function call item in a Realtime conversation.

RealtimeConversationItemFunctionCallOutput

A function call output item in a Realtime conversation.

RealtimeConversationItemMessage

model interface RealtimeConversationItemMessage

RealtimeConversationItemMessageAssistant

An assistant message item in a Realtime conversation.

RealtimeConversationItemMessageAssistantContent

model interface RealtimeConversationItemMessageAssistantContent

RealtimeConversationItemMessageSystem

A system message in a Realtime conversation can be used to provide additional context or instructions to the model. This is similar but distinct from the instruction prompt provided at the start of a conversation, as system messages can be added at any point in the conversation. For major changes to the conversation's behavior, use instructions, but for smaller updates (e.g. "the user is now asking about a different topic"), use system messages.

RealtimeConversationItemMessageSystemContent

model interface RealtimeConversationItemMessageSystemContent

RealtimeConversationItemMessageUser

A user message item in a Realtime conversation.

RealtimeConversationItemMessageUserContent

model interface RealtimeConversationItemMessageUserContent

RealtimeFunctionTool

model interface RealtimeFunctionTool

RealtimeMCPApprovalRequest

A Realtime item requesting human approval of a tool invocation.

RealtimeMCPApprovalResponse

A Realtime item responding to an MCP approval request.

RealtimeMCPError

model interface RealtimeMCPError

RealtimeMCPHttpError

model interface RealtimeMCPHttpError

RealtimeMCPListTools

A Realtime item listing tools available on an MCP server.

RealtimeMCPProtocolError

model interface RealtimeMCPProtocolError

RealtimeMCPToolCall

A Realtime item representing an invocation of a tool on an MCP server.

RealtimeMCPToolExecutionError

model interface RealtimeMCPToolExecutionError

RealtimeReasoning

Configuration for reasoning-capable Realtime models such as gpt-realtime-2.

RealtimeResponseInputAudio

model interface RealtimeResponseInputAudio

RealtimeResponseInputFunctionCall

A function call supplied as input to a Realtime response.

RealtimeResponseInputFunctionCallOutput

The result of a function call supplied as input to a Realtime response.

RealtimeResponseInputImage

model interface RealtimeResponseInputImage

RealtimeResponseInputMessage

A message supplied as input to a Realtime response. The role determines the allowed content.

RealtimeResponseInputMessageAssistant

model interface RealtimeResponseInputMessageAssistant

RealtimeResponseInputMessageAssistantContent

model interface RealtimeResponseInputMessageAssistantContent

RealtimeResponseInputMessageDeveloper

model interface RealtimeResponseInputMessageDeveloper

RealtimeResponseInputMessageSystem

model interface RealtimeResponseInputMessageSystem

RealtimeResponseInputMessageUser

model interface RealtimeResponseInputMessageUser

RealtimeResponseInputText

model interface RealtimeResponseInputText

RealtimeResponseItemReference

Reference an existing item in this Realtime session as response.create input. Item references are only accepted in the response input array, not as new conversation items.

RealtimeResponseStatusDetails

model interface RealtimeResponseStatusDetails

RealtimeResponseStatusDetailsError

model interface RealtimeResponseStatusDetailsError

RealtimeResponseUsage

model interface RealtimeResponseUsage

RealtimeResponseUsageInputTokenDetails

model interface RealtimeResponseUsageInputTokenDetails

RealtimeResponseUsageInputTokenDetailsCachedTokensDetails

model interface RealtimeResponseUsageInputTokenDetailsCachedTokensDetails

RealtimeResponseUsageOutputTokenDetails

model interface RealtimeResponseUsageOutputTokenDetails

RealtimeServerEvent

A realtime server event.

RealtimeServerEventConversationItemAdded

Sent by the server when an Item is added to the default Conversation. This can happen in several cases:

  • When the client sends a conversation.item.create event.
  • When the input audio buffer is committed. In this case the item will be a user message containing the audio from the buffer.
  • When the model is generating a Response. In this case the conversation.item.added event will be sent when the model starts generating a specific Item, and thus it will not yet have any content (and status will be in_progress). The event will include the full content of the Item (except when model is generating a Response) except for audio data, which can be retrieved separately with a conversation.item.retrieve event if necessary.
RealtimeServerEventConversationItemCreated

Returned when a conversation item is created. There are several scenarios that produce this event:

  • The server is generating a Response, which if successful will produce either one or two Items, which will be of type message (role assistant) or type function_call.
  • The input audio buffer has been committed, either by the client or the server (in server_vad mode). The server will take the content of the input audio buffer and add it to a new user message Item.
  • The client has sent a conversation.item.create event to add a new Item to the Conversation.
RealtimeServerEventConversationItemDeleted

Returned when an item in the conversation is deleted by the client with a conversation.item.delete event. This event is used to synchronize the server's understanding of the conversation history with the client's view.

RealtimeServerEventConversationItemDone

Returned when a conversation item is finalized. The event will include the full content of the Item except for audio data, which can be retrieved separately with a conversation.item.retrieve event if needed.

RealtimeServerEventConversationItemInputAudioTranscriptionCompleted

This event is the output of audio transcription for user audio written to the user audio buffer. Transcription begins when the input audio buffer is committed by the client or server (when VAD is enabled). Transcription runs asynchronously with Response creation, so this event may come before or after the Response events. Realtime API models accept audio natively, and thus input transcription is a separate process run on a separate ASR (Automatic Speech Recognition) model. The transcript may diverge somewhat from the model's interpretation, and should be treated as a rough guide.

RealtimeServerEventConversationItemInputAudioTranscriptionDelta

Returned when the text value of an input audio transcription content part is updated with incremental transcription results.

RealtimeServerEventConversationItemInputAudioTranscriptionFailed

Returned when input audio transcription is configured, and a transcription request for a user message failed. These events are separate from other error events so that the client can identify the related Item.

RealtimeServerEventConversationItemInputAudioTranscriptionFailedError

model interface RealtimeServerEventConversationItemInputAudioTranscriptionFailedError

RealtimeServerEventConversationItemInputAudioTranscriptionSegment

Returned when an input audio transcription segment is identified for an item.

RealtimeServerEventConversationItemRetrieved

Returned when a conversation item is retrieved with conversation.item.retrieve. This is provided as a way to fetch the server's representation of an item, for example to get access to the post-processed audio data after noise cancellation and VAD. It includes the full content of the Item, including audio data.

RealtimeServerEventConversationItemTruncated

Returned when an earlier assistant audio message item is truncated by the client with a conversation.item.truncate event. This event is used to synchronize the server's understanding of the audio with the client's playback. This action will truncate the audio and remove the server-side text transcript to ensure there is no text in the context that hasn't been heard by the user.

RealtimeServerEventError

Returned when an error occurs, which could be a client problem or a server problem. Most errors are recoverable and the session will stay open, we recommend to implementors to monitor and log error messages by default.

RealtimeServerEventErrorError

model interface RealtimeServerEventErrorError

RealtimeServerEventInputAudioBufferCleared

Returned when the input audio buffer is cleared by the client with a input_audio_buffer.clear event.

RealtimeServerEventInputAudioBufferCommitted

Returned when an input audio buffer is committed, either by the client or automatically in server VAD mode. The item_id property is the ID of the user message item that will be created, thus a conversation.item.created event will also be sent to the client.

RealtimeServerEventInputAudioBufferSpeechStarted

Sent by the server when in server_vad mode to indicate that speech has been detected in the audio buffer. This can happen any time audio is added to the buffer (unless speech is already detected). The client may want to use this event to interrupt audio playback or provide visual feedback to the user. The client should expect to receive a input_audio_buffer.speech_stopped event when speech stops. The item_id property is the ID of the user message item that will be created when speech stops and will also be included in the input_audio_buffer.speech_stopped event (unless the client manually commits the audio buffer during VAD activation).

RealtimeServerEventInputAudioBufferSpeechStopped

Returned in server_vad mode when the server detects the end of speech in the audio buffer. The server will also send an conversation.item.created event with the user message item that is created from the audio buffer.

RealtimeServerEventInputAudioBufferTimeoutTriggered

Returned when the Server VAD timeout is triggered for the input audio buffer. This is configured with idle_timeout_ms in the turn_detection settings of the session, and it indicates that there hasn't been any speech detected for the configured duration. The audio_start_ms and audio_end_ms fields indicate the segment of audio after the last model response up to the triggering time, as an offset from the beginning of audio written to the input audio buffer. This means it demarcates the segment of audio that was silent and the difference between the start and end values will roughly match the configured timeout. The empty audio will be committed to the conversation as an input_audio item (there will be a input_audio_buffer.committed event) and a model response will be generated. There may be speech that didn't trigger VAD but is still detected by the model, so the model may respond with something relevant to the conversation or a prompt to continue speaking.

RealtimeServerEventMCPListToolsCompleted

Returned when listing MCP tools has completed for an item.

RealtimeServerEventMCPListToolsFailed

Returned when listing MCP tools has failed for an item.

RealtimeServerEventMCPListToolsInProgress

Returned when listing MCP tools is in progress for an item.

RealtimeServerEventOutputAudioBufferCleared

WebRTC/SIP Only: Emitted when the output audio buffer is cleared. This happens either in VAD mode when the user has interrupted (input_audio_buffer.speech_started), or when the client has emitted the output_audio_buffer.clear event to manually cut off the current audio response. Learn more.

RealtimeServerEventRateLimitsUpdated

Emitted at the beginning of a Response to indicate the updated rate limits. When a Response is created some tokens will be "reserved" for the output tokens, the rate limits shown here reflect that reservation, which is then adjusted accordingly once the Response is completed.

RealtimeServerEventRateLimitsUpdatedRateLimits

model interface RealtimeServerEventRateLimitsUpdatedRateLimits

RealtimeServerEventResponseAudioDelta

Returned when the model-generated audio is updated.

RealtimeServerEventResponseAudioDone

Returned when the model-generated audio is done. Also emitted when a Response is interrupted, incomplete, or cancelled.

RealtimeServerEventResponseAudioTranscriptDelta

Returned when the model-generated transcription of audio output is updated.

RealtimeServerEventResponseAudioTranscriptDone

Returned when the model-generated transcription of audio output is done streaming. Also emitted when a Response is interrupted, incomplete, or cancelled.

RealtimeServerEventResponseContentPartAdded

Returned when a new content part is added to an assistant message item during response generation.

RealtimeServerEventResponseContentPartAddedPart

model interface RealtimeServerEventResponseContentPartAddedPart

RealtimeServerEventResponseContentPartDone

Returned when a content part is done streaming in an assistant message item. Also emitted when a Response is interrupted, incomplete, or cancelled.

RealtimeServerEventResponseContentPartDonePart

model interface RealtimeServerEventResponseContentPartDonePart

RealtimeServerEventResponseCreated

Returned when a new Response is created. The first event of response creation, where the response is in an initial state of in_progress.

RealtimeServerEventResponseDone

Returned when a Response is done streaming. Always emitted, no matter the final state. The Response object included in the response.done event will include all output Items in the Response but will omit the raw audio data. Clients should check the status field of the Response to determine if it was successful (completed) or if there was another outcome: cancelled, failed, or incomplete. A response will contain all output items that were generated during the response, excluding any audio content.

RealtimeServerEventResponseFunctionCallArgumentsDelta

Returned when the model-generated function call arguments are updated.

RealtimeServerEventResponseFunctionCallArgumentsDone

Returned when the model-generated function call arguments are done streaming. Also emitted when a Response is interrupted, incomplete, or cancelled.

RealtimeServerEventResponseMCPCallArgumentsDelta

Returned when MCP tool call arguments are updated during response generation.

RealtimeServerEventResponseMCPCallArgumentsDone

Returned when MCP tool call arguments are finalized during response generation.

RealtimeServerEventResponseMCPCallCompleted

Returned when an MCP tool call has completed successfully.

RealtimeServerEventResponseMCPCallFailed

Returned when an MCP tool call has failed.

RealtimeServerEventResponseMCPCallInProgress

Returned when an MCP tool call has started and is in progress.

RealtimeServerEventResponseOutputItemAdded

Returned when a new Item is created during Response generation.

RealtimeServerEventResponseOutputItemDone

Returned when an Item is done streaming. Also emitted when a Response is interrupted, incomplete, or cancelled.

RealtimeServerEventResponseTextDelta

Returned when the text value of an "output_text" content part is updated.

RealtimeServerEventResponseTextDone

Returned when the text value of an "output_text" content part is done streaming. Also emitted when a Response is interrupted, incomplete, or cancelled.

RealtimeServerEventSessionCreated

Returned when a Session is created. Emitted automatically when a new connection is established as the first server event. This event will contain the default Session configuration.

RealtimeServerEventSessionUpdated

Returned when a session is updated with a session.update event, unless there is an error.

Reasoning

gpt-5 and o-series models only Configuration options for reasoning models.

RecurrenceSchedule

Recurrence schedule model.

RecurrenceTrigger

Recurrence based trigger.

RedTeam

Red team details.

RedTeamItemGenerationParams

Represents the parameters for red team item generation.

RedTeamSeedPromptsItemGenerationParams

Represents the parameters for red team seed prompts item generation.

RedTeamTargetConfig

Abstract class for target configuration.

RedTeamTaxonomyItemGenerationParams

Represents the parameters for red team taxonomy item generation.

ReinforcementFineTuningDataGenerationJob

Reinforcement fine-tuning data generation job resource. This is a preview feature.

ReinforcementFineTuningDataGenerationJobInputs

Caller-supplied inputs for a reinforcement fine-tuning data generation job. This is a preview feature.

ReinforcementFineTuningDataGenerationJobOutputConfiguration

File output configuration for a reinforcement fine-tuning data generation job. This is a preview feature.

ReminderPreviewToolboxTool

A reminder tool stored in a toolbox.

ResponseFormatJsonObject

JSON object response format. An older method of generating JSON responses. Using json_schema is recommended for models that support it. Note that the model will not generate JSON without a system or user message instructing it to do so.

ResponseFormatJsonSchema

JSON Schema response format. Used to generate structured JSON responses. Learn more about Structured Outputs.

ResponseFormatJsonSchemaJsonSchema

model interface ResponseFormatJsonSchemaJsonSchema

ResponseFormatText

Default response format. Used to generate text responses.

ResponseRetrievalItemGenerationParams

Parameters for retrieving deployed conversations for evaluation.

See evaluate deployed conversations.

ResponseUsageInputTokensDetails

model interface ResponseUsageInputTokensDetails

ResponseUsageOutputTokensDetails

model interface ResponseUsageOutputTokensDetails

ResponseUsageResource

model interface ResponseUsageResource

ResponsesProtocolConfiguration

Configuration specific to the responses protocol.

Routine

A routine definition returned by the service.

RoutineAction

Base model for a routine action.

RoutineAuthorization

Optional authorization configuration for a routine dispatch.

RoutineDispatchPayload

Base model for a manual dispatch payload.

RoutineRun

A single routine run returned from the run history API.

RoutineTrigger

Base model for a routine trigger.

RubricBasedEvaluatorDefinition

Rubric evaluator definition. Ordinary quality rubrics report one aggregate. Safety rubrics require Boolean scoring and an explicit allowed classification on every dimension, and report disallowed_behavior_violated and allowed_behavior_violated as two independent lower-is-better metrics. Safety rubrics have no weights, threshold, or combined safety score.

RubricGenerationInputQualityWarning

A non-fatal advisory produced during rubric evaluator generation when resolved inputs are technically valid but likely too weak to produce a high-quality rubric. Read-only; service-generated. Persisted with the terminal EvaluatorGenerationJob.

RubricScoring

Simple rubric scoring choices. Omission preserves existing legacy scoring.

RunOperationState

Operation state for a long-running operation that creates a run resource.

CUSTOMIZATION: SDK-IMPROVEMENT: the emitted poller resolves to the run's terminal result payload, which carries no identifier; runId keeps the created run reachable.

SASTokenCredentials

Shared Access Signature (SAS) credential definition

SasCredential

SAS Credential definition

Schedule

Schedule model.

ScheduleRoutineTrigger

A recurring cron-based routine trigger.

ScheduleRun

Schedule run model.

ScheduleTask

Schedule task model.

ScoreProbabilityResource

model interface ScoreProbabilityResource

ServiceEvaluatorDiagnosticActor

A Foundry service component responsible for an evaluator lineage diagnostic.

SessionConfiguration

Session defaults applied to sessions created for a hosted agent version.

SessionDirectoryEntry

A single entry in a directory listing.

SessionDirectoryListResponse

Response from listing a directory in a session sandbox.

SessionFileWriteResponse

Response from uploading a file to a session sandbox.

SessionLogEvent

A single Server-Sent Event frame emitted by the hosted agent session log stream.

Each frame contains an event field identifying the event type and a data field carrying the payload as plain text. Although the current data payload is JSON-formatted, its schema is not contractual — additional keys may appear and the format may change over time. Clients should treat data as an opaque string and optionally attempt JSON parsing.

New event types may be added in the future. Clients should gracefully ignore unrecognized event types.

Wire format:

event: log
data: {"timestamp":"2026-03-10T09:33:17.121Z","stream":"stdout","message":"Starting server on port 18080"}

event: log
data: {"timestamp":"2026-03-10T09:34:52.714Z","stream":"status","message":"Successfully connected to container"}
SharepointGroundingToolParameters

The sharepoint grounding tool parameters.

SharepointPreviewTool

The input definition information for a sharepoint tool as used to configure an agent.

ShellToolboxTool

A shell tool stored in a toolbox. This model is additive to toolbox configuration and does not modify the OpenAI tool contract or existing toolbox tool definitions.

SimpleQnADataGenerationJobConfiguration

The configuration for a data generation job with SimpleQnA type.

SimulationSeedDataGenerationJobConfiguration

The configuration for a task generation data generation job. Use with multiturn evaluation scenarios and with prompt, file, or agent sources. Generated dataset rows include fields such as id, category, test_case_description, and desired_num_turns.

SipAddress

SIP/SIPS transfer address, subject to provider validation. SIP outbound sources and recipients use phone_number, not SIP URIs.

SipTelephonyBinding

A SIP binding.

SipTelephonyBindingListItem

A SIP binding returned in a list, including its entity tag.

Skill

A skill resource.

SkillInlineContent

Inline content for defining a simple skill without uploading files. Follows the agentskills.io SKILL.md specification.

SkillOptimizationConfiguration

Configuration for generating a single skill candidate from trace evidence. The candidate can contain zero or more skill outcomes; no new learnings can produce an empty skill_results array without publishing versions. Optional evaluation reuses a non-generated baseline candidate.

SkillOptimizationEvaluationConfiguration

Skill-only evaluation inputs. Training-trace grading can inform single-shot learning; supported before/after comparison reports impact without gating publication.

SkillReference

(Preview) A reference to a versioned Foundry skill.

SkillReferenceParam

model interface SkillReferenceParam

SkillReferencesOptimizationContext

Explicit exact-version baselines for skill optimization.

SkillVersion

A specific version of a skill.

SpecificApplyPatchParam

Forces the model to call the apply_patch tool when executing a tool call.

SpecificFunctionShellParam

Forces the model to call the shell tool when a tool call is required.

SpecificProgrammaticToolCallingParam

model interface SpecificProgrammaticToolCallingParam

SteeringPromptOptimizationContext

Natural-language guidance for the desired optimization.

StructuredInputDefinition

An structured input that can participate in prompt template substitutions and tool argument binding.

StructuredOutputDefinition

A structured output that can be produced by the agent.

SupervisedFineTuningDataGenerationJob

Supervised fine-tuning data generation job resource. This is a preview feature.

SupervisedFineTuningDataGenerationJobInputs

Caller-supplied inputs for a supervised fine-tuning data generation job. This is a preview feature.

SupervisedFineTuningDataGenerationJobOutputConfiguration

File output configuration for a supervised fine-tuning data generation job. This is a preview feature.

SyntheticDataGenerationItemGenerationParams

Represents the parameters for synthetic data generation item generation.

TargetCompletionEvalRunDataSource

A data source for evaluating model or agent target completions.

See evaluate conversations.

TargetCompletionItemGenerationParams

Parameters for generating target completions for simulated conversations.

See simulate conversations.

TaxonomyCategory

Taxonomy category definition.

TaxonomySubCategory

Taxonomy sub-category definition.

TeamsAddress

Teams source/transfer identity, validated by role and provider. Not supported for outbound recipients.

TeamsPhoneExtensibilityTelephonyBinding

A Microsoft Teams Phone extensibility binding owned by a voice agent.

TeamsPhoneExtensibilityTelephonyBindingListItem

A Microsoft Teams Phone extensibility binding returned in a list, including its entity tag.

TelemetryConfig

Customer-supplied telemetry configuration for exporting container logs, traces, and metrics.

TelemetryEndpoint

A telemetry export endpoint configuration.

TelemetryEndpointAuth

Authentication configuration for a telemetry endpoint.

TelemetryOperations

Interface representing telemetry operations

TelephonyAddress

Shared source, recipient and transfer address. Connections validate each role before dialing; unsupported types fail. New types may be added.

TelephonyBinding

A telephony binding owned by a voice agent.

TelephonyBindingListItem

A telephony binding returned in a list, including its entity tag.

TelephonyCallJob

A durable direct or campaign-created outbound call intent.

TelephonyCallJobCancellation

A cancellation request recorded for an outbound call job.

TelephonyCallJobCreate

The direct outbound call to create.

TelephonyCallJobSchedule

The optional execution window for a direct outbound call.

TelephonyCallLifecycleEvent

A bounded durable observation in the lifecycle of one telephony call.

TelephonyCallRecord

Detailed diagnostics for a durable inbound call to a voice agent.

TelephonyCallSummary

A summary of a durable inbound call to a voice agent.

TelephonyCallTiming

Detailed provider-neutral timing for an inbound telephony call.

TelephonyCallTrace

Correlation from a durable telephony call record to its customer-facing Foundry trace.

TelephonyCampaign

Agent-owned outbound call Campaign. Creation/replacement authorizes execution after successful preparation.

TelephonyCampaignDatasetReference

Reference to a Foundry Dataset in the current project. Consuming operations define supported Dataset kinds and resolution behavior.

TelephonyCampaignOperation

Preparation/cancel/delete monitor bound to its original Campaign instance/round, independent of later actions. Omits result. Retained for the Campaign lifetime and at least 24 hours after both completion and deletion.

TelephonyCampaignProgress

Recipient execution counts, zero until preparation succeeds; then mutually exclusive and summing to total_recipients.

TelephonyCampaignSchedule

Creation authorizes dialing; every scheduling mode waits for successful preparation.

TelephonyCampaignValidationError

Invalid-row diagnostic for current preparation; execution errors are in CallJobs.

TelephonyOutboundRetryPolicy

The retry policy for one durable outbound call intent. max_attempts includes the first attempt. Strategy-specific settings are defined by the derived policy.

TelephonyRecipient

One recipient in an inline campaign input. Each input position is a separate intended call, including repeated destinations.

TelephonyTransferTarget

A named destination to which the voice agent may transfer a call.

TelephonyTransferTargets

The telephony transfer targets configured for one voice agent.

TextResponseFormat

An object specifying the format that the model must output. Configuring { "type": "json_schema" } enables Structured Outputs, which ensures the model will match your supplied JSON schema. Learn more in the Structured Outputs guide. The default format is { "type": "text" } with no additional options. Not recommended for gpt-4o and newer models:* Setting to { "type": "json_object" } enables the older JSON mode, which ensures the message the model generates is valid JSON. Using json_schema is preferred for models that support it.

TextResponseFormatConfiguration

Base configuration for the format of generated text responses.

TextResponseFormatConfigurationResponseFormatJsonObject

Configures generated responses to use JSON object format.

TextResponseFormatConfigurationResponseFormatText

Configures generated responses to use plain text.

TextResponseFormatJsonObject

JSON object response format. An older method of generating JSON responses. Using json_schema is recommended for models that support it. Note that the model will not generate JSON without a system or user message instructing it to do so.

TextResponseFormatJsonSchema

JSON Schema response format. Used to generate structured JSON responses. Learn more about Structured Outputs.

TextResponseFormatText

Default response format. Used to generate text responses.

TimerRoutineTrigger

A one-shot timer routine trigger.

Tool

A tool that can be used to generate a response.

ToolChoiceAllowed

Constrains the tools available to the model to a pre-defined set.

ToolChoiceCodeInterpreter

Indicates that the model should use a built-in tool to generate a response. Learn more about built-in tools.

ToolChoiceComputer

Indicates that the model should use a built-in tool to generate a response. Learn more about built-in tools.

ToolChoiceComputerUse

Indicates that the model should use a built-in tool to generate a response. Learn more about built-in tools.

ToolChoiceComputerUsePreview

Indicates that the model should use a built-in tool to generate a response. Learn more about built-in tools.

ToolChoiceCustom

Use this option to force the model to call a specific custom tool.

ToolChoiceFileSearch

Indicates that the model should use a built-in tool to generate a response. Learn more about built-in tools.

ToolChoiceFunction

Use this option to force the model to call a specific function.

ToolChoiceImageGeneration

Indicates that the model should use a built-in tool to generate a response. Learn more about built-in tools.

ToolChoiceMCP

Use this option to force the model to call a specific tool on a remote MCP server.

ToolChoiceParam

How the model should select which tool (or tools) to use when generating a response. See the tools parameter to see how to specify which tools the model can call.

ToolChoiceWebSearchPreview

Indicates that the model should use a built-in tool to generate a response. Learn more about built-in tools.

ToolChoiceWebSearchPreview20250311

Indicates that the model should use a built-in tool to generate a response. Learn more about built-in tools.

ToolConfig

Per-tool configuration that controls tool visibility and search behavior.

ToolDescription

Description of a tool that can be used by an agent.

ToolProjectConnection

A project connection resource.

ToolSearchToolParam

Hosted or BYOT tool search configuration for deferred tools.

ToolSearchToolboxTool

A toolbox search tool stored in a toolbox.

ToolUseFineTuningDataGenerationJobConfiguration

The configuration for a data generation job with ToolUse type. This is a preview feature used only for fine-tuning scenarios.

ToolboxObject

A toolbox that stores reusable tool definitions for agents.

ToolboxPolicies

Policy configuration for a toolbox, including content safety and other governance settings.

ToolboxSearchPreviewToolboxTool

A toolbox search tool stored in a toolbox.

ToolboxShellContainerAutoEnvironment

An automatically provisioned container environment for a shell tool stored in a toolbox.

ToolboxShellContainerReferenceEnvironment

An existing container environment for a shell tool stored in a toolbox.

ToolboxShellEnvironment

An execution environment for a shell tool stored in a toolbox. This environment model is scoped to toolbox configuration and does not modify the OpenAI shell environment contract.

ToolboxShellNetworkPolicy

Network access policy for an automatically provisioned toolbox shell container.

ToolboxShellNetworkPolicyDisabled

A network policy that disables outbound access from a toolbox shell container.

ToolboxSkill

A skill source included in a toolbox.

ToolboxSkillReference

A reference to an existing skill to include in a toolbox.

ToolboxTool

An abstract representation of a tool stored in a toolbox.

ToolboxVersionObject

A specific version of a toolbox.

ToolboxVersions

The versions associated with a toolbox.

ToolboxesCreateVersionOptionalParams

Optional parameters.

ToolboxesDeleteOptionalParams

Optional parameters.

ToolboxesDeleteVersionOptionalParams

Optional parameters.

ToolboxesGetOptionalParams

Optional parameters.

ToolboxesGetVersionOptionalParams

Optional parameters.

ToolboxesInvokeLatestToolboxMcpOptionalParams

Optional parameters.

ToolboxesListOptionalParams

Optional parameters.

ToolboxesListVersionsOptionalParams

Optional parameters.

ToolboxesOperations

Interface representing a Toolboxes operations.

ToolboxesUpdateOptionalParams

Optional parameters.

TraceEvaluationRuleAction

Configures a scheduled evaluation of observed agent traces.

TraceIdTraceSource

A trace source that selects traces by explicit trace IDs.

TraceSource

Base class for polymorphic trace sources nested within a TraceSourceEvalRunDataSource.

TraceSourceEvalRunDataSource

A data source that selects traces for evaluation.

See create an evaluation dataset from traces.

TraceSourcePreviewEvalRunDataSource

Preview form of azure_ai_trace_data_source. Returned only for rules backed by existing preview schedules; rejected on create and update.

TracesDataGenerationJobConfiguration

The configuration for a data generation job with Traces type.

TracesDataGenerationJobSource

Traces source for data generation jobs — conversation traces from Application Insights.

TracesEvalRunDataSource

A data source for evaluation runs over agent traces stored in Application Insights.

See create an evaluation dataset from traces.

TracesEvaluatorGenerationJobSource

Traces source for evaluator generation jobs — conversation traces from Application Insights.

TracesPreviewEvalRunDataSource

Preview form of azure_ai_traces. Returned only for rules backed by existing preview schedules; rejected on create and update.

TranscriptTextUsageDuration

Usage statistics for models billed by audio input duration.

TranscriptTextUsageTokens

Usage statistics for models billed by token usage.

TranscriptTextUsageTokensInputTokenDetails

model interface TranscriptTextUsageTokensInputTokenDetails

TranscriptionLanguage

A language detected in transcribed audio.

Trigger

Base model for Trigger of the schedule.

TwilioTelephonyBinding

A Twilio binding owned by a voice agent.

TwilioTelephonyBindingListItem

A Twilio binding returned in a list, including its entity tag.

UpdateModelVersionRequest

Request body for updating a model version. Only description and tags can be modified.

UpdateTelephonyBindingRequest

The request to update an existing telephony binding. Every property is optional and the binding's provider is immutable.

UpdateToolboxRequest

model interface UpdateToolboxRequest

UserConversationSimulationAudioEffectsConfiguration

Configures effects applied to simulated conversation audio.

UserConversationSimulationConfiguration

Configures the number, length, audio effects, and simulated user behavior of conversations.

UserConversationSimulationDefaultConfiguration

Configures default conversation behavior and optional run-wide persistence of generated conversations.

UserConversationSimulationDefaultInterruptionConfiguration

Configures the default interruption behavior for the simulated user.

UserConversationSimulationEvalRunDataSource

Evaluates a model or agent by simulating user conversations against it.

Each source item defines a test scenario. Use a JSONL source or an inline_user_conversation_simulation source with strongly typed test cases. JSONL attributes use the inline test-case property names by default; specify data_mapping only when the dataset uses different names. The model specified by model_configuration generates the simulated user's turns and drives the conversation with target until it reaches the desired length or maximum turn limit. The evaluation's testing criteria are then applied to the conversation.

UserConversationSimulationInlineTestCasesSource

Supplies strongly typed test scenarios directly in the evaluation run request.

UserConversationSimulationInterruptionConfiguration

Configuration for simulated user interruption behavior.

UserConversationSimulationPreviewEvalRunDataSource

Preview form of azure_ai_user_conversation_simulation. Returned only for rules backed by existing preview schedules; rejected on create and update.

UserConversationSimulationTestCase

Defines one test scenario. Simulation configuration properties specified here override the corresponding data-source defaults.

UserConversationSimulationUserBehaviorConfiguration

Configures conversation behavior for the simulated user.

UserEvaluatorDiagnosticActor

An authenticated user responsible for an evaluator lineage diagnostic.

UserProfileMemoryItem

A memory item specifically containing user profile information extracted from conversations, such as preferences, interests, and personal details.

VersionCreatedDiagnosticChange

A diagnostic change recording the creation of an evaluator version.

VersionIndicator

Version indicator determining which agent version backs the session.

VersionRefIndicator

Version indicator that references a specific agent version by name.

VersionSelectionRule

model interface VersionSelectionRule

VersionSelector

model interface VersionSelector

VoiceAgentAnimationConfig

Animation settings for a voice-agent session.

VoiceAgentAudioConfig

The audio configuration for a voice agent. These values are session defaults and may be overridden when connecting.

VoiceAgentAudioInputConfig

Input audio configuration for a voice agent.

VoiceAgentAudioOutputConfig

Output audio configuration for a voice agent. Extends the voice configuration with the session-level format and output_audio_timestamp_types settings, which apply to every voice type.

VoiceAgentAvatarConfig

Avatar configuration for a voice agent. These values are session defaults and may be overridden when connecting.

VoiceAgentAvatarIceServer

An ICE server used for avatar WebRTC negotiation.

VoiceAgentAvatarScene

Avatar placement and motion settings.

VoiceAgentAvatarVideoBackground

The avatar video background.

VoiceAgentAvatarVideoCrop

The rectangular crop applied to avatar video.

VoiceAgentAvatarVideoParams

Avatar video encoder and presentation settings.

VoiceAgentAvatarVideoResolution

The avatar video resolution.

VoiceAgentAzureSemanticVadEnTurnDetection

English-optimized Azure semantic voice activity detection.

VoiceAgentAzureSemanticVadMultilingualTurnDetection

Multilingual Azure semantic voice activity detection.

VoiceAgentAzureSemanticVadTurnDetection

Azure semantic voice activity detection.

VoiceAgentBaseDefinition

Shared voice-agent settings; protocol-specific fields remain flat on each subtype. Creates and updates produce immutable versions. Each version selects its own protocol, so a new version can switch between Realtime and Live.

VoiceAgentCancelResponseOptions

Options for cancelling a response.

VoiceAgentClientEventRtcCallSdpCreate

The rtc.call.sdp.create client event: begins WebRTC signaling with an SDP offer.

VoiceAgentClientEventSessionAvatarConnect

The session.avatar.connect client event.

VoiceAgentClientEventSessionUpdate

The session.update client event.

VoiceAgentCloseResult

Result supplied when a voice-agent connection closes.

VoiceAgentCollectDtmfStartArguments

Arguments for starting DTMF collection on a model call.

VoiceAgentCollectDtmfSystemTool

Collects keypad digits on the current call.

VoiceAgentCollectSmsStartArguments

Model-call SMS collection arguments, validated before receiver setup. The model supplies the sender, not the collected SMS.

VoiceAgentCollectSmsSystemTool

Collects one complete SMS from an explicitly selected sender.

VoiceAgentCollectionStartArguments

Arguments for starting a collection on a model call.

VoiceAgentConnection

A Realtime voice session.

Read server events with one for await loop. A second iterator throws. Leaving the loop closes the connection. Unrecognized event types arrive as VoiceAgentUnknownEvent; malformed events fail with a protocol error.

VoiceAgentDefinition

The voice agent definition. Its configuration (model, instructions, audio, tools, and optional avatar) drives a managed speech-to-speech experience. Establish realtime voice sessions through GET /agents/{agent_name}/endpoint/protocols/voice. Every create or update produces a new immutable version.

VoiceAgentDelegateSubagentConfig

Configuration for referenced Foundry agents invoked as delegated background specialists.

VoiceAgentDigitRecognitionSystemTool

Retrieves the unchanged transcript of the last user audio turn.

VoiceAgentDtmfFixedLengthCompletionMode

Complete immediately after exactly length digits. Other modes' fields are not accepted.

VoiceAgentDtmfInterDigitSilenceCompletionMode

Completes after nonempty input and an inter-digit pause, within service limits. No key or count is configured; total deadline expiry takes precedence.

VoiceAgentDtmfTerminatorCompletionMode

Completes when the configured end key follows nonempty digits within service limits. No digit count or length bounds are configured.

VoiceAgentEchoCancellation

Server-side echo cancellation settings for input audio.

VoiceAgentEndConversationSystemTool

A service-managed control that ends the active conversation.

VoiceAgentEndOfUtteranceDetection

Semantic end-of-utterance detection configuration.

VoiceAgentEventGridPostCallDestination

An Event Grid connection that receives post-call events.

VoiceAgentEventOptions

Options for methods that send a Voice Agents event.

VoiceAgentFunctionTool

A native function tool executed by the client.

VoiceAgentGreetingConfig

Session-start greeting configuration for a voice agent.

VoiceAgentHandoffCondition

One allowed outgoing handoff from an inline voice subagent.

VoiceAgentHandoffEdgeState

Non-sensitive topology metadata for one compiled handoff edge.

VoiceAgentHandoffNodeState

Non-sensitive topology metadata for one compiled handoff node.

VoiceAgentHandoffPolicy

Session-wide limits shared by all handoff conditions in one Voice Agent session.

VoiceAgentHandoffState

The effective topology and runtime state of a voice-agent handoff graph.

VoiceAgentHandoffVoiceAdaptation

Voice-optimized instruction adaptation applied while a handoff node is active.

VoiceAgentInlineSubagentConfig

Configuration for inline voice subagents that may become active through Handoff.

VoiceAgentInputTranscription

Settings for transcribing input audio, including the transcription model, Custom Speech deployments, and phrase hints. When model is azure-speech-streaming, transcription is supported for cascaded text-model conversations only (not realtime speech-to-speech models), requires a nonempty language such as en-US (comma-separated locales are supported), and supports custom_speech, phrase_list, and profanity_filter.

VoiceAgentInterimResponseConfig

Fields shared by interim-response configurations.

VoiceAgentLanguageDetectionArguments

Decoded model-generated language-switch arguments, not a new client ingress. Unsupported speech components do not gain language support from this tool.

VoiceAgentLanguageDetectionSystemTool

Switches supported conversation language settings.

VoiceAgentLiveAppendOptions

Options for adding text context to a GPT Live session.

VoiceAgentLiveClientConnectOptions

Settings for one GPT Live connection. Live does not use transport or agentSessionId. The complete structuredInputs value is sent in the WebSocket URL query in every environment, including Node.js. Do not include sensitive values: proxy and server access logs can retain URLs.

VoiceAgentLiveClientDelegation

Delegates work to the application using native client delegation.

VoiceAgentLiveClientDelegationConversationItem

Results supplied by the application for client delegation.

VoiceAgentLiveClientOptions

Default settings for GPT Live connections.

VoiceAgentLiveCloseResult

Details reported when a GPT Live connection closes.

VoiceAgentLiveConnection

A GPT Live voice session.

Read events with one for await loop or use on, off, and once listeners. Leaving the loop closes the session. Received audio chunks are base64 strings.

VoiceAgentLiveConversation

A Live session persisted when effective store is true. Uses voice-conversation lifecycle and retention; items are retrieved separately.

VoiceAgentLiveConversationItem

A stored speech segment or delegation. Speech segments are not native turns or proof of playback; delegation results are separate from spoken transcripts.

VoiceAgentLiveDecisionMessage

A user message added to a GPT Live Decision context.

VoiceAgentLiveDefinition

The Live voice agent definition. Its configuration (model, instructions, audio, and delegation) drives a managed speech-to-speech experience using a Foundry GPT Live deployment. Establish Live voice sessions through GET /agents/{agent_name}/endpoint/protocols/voice/live/sessions. Every create or update produces a new immutable version.

VoiceAgentLiveDelegation

Who handles delegated work for a Live voice agent.

VoiceAgentLiveDelegationConversationItem

A stored delegation using native fields with Foundry-specific targets. Its id is the native delegation ID.

VoiceAgentLiveDelegationItem

Live delegation trigger metadata reported to Foundry clients. This object contains metadata, not the task text.

VoiceAgentLiveDelegationResultItem

Persisted guidance accepted by Live. The service populates commentary, thinking, or both. Agent delegation section markers are removed before storage.

VoiceAgentLiveFoundryManagedAgentDelegationItem

Stored prompt-agent delegation state and accepted results.

VoiceAgentLiveInputConversationItem

A stored user speech segment.

VoiceAgentLiveManagedAgentDelegation

Delegates to a same-project prompt agent using native client delegation. Requires [thinking] and/or [commentary] output sections.

VoiceAgentLiveOutputConversationItem

A stored assistant speech segment.

VoiceAgentLiveResponsesDelegation

Delegates work to a Responses backend using native Responses settings.

VoiceAgentLiveResponsesDelegationConversationItem

Stored Responses delegation output, separate from Live speech.

VoiceAgentLiveSessionResource

Live session resource reported to Foundry clients. GPT Live runs native client delegation for foundry_managed_agent sessions; Foundry reports the effective owner.

VoiceAgentLlmGeneratedGreetingConfig

A greeting authored by the session model from a scoped opening-turn prompt.

VoiceAgentLlmInterimResponseConfig

An interim response generated by a language model.

VoiceAgentMcpTool

An MCP tool available to a voice agent. Server endpoints use server_url; connector and tunnel identifiers are not supported.

VoiceAgentNoiseReduction

Input audio noise reduction configuration.

VoiceAgentPostCallConfig

Post-call delivery configuration.

VoiceAgentPostCallDestination

A post-call destination.

VoiceAgentRealtimeClientConnectOptions

Options for connecting the realtime client to a voice agent.

VoiceAgentRealtimeClientOptions

Options for the Voice Agents realtime client.

VoiceAgentRealtimeResponse

A live realtime response returned by the voice-agent service in both response.created and response.done events.

VoiceAgentResponseCreateParams

Parameters accepted by a voice-agent response.create event.

VoiceAgentResponseOptions

Options for creating a response.

VoiceAgentRoutinePostCallDestination

A routine that is dispatched with the post-call event.

VoiceAgentRtcCallErrorDetails

Details of a WebRTC signaling error.

VoiceAgentSemanticVadTurnDetection

OpenAI semantic VAD turn-detection settings.

VoiceAgentSendDtmfSystemTool

Sends literal or templated keypad digits.

VoiceAgentSendItemOptions

Options for adding a conversation item and requesting a response.

VoiceAgentSendOptions

Options shared by realtime send operations.

VoiceAgentSendSmsSystemTool

Sends a text message from the Agent's SMS-capable number.

VoiceAgentSendTextOptions

Options for sending text input.

VoiceAgentSendToolOutputOptions

Options for returning a function result.

VoiceAgentServerEventInputCollectionStatus

Reports collection or telephony outcomes for a model call.

VoiceAgentServerEventResponseAnimationBlendshapesDelta

The response.animation_blendshapes.delta server event.

VoiceAgentServerEventResponseAnimationBlendshapesDone

The response.animation_blendshapes.done server event.

VoiceAgentServerEventResponseAnimationVisemeDelta

The response.animation_viseme.delta server event.

VoiceAgentServerEventResponseAnimationVisemeDone

The response.animation_viseme.done server event.

VoiceAgentServerEventResponseAudioTimestampDelta

The response.audio_timestamp.delta server event.

VoiceAgentServerEventResponseAudioTimestampDone

The response.audio_timestamp.done server event.

VoiceAgentServerEventResponseVideoDelta

The response.video.delta server event.

VoiceAgentServerEventRtcCallError

The rtc.call.error server event: a WebRTC signaling failure.

VoiceAgentServerEventRtcCallSdpCreated

The rtc.call.sdp.created server event: the SDP answer that completes WebRTC negotiation.

VoiceAgentServerEventSessionAvatarConnecting

The session.avatar.connecting server event.

VoiceAgentServerEventSessionAvatarSwitchToIdle

The session.avatar.switch_to_idle server event.

VoiceAgentServerEventSessionAvatarSwitchToSpeaking

The session.avatar.switch_to_speaking server event.

VoiceAgentServerEventSessionHandoffAborted

The session.handoff.aborted server event.

VoiceAgentServerEventSessionHandoffCompleted

The session.handoff.completed server event.

VoiceAgentServerEventSessionHandoffStarted

The session.handoff.started server event.

VoiceAgentServerEventSessionSubagentAborted

The session.subagent.aborted server event.

VoiceAgentServerEventSessionSubagentCompleted

The session.subagent.completed server event.

VoiceAgentServerEventSessionSubagentStarted

The session.subagent.started server event.

VoiceAgentServerEventSystemToolArgumentsDelta

An incremental model-argument fragment for a service-managed system tool.

VoiceAgentServerEventSystemToolArgumentsDone

The completed intent arguments for a system tool, not provider success or a request for a customer function result.

VoiceAgentServerEventWarning

The warning server event.

VoiceAgentServerEventWarningDetails

Details of a non-fatal warning.

VoiceAgentServerVadTurnDetection

Server-side voice activity detection.

VoiceAgentSessionAvatarConfig

Avatar settings accepted by the stable voice-agent WebSocket contract.

VoiceAgentSessionResponseConfig

The effective stable realtime session settings returned by the voice-agent service.

VoiceAgentSessionUpdateConfig

The stable realtime session settings accepted in a session.update client event.

VoiceAgentSessionUpdateOptions

Options for updating a Realtime session.

VoiceAgentSoundscapeConfig

Agent-owned background ambience and event cues. Each omitted track is disabled. The service rejects unknown fields; custom uploads, URLs, and inline audio are not supported.

VoiceAgentSoundscapeSourceConfig

A packaged sound selected from the service-managed catalogue. The service rejects unknown source fields and discriminator values.

VoiceAgentSoundscapeTrackConfig

A soundscape track with its own audio source and playback volume.

VoiceAgentSoundscapeWorkingTrackConfig

A working-loop track with a delay measured from the first pending non-call-control tool.

VoiceAgentStaticInterimResponseConfig

A static interim response selected from configured text.

VoiceAgentSubagent

A sibling Foundry text agent that a voice agent may consult as a background specialist.

VoiceAgentSubagentConfig

Configuration for delegated background specialists or inline voice subagents. For compatibility with existing delegate configurations, the service treats an omitted subagent_type as delegate.

VoiceAgentSubagentResponsePolicy

Policy for delivering responses while a voice agent waits for a subagent.

VoiceAgentSystemTool

A service-managed control that acts on the active voice session without customer code or external authentication.

VoiceAgentSystemToolItem

Service-generated system-tool intent, not a provider result. Clients cannot create it or complete it with function_call_output.

VoiceAgentTemplateGreetingConfig

A deterministic greeting rendered with the voice agent's structured inputs and synthesized without model-authored generation.

VoiceAgentTool

A tool usable by a voice agent.

VoiceAgentToolboxTool

A reference to a Foundry toolbox, which is a versioned bundle of tools executed through its MCP endpoint.

VoiceAgentTranscriptionPhrase

A transcribed phrase with timing information.

VoiceAgentTranscriptionWord

A time-stamped word in an input-audio transcription.

VoiceAgentTransferDestination

The canonical system-tool transfer destination.

VoiceAgentTransferRouting

The configured transfer routing policy. The model selects a target name, not destinations or routing settings.

VoiceAgentTransferSystemTool

Requests a transfer to an explicitly configured logical target.

VoiceAgentTransferTarget

A configured logical transfer target. Only its name and description are model-visible; destinations and routing are executor settings.

VoiceAgentTurnDetectionConfig

Turn-detection configuration for a voice agent.

VoiceAgentUnknownEvent

A service event this SDK version does not recognize.

These events do not close the connection. The SDK does not validate or transform their payloads, so validate rawEvent before using its fields.

VoiceAgentVoiceConfig

Voice output configuration. Inline subagents use it directly as their voice override, and the session-level output audio configuration extends it. Provider-specific fields are selected by voice_type:

  • openai: voice and speed.
  • azure-standard: voice, voice_locale, speed, voice_temperature, custom_lexicon_url, custom_text_normalization_url, prefer_locales, style, pitch, and volume.
  • azure-custom: all azure-standard fields except style, plus custom_voice_endpoint_id.
  • azure-personal: all azure-standard fields except style, plus personal_voice_model.
  • avatar-voice-sync: all azure-standard fields except voice and style, plus personal_voice_model; the voice name is derived from the avatar.
  • azure-realtime-native: voice and speed.
VoiceAgentWebSocketConnectOptions

Options passed to VoiceAgentWebSocketTransport.connect.

VoiceAgentWebSocketFactory

Creates transport instances for the Voice Agents Realtime and GPT Live clients.

VoiceAgentWebSocketHandlers

Callbacks invoked by a VoiceAgentWebSocketTransport as connection events occur.

VoiceAgentWebSocketTransport

WebSocket transport used by Realtime and GPT Live. Implement this interface to connect through an authenticated relay or another custom transport.

VoiceAgentsConversationsDeleteOptionalParams

Optional parameters.

VoiceAgentsConversationsDownloadAudioItemOptionalParams

Optional parameters.

VoiceAgentsConversationsDownloadAudioOptionalParams

Optional parameters.

VoiceAgentsConversationsDownloadGeneratedAudioItemOptionalParams

Optional parameters.

VoiceAgentsConversationsGetAudioItemOptionalParams

Optional parameters.

VoiceAgentsConversationsGetAudioOptionalParams

Optional parameters.

VoiceAgentsConversationsGetGeneratedAudioItemOptionalParams

Optional parameters.

VoiceAgentsConversationsGetItemOptionalParams

Optional parameters.

VoiceAgentsConversationsGetOptionalParams

Optional parameters.

VoiceAgentsConversationsGetResponseOptionalParams

Optional parameters.

VoiceAgentsConversationsListItemsOptionalParams

Optional parameters.

VoiceAgentsConversationsListOptionalParams

Optional parameters.

VoiceAgentsConversationsListResponseItemsOptionalParams

Optional parameters.

VoiceAgentsConversationsListResponsesOptionalParams

Optional parameters.

VoiceAgentsConversationsOperations

Operations for managing voice agent conversations.

VoiceAgentsOperations

Realtime voice-agent connections, telephony calls, and stored Realtime conversations.

VoiceAgentsTelephonyCancelCallJobOptionalParams

Optional parameters.

VoiceAgentsTelephonyCreateBindingOptionalParams

Optional parameters.

VoiceAgentsTelephonyCreateCallJobOptionalParams

Optional parameters.

VoiceAgentsTelephonyDeleteBindingOptionalParams

Optional parameters.

VoiceAgentsTelephonyDeleteCallJobOptionalParams

Optional parameters.

VoiceAgentsTelephonyEndCallOptionalParams

Optional parameters.

VoiceAgentsTelephonyGetBindingOptionalParams

Optional parameters.

VoiceAgentsTelephonyGetCallJobOptionalParams

Optional parameters.

VoiceAgentsTelephonyGetCallOptionalParams

Optional parameters.

VoiceAgentsTelephonyGetTransferTargetsOptionalParams

Optional parameters.

VoiceAgentsTelephonyListBindingsOptionalParams

Optional parameters.

VoiceAgentsTelephonyListCallJobsOptionalParams

Optional parameters.

VoiceAgentsTelephonyListCallsOptionalParams

Optional parameters.

VoiceAgentsTelephonyOperations

Operations for managing voice agent telephony.

VoiceAgentsTelephonyReplaceTransferTargetsOptionalParams

Optional parameters.

VoiceAgentsTelephonyTransferCallOptionalParams

Optional parameters.

VoiceAgentsTelephonyUpdateBindingOptionalParams

Optional parameters.

VoiceAudioItem

Metadata for a single conversation item's audio segment. For bring-your-own-storage (BYOS), the response includes blob_uri, a direct customer-storage URI without a SAS token, that the customer accesses with their own credentials. For Foundry-managed storage, blob_uri is absent and the bytes are streamed through the item's /audio/content route.

VoiceConversation

A persisted voice conversation. The Foundry envelope that owns a voice agent's stored transcript, responses, per-turn metrics, and audio. It is the parent, retention, and delete boundary: deleting it cascades to its responses, items, metrics, and audio. When finalization fails, any partial persisted responses, items, and item audio remain readable.

VoiceConversationEngine

An engine that owns conversation handling for a voice agent.

VoiceGeneratedAudioItem

Metadata for a conversation item's generated audio. For bring-your-own-storage (BYOS), the response includes blob_uri, a direct customer-storage URI without a SAS token, that the customer accesses with their own credentials. For Foundry-managed storage, blob_uri is absent and the bytes are streamed through the item's /audio/generated/content route.

VoiceHostedAgentConversationEngine

A closed reference to the hosted text agent that owns conversation handling for a voice agent. The hosted agent is resolved within the same project and must support the invocations_ws protocol, Voice Live compatibility, and Bridge Protocol 1.0.

VoiceRecording

Metadata for the merged, whole-call stereo recording of a voice conversation (user audio on the left channel, agent audio on the right). Built once from the per-turn segments after the session ends and durably cached. The common metadata (format, sample rate, channels, channel layout, duration) is returned for both Foundry-managed and bring-your-own-storage (BYOS) recordings. For BYOS the response also includes blob_uri, the URI of the recording in the customer's own storage (no SAS token), which the customer downloads using their own storage credentials. For Foundry-managed storage blob_uri is absent and the bytes are streamed via the /audio/content route instead.

VoiceRecordingChannelLayout

The role assigned to each channel of a merged stereo voice recording.

VoiceResponse

A persisted voice response representing one model inference turn within a conversation. In list results the output projection may be omitted; retrieve the full response (GET .../responses/{response_id}) or the paged response-items route (GET .../responses/{response_id}/items) for its output items. created_at/completed_at are Foundry durable ordering extensions.

VoiceResponseAudio

Audio configuration for a response. Follows the OpenAI Realtime GA audio object shape.

VoiceResponseAudioOutput

The flat response audio-output projection, with optional voice, voice_type, voice_locale, and format fields.

WebIQPreviewTool

A WebIQ server-side tool.

WebIQPreviewToolboxTool

A WebIQ tool stored in a toolbox.

WebSearchApproximateLocation

The approximate location of the user.

WebSearchConfiguration

A web search configuration for bing custom search

WebSearchPreviewTool

This tool searches the web for relevant results to use in a response. Learn more about the web search tool.

WebSearchTool

Search the Internet for sources related to the prompt. Learn more about the web search tool.

WebSearchToolFilters

model interface WebSearchToolFilters

WebSearchToolboxTool

A web search tool stored in a toolbox.

WeeklyRecurrenceSchedule

Weekly recurrence schedule.

WorkIQPreviewTool

A WorkIQ server-side tool.

WorkIQPreviewToolboxTool

A WorkIQ tool stored in a toolbox.

WorkflowAgentDefinition

The workflow agent definition.

Type Aliases

A2AProtocolVersion

Supported A2A protocol versions.

ActivityProtocolAccessBoundary

An access boundary for the activity protocol.

AgentBlueprintReferenceType

Type of AgentBlueprintReferenceType

AgentBlueprintReferenceUnion

Alias for AgentBlueprintReferenceUnion

AgentDefinitionOptInKeys

Feature opt-in keys for agent definition operations supporting conditional preview features.

AgentDefinitionUnion

Union type for all agent definition types. Supports workflow, hosted, container app, prompt, and external agents.

AgentEndpoint

Configuration for routing, protocols, and authorization at an agent endpoint.

AgentEndpointAuthorizationSchemeType

Type of AgentEndpointAuthorizationSchemeType

AgentEndpointAuthorizationSchemeUnion

Alias for AgentEndpointAuthorizationSchemeUnion

AgentHarnessUnion

Alias for AgentHarnessUnion

AgentIdentityStatus

The status of an agent identity, applicable to both the agent instance identity and the agent blueprint.

AgentInsightJsonValue

A JSON value used in Agent Insights payloads.

AgentInsightOverviewSource

Identifies where an Agent Insights overview came from.

AgentInsightPromptSurface

The Prompt surface changed by a proposed fix.

AgentInsightProposedFixKind

The customer-renderable kind of an agent insight's proposed fix.

AgentInsightRunTrigger

The trigger that started an agent insight run.

AgentInsightSeverity

The severity of an agent insight.

AgentInsightStatus

The lifecycle status of an agent insight.

AgentKind

Defines the type/kind of agent. Determines which agent definition structure is used.

AgentOptimizationCandidateExpand

Vocabulary for the expand query parameter on the candidate LIST endpoint. This open union keeps SDKs usable when new expand keys ship server-side. Multiple values are serialized as one comma-separated query parameter.

AgentOptimizationCandidateOutputUnion

Alias for AgentOptimizationCandidateOutputUnion

AgentOptimizationCandidateStatus

The candidate's lifecycle state.

AgentOptimizationConfigurationBaseUnion

Alias for AgentOptimizationConfigurationBaseUnion

AgentOptimizationConfigurationType

Optimization job configuration types.

AgentOptimizationDataSourceType

Source types supported by optimization evaluation sets.

AgentOptimizationEvaluationSetType

Logical row formats supported by optimization evaluation sets.

AgentOptimizationEvaluationSetUnion

Alias for AgentOptimizationEvaluationSetUnion

AgentOptimizationEvaluatorGenerationConfigurationUnion

Alias for AgentOptimizationEvaluatorGenerationConfigurationUnion

AgentOptimizationEvaluatorGenerationSourceType

Evidence sources for generating skill-optimization evaluators.

AgentOptimizationGoal

Goal for an agent-optimization job.

AgentOptimizationMutationUnion

Alias for AgentOptimizationMutationUnion

AgentOptimizationSkillExecutionStepStatus

Latest recorded state of a logical execution step.

AgentOptimizationSkillOutputReferenceUnion

Alias for AgentOptimizationSkillOutputReferenceUnion

AgentOptimizationSkillReferenceType

Types of skill references used by optimization.

AgentOptimizationSkillReferenceUnion

Alias for AgentOptimizationSkillReferenceUnion

AgentOptimizationSkillResultStatus

Publication or validation outcome for one skill, independent of whole-job status.

AgentOptimizationSkillValidationId

Artifact check identifier. Only implemented checks in the validation plan are reported.

AgentOptimizationSkillValidationStatus

Status of an artifact validation and its coverage.

AgentOptimizationSkillValidationType

Categories of per-skill validation.

AgentOptimizationSkillValidationUnion

Alias for AgentOptimizationSkillValidationUnion

AgentOptimizationStage

Stage of optimization that consumed model resources.

AgentOptimizationTargetCompletionDataSourceUnion

Alias for AgentOptimizationTargetCompletionDataSourceUnion

AgentOptimizationTargetConfigurationType

Target configuration types supported by optimization jobs.

AgentOptimizationTargetConfigurationUnion

Alias for AgentOptimizationTargetConfigurationUnion

AgentOptimizationTerminationReason

Reason the optimization process ended. Early termination reasons still indicate a successful job; completed candidates remain available.

AgentOptimizationTraceConnectionConfigurationUnion

Alias for AgentOptimizationTraceConnectionConfigurationUnion

AgentOptimizationTraceConnectionType

Project-authorized trace providers for skill optimization.

AgentOptimizationTraceWindowType

Trace selection strategies for skill optimization.

AgentOptimizationTraceWindowUnion

Alias for AgentOptimizationTraceWindowUnion

AgentOptimizationUserConversationSimulationDataSourceUnion

Alias for AgentOptimizationUserConversationSimulationDataSourceUnion

AgentProtocol

Type of AgentProtocol

AgentSessionStatus

The status of an agent session.

AgentState

The operational state of an agent.

AgentStateSource

Indicates the source of an agent's operational state. Empty when the state is not derived from a specific source.

AgentType

Type of AgentType

AgentVersionStatus

The provisioning status of an agent version.

AgentsDownloadAgentCodeResponse

The downloaded ZIP archive containing hosted agent code, exposed as a browser Blob or Node.js readable stream.

AgentsDownloadOptimizationJobFileResponse
AgentsDownloadSessionFileResponse

The downloaded agent session file, exposed as a browser Blob or Node.js readable stream.

AgentsPatchAgentObjectOptionalParams

Optional parameters.

AnswerResourceType

Type of AnswerResourceType

AnswerResourceUnion

Alias for AnswerResourceUnion

AttackStrategy

Strategies for attacks.

AzureAISearchQueryType

Available query types for Azure AI Search tool.

BaseCredentialsUnion

Alias for BaseCredentialsUnion

BetaSkillsDownloadResponse

The ZIP archive for the default version of a skill, exposed as a browser Blob or Node.js readable stream.

BetaVoiceAgentsLiveConversationsDownloadAudioItemResponse

The captured speech audio for a single item in a stored Live conversation, returned as a WAV byte stream.

BetaVoiceAgentsLiveConversationsDownloadAudioResponse

The merged stereo audio for a stored Live conversation, returned as a WAV byte stream.

CallableToolAllowedCaller

Type of CallableToolAllowedCaller

ChoiceValueResource

Choice values are typed: a string and a boolean with the same text are distinct.

CodeDependencyResolution

How package dependencies are resolved at deployment time for a code-based hosted agent.

ComparisonFilterValueItems

Alias for ComparisonFilterValueItems

ComputerEnvironment

Type of ComputerEnvironment

ConnectionType

The Type (or category) of the connection

ContainerMemoryLimit

Type of ContainerMemoryLimit

ContainerNetworkPolicyParamType

Type of ContainerNetworkPolicyParamType

ContainerNetworkPolicyParamUnion

Alias for ContainerNetworkPolicyParamUnion

ContainerSkillType

Type of ContainerSkillType

ContainerSkillUnion

Alias for ContainerSkillUnion

ContinuablePage

An interface that describes a page of results.

CreateChatCompletionRequestResponseFormatType

Type of CreateChatCompletionRequestResponseFormatType

CreateChatCompletionRequestResponseFormatUnion

Alias for CreateChatCompletionRequestResponseFormatUnion

CreateTranscriptionResponseJsonUsageType

Type of CreateTranscriptionResponseJsonUsageType

CreateTranscriptionResponseJsonUsageUnion

Alias for CreateTranscriptionResponseJsonUsageUnion

CredentialType

The credential type used by the connection

CustomToolParamFormatType

Type of CustomToolParamFormatType

CustomToolParamFormatUnion

Alias for CustomToolParamFormatUnion

DataGenerationJobConfigurationUnion

Alias for DataGenerationJobConfigurationUnion

DataGenerationJobInputsUnion

Alias for DataGenerationJobInputsUnion

DataGenerationJobOutputType

The supported output file types for a data generation job.

DataGenerationJobOutputUnion

Alias for DataGenerationJobOutputUnion

DataGenerationJobOutputWriteMode

The supported write modes for data generation job outputs.

DataGenerationJobScenario

The supported scenarios for a data generation job.

DataGenerationJobSourceType

The supported source types for data generation jobs.

DataGenerationJobSourceUnion

Alias for DataGenerationJobSourceUnion

DataGenerationJobType

The supported data generation job types.

DataGenerationJobUnion

Alias for DataGenerationJobUnion

DataGenerationWarningCode

Known warning codes for data generation jobs. Additional codes may be returned.

DatasetEvaluationSource

Dataset inputs supported by scheduled rules. Targets are configured within the selected source.

DatasetType

Enum to determine the type of data.

DatasetVersionUnion

Alias for DatasetVersionUnion

DayOfWeek

Days of the week for recurrence schedule.

DeploymentType

Type of DeploymentType

DeploymentUnion

Alias for DeploymentUnion

DigitalWorkerType

The type of digital worker.

DownloadVersionResponse

The ZIP archive for a specified skill version, exposed as a browser Blob or Node.js readable stream.

EndpointEvaluatorSchemaVersion

Contract version for an endpoint-based evaluator.

EvalItemContent

Inputs to the model - can contain template strings. Supports text, output text, input images, and input audio, either as a single item or an array of items.

EvalItemContentItem

A single content item: input text, output text, input image, or input audio.

EvalItemContentItemObjectType

Type of EvalItemContentItemObjectType

EvalItemContentItemObjectUnion

Alias for EvalItemContentItemObjectUnion

EvalRunDataSourceUnion

Alias for EvalRunDataSourceUnion

EvaluationLevel

The level at which evaluation is performed.

EvaluationRuleActionType

Type of the evaluation action.

EvaluationRuleActionUnion

Alias for EvaluationRuleActionUnion

EvaluationRuleEventType

Type of the evaluation rule event.

EvaluationTargetUnion

Alias for EvaluationTargetUnion

EvaluationTaxonomyInputType

Type of the evaluation taxonomy input.

EvaluationTaxonomyInputUnion

Alias for EvaluationTaxonomyInputUnion

EvaluationVoiceModelConfigurationUnion

Alias for EvaluationVoiceModelConfigurationUnion

EvaluatorCategory

The category of the evaluator

EvaluatorDefinitionType

The type of evaluator definition

EvaluatorDefinitionUnion

Alias for EvaluatorDefinitionUnion

EvaluatorDiagnosticActorType

The type of actor responsible for an evaluator lineage diagnostic.

EvaluatorDiagnosticActorUnion

Alias for EvaluatorDiagnosticActorUnion

EvaluatorDiagnosticChangeType

Known machine-readable classifications for evaluator diagnostic changes.

EvaluatorDiagnosticType

The supported evaluator diagnostic change shapes.

EvaluatorDiagnosticUnion

Alias for EvaluatorDiagnosticUnion

EvaluatorGenerationCategory

The requested evaluator generation category.

EvaluatorGenerationJobSourceType

The supported source types for evaluator generation jobs.

EvaluatorGenerationJobSourceUnion

Alias for EvaluatorGenerationJobSourceUnion

EvaluatorHealthConfidence

Provisional structural confidence level for computed rubric health.

EvaluatorMetricDirection

The direction of the metric indicating whether a higher value is better, a lower value is better, or neutral

EvaluatorMetricType

The type of the evaluator

EvaluatorType

The type of the evaluator

FileContents

Valid values for the contents of a binary file.

FileInputDetail

Type of FileInputDetail

FileSearchToolFiltersValue

Alias for FileSearchToolFiltersValue

FilterStrategyType

Specifies the type of filter strategy used to select traces for evaluation.

Filters

Alias for Filters

FoundryFeaturesOptInKeys

Type of FoundryFeaturesOptInKeys

FoundryModelArtifactProfileCategory

The artifact profile category.

FoundryModelArtifactProfileSignal

Signals detected in the model artifact.

FoundryModelSourceType

The source type of the model.

FoundryModelWarningCode

Warning code for model artifacts.

FoundryModelWeightType

The weight type of the model.

FunctionShellToolParamEnvironmentType

Type of FunctionShellToolParamEnvironmentType

FunctionShellToolParamEnvironmentUnion

Alias for FunctionShellToolParamEnvironmentUnion

GenerateAgentRequest

The kind-specific inputs for generating and creating an agent.

GenerationWarningType

Category of a warning surfaced on a generated evaluator version. Extensible so new warning categories (e.g., safety, output quality) can be introduced without a breaking change.

GetMicrosoft365PackageResponse

The binary Microsoft 365 app package generated for a Foundry agent.

GitHubCopilotBuiltInTool

The legacy GitHub Copilot built-in tool names retained for compatibility. Use MicrosoftCopilotBuiltInTool for new integrations.

GitHubIssueEvent

Known GitHub issue events that can fire a routine.

GrammarSyntax

Type of GrammarSyntax

ImageDetail

Type of ImageDetail

ImageGenAction

Type of ImageGenAction

IndexType

Type of IndexType

IndexUnion

Alias for IndexUnion

InputContentType

Type of InputContentType

InputContentUnion

Alias for InputContentUnion

InputFidelity

Control how much effort the model will exert to match the style and features, especially facial features, of input images. This parameter is only supported for gpt-image-1 and gpt-image-1.5 and later models, unsupported for gpt-image-1-mini. Supports high and low. Defaults to low.

InputItemType

Type of InputItemType

InsightRequestUnion

Alias for InsightRequestUnion

InsightResultUnion

Alias for InsightResultUnion

InsightSampleUnion

Alias for InsightSampleUnion

InsightType

The request of the insights.

ItemGenerationParamsType

Identifies how evaluation input items are prepared before evaluation.

ItemGenerationParamsUnion

Alias for ItemGenerationParamsUnion

JobPoller

A poller for a long-running operation that creates a job resource.

JobStatus

Extensible status values shared by Foundry jobs.

LiveAudioFormatType

Type of LiveAudioFormatType

LiveAudioFormatUnion

Alias for LiveAudioFormatUnion

LiveClientEventType

Type of LiveClientEventType

LiveClientEventUnion

Alias for LiveClientEventUnion

LiveContainerMemoryLimit

Type of LiveContainerMemoryLimit

LiveDecisionInputItemParamType

Type of LiveDecisionInputItemParamType

LiveDecisionInputItemParamUnion

Alias for LiveDecisionInputItemParamUnion

LiveDecisionQuestionType

Type of LiveDecisionQuestionType

LiveDecisionQuestionUnion

Alias for LiveDecisionQuestionUnion

LiveDecisionStoredInputItemParamType

Type of LiveDecisionStoredInputItemParamType

LiveDecisionStoredInputItemParamUnion

Alias for LiveDecisionStoredInputItemParamUnion

LiveDetailEnum

Type of LiveDetailEnum

LiveFunctionCallItemStatus

Type of LiveFunctionCallItemStatus

LiveInitialItemType

Type of LiveInitialItemType

LiveInitialItemUnion

Alias for LiveInitialItemUnion

LiveInitialMessageStatus

Type of LiveInitialMessageStatus

LiveReasoningEffort

Type of LiveReasoningEffort

LiveReasoningSummary

Type of LiveReasoningSummary

LiveResponsesServiceTier

Type of LiveResponsesServiceTier

LiveServerEventType

Type of LiveServerEventType

LiveServerEventUnion

Alias for LiveServerEventUnion

LiveSessionCreateParamsDelegationType

Type of LiveSessionCreateParamsDelegationType

LiveSessionCreateParamsDelegationUnion

Alias for LiveSessionCreateParamsDelegationUnion

LiveSessionUpdateParamsDelegationType

Type of LiveSessionUpdateParamsDelegationType

LiveSessionUpdateParamsDelegationUnion

Alias for LiveSessionUpdateParamsDelegationUnion

LiveTextVerbosity

Type of LiveTextVerbosity

LiveToolChoiceEnum

Type of LiveToolChoiceEnum

LiveToolChoiceValueEnum

Type of LiveToolChoiceValueEnum

MCPToolboxRequestHeaderBindingSource

The source used to resolve a request header value for an MCP server.

MemoryItemKind

Memory item kind.

MemoryItemUnion

Alias for MemoryItemUnion

MemoryOperationKind

Memory operation kind.

MemoryStoreDefinitionUnion

Alias for MemoryStoreDefinitionUnion

MemoryStoreKind

The type of memory store implementation to use.

MemoryStoreType

Type of MemoryStoreType

MemoryStoreUpdateStatus

Status of a memory store update operation.

MessagePhase

Labels an assistant message as intermediate commentary (commentary) or the final answer (final_answer). For models like gpt-5.3-codex and beyond, when sending follow-up requests, preserve and resend phase on all assistant messages — dropping it can degrade performance. Not used for user messages.

Microsoft365PublishScope

The publish scope for the generated Microsoft Teams app.

MicrosoftCopilotBuiltInTool

A customer-configurable Microsoft Copilot built-in tool.

MisalignmentErrorType

A classification of an action that may not align with the user's intent. Additional values may be returned.

ModelIdsLive

The Live model. Required in the session configuration for every transport; do not pass it as a URL query parameter.

NodeReadableStream

Type alias for Node.js ReadableStream. On Node targets this resolves to the actual NodeJS.ReadableStream type. On browser/react-native targets the platform variant resolves to never, which drops out of union types naturally.

OpenApiAuthDetailsUnion

Alias for OpenApiAuthDetailsUnion

OpenApiAuthType

Authentication type for OpenApi endpoint. Allowed types are:

  • Anonymous (no authentication required)
  • Project Connection (requires project_connection_id to endpoint, as setup in AI Foundry)
  • Managed_Identity (requires audience for identity based auth)
OperationState

Enum describing allowed operation states.

OptimizationCandidate

The configuration changes and aggregated evaluation results for an agent optimization candidate.

OptimizationContextType

Type of context supplied to an optimization workflow.

OptimizationContextUnion

Alias for OptimizationContextUnion

OptimizationJob

An agent optimization job that tracks inputs, progress, status, and candidate evaluation results.

OptimizationJobResult

The evaluated candidates and identifiers of the baseline and best candidate from an optimization job.

PageOrder

Type of PageOrder

PendingUploadType

The type of pending upload.

PublishApprovalStatus

The Microsoft Agent Certification review status of the Microsoft 365 store title published for an agent.

RaiInvocationContentType

How an invocations request/response body is parsed to locate text for content-safety moderation.

RaiInvocationMode

Author-declared response shape for the invocations protocol.

RankerVersionType

Type of RankerVersionType

RealtimeAudioFormatsType

Type of RealtimeAudioFormatsType

RealtimeAudioFormatsUnion

Alias for RealtimeAudioFormatsUnion

RealtimeClientEventType

Alias for RealtimeClientEventType

RealtimeClientEventUnion

Alias for RealtimeClientEventUnion

RealtimeConversationItemMessageType

Type of RealtimeConversationItemMessageType

RealtimeConversationItemMessageUnion

Alias for RealtimeConversationItemMessageUnion

RealtimeConversationItemType

Alias for RealtimeConversationItemType

RealtimeConversationItemUnion

Alias for RealtimeConversationItemUnion

RealtimeFunctionToolParameters

model interface RealtimeFunctionToolParameters

RealtimeMCPErrorType

Type of RealtimeMCPErrorType

RealtimeMCPErrorUnion

Alias for RealtimeMCPErrorUnion

RealtimeReasoningEffort

Constrains effort on reasoning for reasoning-capable Realtime models such as gpt-realtime-2.

RealtimeResponseInputItem

An existing item reference or a new message or function call item for a Realtime response.

RealtimeResponseInputMessageType

Type of RealtimeResponseInputMessageType

RealtimeResponseInputMessageUnion

Alias for RealtimeResponseInputMessageUnion

RealtimeServerEventType

Alias for RealtimeServerEventType

RealtimeServerEventUnion

Alias for RealtimeServerEventUnion

ReasoningEffort

Constrains effort on reasoning for reasoning models. Currently supported values are none, minimal, low, medium, high, and xhigh. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.

  • gpt-5.1 defaults to none, which does not perform reasoning. The supported reasoning values for gpt-5.1 are none, low, medium, and high. Tool calls are supported for all reasoning values in gpt-5.1.
  • All models before gpt-5.1 default to medium reasoning effort, and do not support none.
  • The gpt-5-pro model defaults to (and only supports) high reasoning effort.
  • xhigh is supported for all models after gpt-5.1-codex-max.
ReasoningModeEnum

Alias for ReasoningModeEnum

RecurrenceScheduleUnion

Alias for RecurrenceScheduleUnion

RecurrenceType

Recurrence type.

RedTeamTargetConfigUnion

Alias for RedTeamTargetConfigUnion

RiskCategory

Risk category for the attack objective.

RoutineActionType

The discriminator values supported for routine actions.

RoutineActionUnion

Alias for RoutineActionUnion

RoutineAttemptSource

Known source paths that can produce a routine run.

RoutineDispatchIdentity

The supported identities for routine dispatch authorization.

RoutineDispatchPayloadType

The discriminator values supported for manual routine dispatch payloads.

RoutineDispatchPayloadUnion

Alias for RoutineDispatchPayloadUnion

RoutineRunPhase

Known lifecycle phases recorded for a routine run.

RoutineRunStatus

The status of a routine run.

RoutineTriggerType

The discriminator values supported for routine triggers.

RoutineTriggerUnion

Alias for RoutineTriggerUnion

RubricGenerationInputQualityWarningCode

Stable searchable machine-readable warning code for a rubric-generation input-quality warning. Values are snake_case; clients must tolerate additional service-defined identifiers.

RubricGenerationInputQualityWarningSeverity

Advisory severity for a rubric-generation input-quality warning. Initial value set: warning.

RubricGenerationInputQualityWarningSource

Warning source attribution for a rubric-generation input-quality warning. Per-source values (prompt, agent, dataset) match the source category visible to the generation runtime. aggregate is a synthetic value used only for warnings computed across successfully resolved sources. traces is not exposed because trace sources resolve into dataset content upstream.

RubricScoringMode

The judgment mode selected for an entire rubric. Safety rubrics use Boolean judgments with separately reported allowed and disallowed behavior metrics.

RunPoller

A poller for a long-running operation that creates a run resource.

SampleType

The type of sample used in the analysis.

ScheduleProvisioningStatus

Schedule provisioning status.

ScheduleTaskType

Type of the task.

ScheduleTaskUnion

Alias for ScheduleTaskUnion

SearchContentType

Type of SearchContentType

SearchContextSize

Type of SearchContextSize

SessionLogEventType

Known SSE event types emitted by the hosted agent session log stream. Additional event types may be introduced in future versions.

SimpleQnAFineTuningQuestionType

The supported question types for SimpleQnA data generation jobs used for fine-tuning scenarios.

SipTelephonyBindingCreate

SIP binding configuration supplied at creation.

TargetAttribute

Agent attribute that can be optimized.

TeamsPhoneExtensibilityTelephonyBindingCreate

Microsoft Teams Phone extensibility binding configuration supplied at creation.

TelemetryDataKind

The type of telemetry data to export.

TelemetryEndpointAuthType

The type of authentication for a telemetry endpoint.

TelemetryEndpointAuthUnion

Alias for TelemetryEndpointAuthUnion

TelemetryEndpointKind

The kind of telemetry export endpoint.

TelemetryEndpointUnion

Alias for TelemetryEndpointUnion

TelemetryTransportProtocol

The transport protocol for telemetry export.

TelephonyAddressType

Extensible endpoint address kinds. Address type describes the endpoint independently of the provider.

TelephonyAddressUnion

Alias for TelephonyAddressUnion

TelephonyBindingCreate

Telephony binding configuration supplied at creation, without service-generated fields.

TelephonyBindingCreateUnion

Provider-specific binding creation inputs.

TelephonyBindingListItemUnion

Alias for TelephonyBindingListItemUnion

TelephonyBindingUnion

Alias for TelephonyBindingUnion

TelephonyCallDurationBasis

The timestamp used as the basis for call duration.

TelephonyCallEndReason

Known service-generated reasons that one telephony call ended, rather than reasons for an overall outbound call job. Additional string codes may be returned.

TelephonyCallJobStatus

The lifecycle status of a durable outbound call job.

TelephonyCallJobTerminalReason

Known terminal reasons for an overall outbound call job, which can span multiple provider attempts. These are distinct from individual call lifecycle reasons. Additional string codes may be returned.

TelephonyCallLifecycleEventName

A provider-neutral lifecycle event name. Known values are stable; additional values may be added over time.

TelephonyCallLifecycleEventOutcome

The outcome of one telephony lifecycle observation.

TelephonyCallLifecycleEventReason

Known service-generated reasons for a telephony lifecycle event. An event reason does not necessarily describe the final outcome of the call. Additional string codes may be returned.

TelephonyCallLifecycleEventSource

The component that supplied a telephony lifecycle observation.

TelephonyCallPhase

The provider-neutral phase reached by an inbound telephony call.

TelephonyCallStatus

The lifecycle status of an inbound telephony call.

TelephonyCallTimestampSource

The source of a telephony lifecycle timestamp.

TelephonyCallTraceMode

The mode used to expose a telephony call as a customer-facing Foundry trace.

TelephonyCallTraceStatus

The availability status of a customer-facing telephony call trace.

TelephonyCampaignCreate

Campaign creation/replacement inputs. Service-managed state is returned only in responses.

TelephonyCampaignOperationKind

Kind of asynchronous work associated with a Campaign.

TelephonyCampaignScheduleType

Mutually exclusive ways to determine each recipient's earliest dispatch time.

TelephonyCampaignScheduleUnion

Alias for TelephonyCampaignScheduleUnion

TelephonyCampaignStatus

Campaign execution state, separate from preparation/cancel/delete LROs. All recipients terminal means completed, not necessarily successful.

TelephonyOutboundRetryPolicyType

The retry strategy for an outbound call.

TelephonyOutboundRetryPolicyUnion

Alias for TelephonyOutboundRetryPolicyUnion

TelephonyProvider

A telephony binding provider. Teams Phone extensibility and Twilio are GA; SIP is preview.

TextResponseFormatConfigurationType

Type of TextResponseFormatConfigurationType

TextResponseFormatConfigurationUnion

Supported configurations for plain text and structured JSON responses.

TextResponseFormatUnion

Alias for TextResponseFormatUnion

ToolApplyPatchToolParam

Alias for ApplyPatchToolParam.

ToolChoiceOptions

Controls which (if any) tool is called by the model. none means the model will not call any tool and instead generates a message. auto means the model can pick between generating a message or calling one or more tools. required means the model must call one or more tools.

ToolChoiceParamType

Type of ToolChoiceParamType

ToolChoiceParamUnion

Alias for ToolChoiceParamUnion

ToolCodeInterpreterTool

Alias for CodeInterpreterTool.

ToolComputerTool

Alias for ComputerTool.

ToolComputerUsePreviewTool

Alias for ComputerUsePreviewTool.

ToolCustomToolParam

Alias for CustomToolParam.

ToolFileSearchTool

Alias for FileSearchTool.

ToolFunctionShellToolParam

Alias for FunctionShellToolParam.

ToolFunctionTool

Alias for FunctionTool.

ToolImageGenTool

Alias for ImageGenTool.

ToolLocalShellToolParam

Alias for LocalShellToolParam.

ToolMcpTool

Alias for MCPTool.

ToolProgrammaticToolCallingParam

Alias for ProgrammaticToolCallingParam.

ToolSearchExecutionType

Type of ToolSearchExecutionType

ToolToolSearchToolParam

Alias for ToolSearchToolParam.

ToolType

Type of ToolType

ToolUnion

Alias for ToolUnion

ToolWebSearchPreviewTool

Alias for WebSearchPreviewTool.

ToolWebSearchTool

Alias for WebSearchTool.

ToolboxShellEnvironmentUnion

Alias for ToolboxShellEnvironmentUnion

ToolboxShellNetworkPolicyUnion

Alias for ToolboxShellNetworkPolicyUnion

ToolboxSkillUnion

Alias for ToolboxSkillUnion

ToolboxToolType

Supported tool types for tools stored in a toolbox.

ToolboxToolUnion

Alias for ToolboxToolUnion

ToolboxesInvokeLatestToolboxMcpResponse

The response returned by the latest toolbox MCP endpoint.

TraceEvaluationSource

Existing trace-evaluation inputs supported by scheduled rules.

TraceSourceType

Specifies the type of trace source used to select traces for evaluation.

TraceSourceUnion

Alias for TraceSourceUnion

TreatmentEffectType

Treatment Effect Type.

TriggerType

Type of the trigger.

TriggerUnion

Alias for TriggerUnion

TwilioTelephonyBindingCreate

Twilio binding configuration supplied at creation.

UserConversationSimulationAudioEffect

Effect that can be applied to simulated conversation audio. The union is extensible for additional effects.

UserConversationSimulationInterruptionConfigurationUnion

Alias for UserConversationSimulationInterruptionConfigurationUnion

UserConversationSimulationSource

Sources supported by user conversation simulation.

VersionIndicatorType

The type of version indicator used to determine the agent version backing a session.

VersionIndicatorUnion

Alias for VersionIndicatorUnion

VersionSelectionRuleType

Type of VersionSelectionRuleType

VersionSelectionRuleUnion

Alias for VersionSelectionRuleUnion

VoiceAgentAnimationOutputType

An animation output produced by a voice-agent session.

VoiceAgentAudioTimestampType

An output-audio timestamp kind supported by a voice agent.

VoiceAgentAvatarOutputProtocol

The transport used to deliver the avatar video stream.

VoiceAgentAvatarType

The avatar type.

VoiceAgentBaseDefinitionUnion

Alias for VoiceAgentBaseDefinitionUnion

VoiceAgentClientEvent

A stable v1 message sent by a client over a voice-agent WebSocket.

VoiceAgentClientEventTypeExtension

Type of VoiceAgentClientEventTypeExtension

VoiceAgentConnectionState

State of a Voice Agents connection.

VoiceAgentConnectionStateChangedHandler

Called when a voice-agent connection changes state.

VoiceAgentConversationItemTypeExtension

Additional item kinds used by the Voice Agent service.

VoiceAgentDtmfCompletionMode

One typed keypad completion policy. Unknown types, mixed-mode fields and legacy strings are rejected before receiver setup.

VoiceAgentDtmfTerminator

The two non-numeric keypad keys permitted as confirmation terminators.

VoiceAgentEchoCancellationReferenceSource

The source of reference audio used for echo cancellation.

VoiceAgentEndOfUtteranceDetectionModel

The semantic end-of-utterance detection model.

VoiceAgentEndOfUtteranceThresholdLevel

The sensitivity threshold for semantic end-of-utterance detection.

VoiceAgentGreetingConfigUnion

Alias for VoiceAgentGreetingConfigUnion

VoiceAgentGreetingMode

The greeting modes supported by a voice agent.

VoiceAgentHandoffAbortReason

Why a server-managed handoff ended before target commit.

VoiceAgentHandoffMaxOutputTokens

The maximum output-token count or the literal inf for a handoff node.

VoiceAgentHandoffPipelineFamily

The immutable pipeline family selected for a voice-agent handoff graph.

VoiceAgentHandoffReasoningEffort

Reasoning effort applied by a compatible handoff-node model.

VoiceAgentHandoffTargetResponse

Whether Voice Live automatically starts a response after a handoff target becomes active.

VoiceAgentInputCollectionChannel

The receiver used by an input collection. Voice collection is not supported.

VoiceAgentInputCollectionStatus

Collection lifecycle and value-free telephony-operation outcomes. Additional outcomes may be introduced over time.

VoiceAgentInputTranscriptionModel

The input-audio transcription model identifier. This is a model name, not a Foundry deployment name. Mirrors the transcription models supported by the managed voice backend, covering the OpenAI Realtime transcription models plus the Azure and MAI models. azure-speech-streaming is supported for cascaded text-model conversations only (not realtime speech-to-speech models), requires a nonempty language such as en-US (comma-separated locales are supported), and supports custom_speech, phrase_list, and profanity_filter. Additional values may be added over time.

VoiceAgentInterimResponseConfigUnion

Alias for VoiceAgentInterimResponseConfigUnion

VoiceAgentInterimResponseTrigger

A condition that may trigger an interim response.

VoiceAgentInterimResponseType

The interim-response implementations supported by a voice agent.

VoiceAgentLiveClientEvent

Commands you can send after the service starts a GPT Live session.

VoiceAgentLiveConversationItemType

The kind of a persisted Live conversation item.

VoiceAgentLiveConversationItemUnion

Alias for VoiceAgentLiveConversationItemUnion

VoiceAgentLiveDecisionItem

A user message, function call, custom tool call, or tool result added to a Decision context.

VoiceAgentLiveDecisionStoredItem

A stored Decision item, including its service-assigned identifier.

VoiceAgentLiveDelegationConversationItemUnion

Alias for VoiceAgentLiveDelegationConversationItemUnion

VoiceAgentLiveDelegationStatus

Persisted delegation outcome, not speech or playback status.

VoiceAgentLiveDelegationTarget

Delegation owner. Foundry agent targets use native client delegation upstream.

VoiceAgentLiveDelegationType

Supported owners of work delegated by a Live voice agent.

VoiceAgentLiveDelegationUnion

Alias for VoiceAgentLiveDelegationUnion

VoiceAgentLiveEvent

Events received from GPT Live, including unrecognized service events.

VoiceAgentLiveEventHandler

Handler for one GPT Live event type.

VoiceAgentMaxOutputTokens

The maximum output-token count or the literal inf.

VoiceAgentNoiseReductionType

The input audio noise reduction mode.

  • azure_deep_noise_suppression_headset: Azure headset-optimized noise suppression for local voice activity detection. Optimized for low-sample-rate audio, including 8 kHz telephony audio. Enhances detection audio without changing the audio used for recognition. The mode is not restricted to headset devices.
  • azure_personal_noise_suppression: Azure personalized noise suppression for local voice activity detection. Starts with headset suppression and personalizes detection after automatic speaker enrollment. Recognition audio is unchanged; headset suppression remains active when personalization is unavailable.
VoiceAgentPostCallDestinationType

The type of a post-call destination.

VoiceAgentPostCallDestinationUnion

Alias for VoiceAgentPostCallDestinationUnion

VoiceAgentPostCallIncludeOption

Content that can be included in a post-call delivery.

VoiceAgentProfanityFilterMode

The supported input-transcript profanity filtering modes.

VoiceAgentRealtimeErrorCode

Error codes raised by the Voice Agents WebSocket clients.

VoiceAgentRealtimeEvent

An event received from a Realtime voice session.

Check type to handle a known event or VoiceAgentUnknownEvent. Exclude "unknown" before passing an event to a handler for known events only.

VoiceAgentRtcCallErrorType

The error categories reported for WebRTC signaling failures.

VoiceAgentServerEvent

A stable v1 message sent by the service over a voice-agent WebSocket.

VoiceAgentServerEventTypeExtension

Type of VoiceAgentServerEventTypeExtension

VoiceAgentSessionIncludeOption

Additional fields that a voice-agent session may include in service outputs.

VoiceAgentSessionResponse

The effective session configuration returned in voice-agent session lifecycle events.

VoiceAgentSessionUpdate

The session configuration accepted by a voice-agent session update event.

VoiceAgentSoundscapeSound

The packaged sounds accepted by a built-in soundscape source.

VoiceAgentSubProtocol

Voice protocol; realtime includes cascaded models.

VoiceAgentSubagentAbortReason

The reason a subagent consultation was aborted.

VoiceAgentSubagentConfigUnion

Alias for VoiceAgentSubagentConfigUnion

VoiceAgentSubagentType

The subagent configuration mode. Additional modes may be added over time.

VoiceAgentSystemToolItemStatus

The generation status of a system-tool item. It does not indicate provider success.

VoiceAgentSystemToolName

A service-managed voice-session control action. Known values are stable; additional values may be added over time.

VoiceAgentSystemToolUnion

Alias for VoiceAgentSystemToolUnion

VoiceAgentToolChoice

Tool-selection behavior for a voice agent.

VoiceAgentToolResponseScheduling

When a tool invocation creates a follow-up response. Additional values may be added over time.

VoiceAgentToolType

The tool kinds supported by a voice agent.

VoiceAgentToolUnion

Alias for VoiceAgentToolUnion

VoiceAgentTransferDestinationType

The supported address formats for a system-tool transfer destination.

VoiceAgentTransferStrategy

Per-invocation transfer routing. Unsupported strategies are rejected before provider execution; schema membership does not imply support by every provider.

VoiceAgentTransport

The transport used for a voice-agent connection.

VoiceAgentTurnDetectionConfigUnion

Alias for VoiceAgentTurnDetectionConfigUnion

VoiceAgentTurnDetectionType

The turn-detection strategy. Additional values may be added over time.

VoiceAgentWebSocketMessage

A JSON text message exchanged over an established voice-agent WebSocket. Audio bytes are base64-encoded in JSON event fields.

VoiceAgentWebSocketSubprotocol

The WebSocket subprotocol supported by a voice-agent connection.

VoiceAgentsConversationsDownloadAudioItemResponse

The WAV audio for a conversation item, exposed as a browser Blob or Node.js readable stream.

VoiceAgentsConversationsDownloadAudioResponse

The merged stereo WAV recording of a voice conversation, exposed as a browser Blob or Node.js readable stream.

VoiceAgentsConversationsDownloadGeneratedAudioItemResponse

The generated WAV audio for an interrupted conversation item, exposed as a browser Blob or Node.js readable stream.

VoiceAudioCodec

An audio codec. Additional values may be added over time.

VoiceAudioContainerFormat

An audio container format. Additional values may be added over time.

VoiceAudioRole

A voice-audio participant role. Additional values may be added over time.

VoiceConversationEngineType

The conversation engine types supported by a voice agent.

VoiceConversationEngineUnion

Alias for VoiceConversationEngineUnion

VoiceConversationStatus

The lifecycle status of a persisted voice conversation:

  • in_progress: the live session is active, or post-session persistence finalization is pending.
  • completed: finalization succeeded after normal or client close, end_conversation, a max-duration 1001 close, or a client or network disconnect that the service can still finalize.
  • failed: a terminal service, bridge, storage, or unrecoverable transport failure prevented finalization.
VoiceModelType

How the model backing a voice agent is served. This is independent of the architecture (realtime or cascaded), which the service derives from the selected model.

VoiceOutputModality

An output modality the agent may produce. animation and avatar are used when an avatar is configured.

VoiceType

The voice implementation. Additional values may be added over time.

Enums

KnownApiVersions

Microsoft Foundry API versions

Functions

isRestError(unknown)

Typeguard for RestError

Variables

RestError

A custom error type for failed pipeline requests.

KnownVoiceAgentConnectionState

Known states of a Voice Agents connection.

Function Details

isRestError(unknown)

Typeguard for RestError

function isRestError(e: unknown): e is RestError

Parameters

e

unknown

Something caught by a catch clause.

Returns

e is RestError

Variable Details

RestError

A custom error type for failed pipeline requests.

RestError: RestErrorConstructor

Type

KnownVoiceAgentConnectionState

Known states of a Voice Agents connection.

KnownVoiceAgentConnectionState: { Closing: "closing", Connected: "connected", Connecting: "connecting", Disconnected: "disconnected" }

Type

{ Closing: "closing", Connected: "connected", Connecting: "connecting", Disconnected: "disconnected" }