Connect an Azure OpenAI deployment (temporarily unavailable)

Deprecated
Afficher en Markdown
Scope: agent_auth:write

Authentification

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.

Paramètres de chemin

orgIdstringRequis

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

Requête

This endpoint expects an object.
endpoint_urlstringRequis

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

deployment_namestringRequis

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

api_keystringRequis

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

tenant_idstringOptionnel

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

client_idstringOptionnel

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

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

Réponse

Legacy compatibility response (not currently returned).

Erreurs

400
Bad Request Error
410
Gone Error