メイン コンテンツにスキップ

このブラウザーはサポートされなくなりました。

Microsoft Edge にアップグレードすると、最新の機能、セキュリティ更新プログラム、およびテクニカル サポートを利用できます。

Microsoft Edge をダウンロードする Internet Explorer と Microsoft Edge の詳細情報
microsoft-foundry.rest.security.o-auth2-auth

AgentOptimizationJobs

Get a candidate for an agent optimization job

GET /agent_optimization_jobs/{jobId}/candidates/{candidateId}

Retrieves a single candidate. Mutation values are always included. Skill optimization detail includes independent skill results, resolved context, and the persisted execution snapshot when available; these detail fields are omitted from candidate lists.

パス パラメーター

jobId string 必須

The ID of the parent optimization job.

candidateId string 必須

The candidate identifier.

クエリ パラメーター

api-version string 必須

The API version to use for this operation.

応答

The request has succeeded.

本文

Content-Type: application/json
candidate_id string 必須

Server-assigned candidate identifier.

job_id string 必須

Identifier of the parent optimization job.

name string 必須

Display name of the candidate (e.g., 'baseline', 'instruction-v2').

status string | enum 必須

The candidate's lifecycle state.

次のいずれか:
string
enum
generatingevaluatingcompletedfailedskipped
error OpenAI.Error
code string | null 必須
message string 必須
param string | null
type string
misalignment OpenAI.MisalignmentErrorDetailsResource
review_target string | null
error_type string | enum
次のいずれか:
string
enum
potentially_unintended_data_transferpotentially_unintended_data_accesspotentially_unintended_destructive_activityother
detailed_explanation string

The public explanation for this block.

steer OpenAI._MisalignmentSteer
message string 必須

The public continuation instruction.

details OpenAI.Error[]

Additional errors that contributed to this failure.

additionalInfo object

Additional structured information about the failure.

debugInfo object

Diagnostic information supplied by the service for troubleshooting.

started_at integer 必須
output agent_optimization | prompt_optimization | skill_optimization

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

次のいずれか:
agent_optimization AgentOptimizationAgentCandidateOutput

Candidate output produced by an agent-optimization job.

type enum 必須
agent_optimization
mutations AgentOptimizationMutation[]

Typed configuration mutations applied to the baseline. Omitted for the baseline candidate. LIST without expand=mutations returns mutation items with only type; expanded LIST and candidate GET populate each mutation's value.

prompt_optimization AgentOptimizationPromptCandidateOutput

Candidate output produced by a prompt-optimization job.

type enum 必須
prompt_optimization
mutations AgentOptimizationMutation[]

Typed configuration mutations applied to the baseline. Omitted for the baseline candidate. LIST without expand=mutations returns mutation items with only type; expanded LIST and candidate GET populate each mutation's value.

skill_optimization 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.

type enum 必須

Skill optimization output discriminator.

skill_optimization
skill_results AgentOptimizationSkillResult[]

Independent proposed skill outcomes. A completed empty array means no changes were proposed, for example because there were no new learnings; no new versions are published in that case. Discovered but untouched skills do not require outcomes. Populated on candidate GET when available and omitted from LIST summaries.

execution_summary AgentOptimizationSkillExecutionSummary

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

updated_at integer 必須
steps AgentOptimizationSkillExecutionStep[] 必須

At most eleven distinct steps in pipeline order. Older snapshots may omit collect_feedback or evaluate_training_traces.

resolved_context AgentOptimizationSkillResolvedContext

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

source_trace_ids string[]

Complete evidence cohort, including traces that produced no artifact. Omitted before resolution; an empty array means a resolved empty cohort.

agent_skills AgentOptimizationSkillReference[]

Deduplicated exact baselines discovered from the agent and its toolboxes. Excludes skills supplied only through skill_references context items and does not imply invocation. Omitted before discovery; empty when none were discovered or the job is agentless.

rationale string

Human-readable explanation of why the optimizer produced this candidate. Populated on candidate GET when available and omitted from LIST.

files AgentOptimizationCandidateFile[]

Metadata for files generated for this candidate, such as trace analysis. Populated on candidate GET when available and omitted from LIST. An empty list means no files were generated; omission means the inventory is not available. Metadata does not provide file content or a download URL.

agent_version string

Foundry agent version associated with this candidate. Omitted when no temporary or evaluated agent version was created.

evaluation AgentOptimizationCandidateEvaluation

Comparative evaluation summary for a candidate.

score number

Average composite score across evaluated tasks. Omitted until scoring produces an aggregate score.

avg_tokens number

Average total tokens consumed per task. Omitted when token usage was not measured.

avg_latency_ms integer

A duration encoded as an integer number of milliseconds.

eval_id string

Foundry evaluation identifier used to score this candidate. Omitted when unavailable.

eval_run_id string

Foundry evaluation run identifier used to score this candidate. Omitted when unavailable.

completed_at integer
promotion AgentOptimizationCandidatePromotionInfo

Promotion metadata recorded for a candidate.

promoted_at integer 必須
promoted_agent AgentReference 必須
type enum 必須
agent_reference
name string 必須

The name of the agent.

version string

The version identifier of the agent.

Client error

本文

Content-Type: application/json
error OpenAI.Error 必須
code string | null 必須
message string 必須
param string | null
type string
misalignment OpenAI.MisalignmentErrorDetailsResource
review_target string | null
error_type string | enum
次のいずれか:
string
enum
potentially_unintended_data_transferpotentially_unintended_data_accesspotentially_unintended_destructive_activityother
detailed_explanation string

The public explanation for this block.

steer OpenAI._MisalignmentSteer
message string 必須

The public continuation instruction.

details OpenAI.Error[]

Additional errors that contributed to this failure.

additionalInfo object

Additional structured information about the failure.

debugInfo object

Diagnostic information supplied by the service for troubleshooting.

Server error

本文

Content-Type: application/json
error OpenAI.Error 必須
code string | null 必須
message string 必須
param string | null
type string
misalignment OpenAI.MisalignmentErrorDetailsResource
review_target string | null
error_type string | enum
次のいずれか:
string
enum
potentially_unintended_data_transferpotentially_unintended_data_accesspotentially_unintended_destructive_activityother
detailed_explanation string

The public explanation for this block.

steer OpenAI._MisalignmentSteer
message string 必須

The public continuation instruction.

details OpenAI.Error[]

Additional errors that contributed to this failure.

additionalInfo object

Additional structured information about the failure.

debugInfo object

Diagnostic information supplied by the service for troubleshooting.

要求

GET /agent_optimization_jobs/{jobId}/candidates/{candidateId} HTTP/1.1

回答

Status: 200
Content-Type: application/json
Status: 4XX
Content-Type: application/json
Status: 5XX
Content-Type: application/json
ja-jp
プライバシーの選択
  • AI 免責事項
  • 以前のバージョン
  • ブログ
  • 投稿
  • プライバシー
  • コンシューマーの健康に関するプライバシー
  • 利用条件
  • 商標
  • © Microsoft 2026