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
请求
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