Microsoft Azure

Azure AI Services: Inference

Azure OpenAI APIs for completions and search

AI & machine learning#openapi

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

Azure OpenAI APIs for completions and search

Endpoints 6

  • POSTCreates a completion for the provided prompt, parameters and chosen model./deployments/:deployment-id/completions?api-version=2024-10-21
  • POSTGet a vector representation of a given input that can be easily consumed by machine learning models and algorithms./deployments/:deployment-id/embeddings?api-version=2024-10-21
  • POSTCreates a completion for the chat message/deployments/:deployment-id/chat/completions?api-version=2024-10-21
  • POSTTranscribes audio into the input language./deployments/:deployment-id/audio/transcriptions?api-version=2024-10-21
  • POSTTranscribes and translates input audio into English text./deployments/:deployment-id/audio/translations?api-version=2024-10-21
  • POSTGenerates a batch of images from a text caption on a given DALLE model deployment/deployments/:deployment-id/images/generations?api-version=2024-10-21

API details

Base URL
https://{endpoint}/openai
Authentication
OAuth 2.0 (implicit flow)
An API key in the api-key header
Operations
6 operations on 6 pathsPOST 6
Response formats
application/json text/plain
Description format
OpenAPI 3.0.0, API version 2024-10-21

How to test the Azure AI Services: Inference in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the Azure AI Services: Inference collection, without the publisher's secrets.
  3. Add your credentialsThis API uses OAuth 2.0 (implicit flow). Add yours in the collection's variables or an environment; the requests already reference it.
  4. Send a requestPick an endpoint, for example “Creates a completion for the provided prompt, parameters and chosen model.” (POST /deployments/:deployment-id/completions?api-version=2024-10-21), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the Azure AI Services: Inference?

Azure OpenAI APIs for completions and search It is listed under AI & machine learning and has 6 endpoints.

Who publishes the Azure AI Services: Inference?

It is listed from Microsoft Azure's public API description (an OpenAPI document), not published by Microsoft Azure on Swastik Codes. Anyone who controls azure.com can claim the profile by adding a DNS TXT record.

What is the base URL of the Azure AI Services: Inference?

Requests go to https://{endpoint}/openai. Endpoint paths are added to this base URL.

How do I authenticate with the Azure AI Services: Inference?

It accepts 2 methods: OAuth 2.0 (implicit flow); an API key in the api-key header.

How many endpoints does the Azure AI Services: Inference have?

6 operations on 6 paths (6 POST).

Is forking the Azure AI Services: Inference free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.