microsoft-foundry.rest.security.o-auth2-auth
AgentOptimizationJobs
Download an agent optimization job file
GET
/agent_optimization_jobs/{jobId}/files
Downloads a declared file as a binary stream. The path must match a file descriptor returned by the service. When candidate_id is omitted, the request is scoped to the job.
Path parameters
jobId
string
required
The ID of the parent optimization job.
Query parameters
candidate_id
string
The candidate that owns the file. Omit to request a job-level file.
path
string
required
The file path returned in the file descriptor.
api-version
string
required
The API version to use for this operation.
Responses
The request has succeeded.
Body
Content-Type: application/octet-stream
Request
GET /agent_optimization_jobs/{jobId}/files HTTP/1.1
Response
Status: 200
Content-Type: application/octet-stream
Status: 4XX
Content-Type: application/json
Status: 5XX
Content-Type: application/json