microsoft-foundry.rest.security.o-auth2-auth
Agent Invocations
Get an agent invocation OpenAPI spec
GET
/agents/{agent_name}/endpoint/protocols/invocations/docs/openapi.json
Retrieves the OpenAPI specification for an agent version's invocation contract. Returns 404 if the agent does not expose an OpenAPI specification.
路徑參數
agent_name
string
必要
The name of the agent.
查詢參數
api-version
string
必要
The API version to use for this operation.
回覆
The request has succeeded.
主體
Content-Type: application/json
object
Request
GET /agents/{agent_name}/endpoint/protocols/invocations/docs/openapi.json HTTP/1.1
回應
Status: 200
Content-Type: application/json
Status: 4XX
Content-Type: application/json
Status: 5XX
Content-Type: application/json