Connect an Azure OpenAI deployment (temporarily unavailable)

Deprecated
以 Markdown 格式查看
Scope: agent_auth:write

身份验证

AuthorizationBearer

Your ara_ API key from Settings > Ara API. Keys are capability-scoped: run, plugins:read, secrets:read, secrets:write, sessions:read, knowledge:read, repos:read, repos:write, reviews:read, reviews:write, analytics:read, org:read, org:write, attachments:read, attachments:write, plugins:write, guardrails:read, guardrails:write.

路径参数

orgIdstring必需

Organization id or slug. Resolve it with GET /v3/self.

请求

This endpoint expects an object.
endpoint_urlstring必需

The Azure OpenAI / AI Foundry resource endpoint, e.g. https://YOUR_RESOURCE_NAME.openai.azure.com.

deployment_namestring必需

The deployment name YOU gave this model in Azure AI Foundry — not the underlying model name.

api_keystring必需

One of the resource’s two API keys (Keys and Endpoint page). Stored encrypted, never returned. Omit when connecting via Entra ID instead.

tenant_idstring可选

Azure AD tenant (directory) ID. Send with client_id + client_secret instead of api_key to connect via Entra ID.

client_idstring可选

The Entra ID app registration’s client (application) ID.

client_secretstring可选
The Entra ID app registration's client secret value. Stored encrypted, never returned.

响应

Legacy compatibility response (not currently returned).

错误

400
Bad Request Error
410
Gone Error