{
  "opencollection": "1.0.0",
  "info": {
    "name": "Microsoft Azure Azure OpenAI Service API",
    "version": "2024-06-01"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "api-key",
      "value": "{{api-key}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Chat Completions",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Microsoft Azure Create a Chat Completion",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{endpoint}/openai/deployments/:deployment-id/chat/completions",
            "params": [
              {
                "name": "deployment-id",
                "value": "",
                "type": "path",
                "description": "The deployment ID of the model to use for this request."
              },
              {
                "name": "api-version",
                "value": "",
                "type": "query",
                "description": "The API version to use for this operation."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a completion for the chat message. Supports GPT-4, GPT-4 Turbo, and GPT-3.5-Turbo models."
        }
      ]
    },
    {
      "info": {
        "name": "Completions",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Microsoft Azure Create a Text Completion",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{endpoint}/openai/deployments/:deployment-id/completions",
            "params": [
              {
                "name": "deployment-id",
                "value": "",
                "type": "path",
                "description": "The deployment ID of the model to use for this request."
              },
              {
                "name": "api-version",
                "value": "",
                "type": "query",
                "description": "The API version to use for this operation."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a completion for the provided prompt and parameters."
        }
      ]
    },
    {
      "info": {
        "name": "Embeddings",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Microsoft Azure Create Embeddings",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{endpoint}/openai/deployments/:deployment-id/embeddings",
            "params": [
              {
                "name": "deployment-id",
                "value": "",
                "type": "path",
                "description": "The deployment ID of the model to use for this request."
              },
              {
                "name": "api-version",
                "value": "",
                "type": "query",
                "description": "The API version to use for this operation."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Get a vector representation of a given input that can be easily consumed by machine learning models and algorithms."
        }
      ]
    },
    {
      "info": {
        "name": "Images",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Microsoft Azure Create Image Generations",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{endpoint}/openai/deployments/:deployment-id/images/generations",
            "params": [
              {
                "name": "deployment-id",
                "value": "",
                "type": "path",
                "description": "The deployment ID of the model to use for this request."
              },
              {
                "name": "api-version",
                "value": "",
                "type": "query",
                "description": "The API version to use for this operation."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates an image given a prompt using DALL-E models."
        }
      ]
    },
    {
      "info": {
        "name": "Audio",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Microsoft Azure Create Audio Transcription",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{endpoint}/openai/deployments/:deployment-id/audio/transcriptions",
            "params": [
              {
                "name": "deployment-id",
                "value": "",
                "type": "path",
                "description": "The deployment ID of the model to use for this request."
              },
              {
                "name": "api-version",
                "value": "",
                "type": "query",
                "description": "The API version to use for this operation."
              }
            ],
            "body": {
              "type": "multipart-form",
              "data": []
            }
          },
          "docs": "Transcribes audio into the input language using the Whisper model."
        },
        {
          "info": {
            "name": "Microsoft Azure Create Audio Translation",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{endpoint}/openai/deployments/:deployment-id/audio/translations",
            "params": [
              {
                "name": "deployment-id",
                "value": "",
                "type": "path",
                "description": "The deployment ID of the model to use for this request."
              },
              {
                "name": "api-version",
                "value": "",
                "type": "query",
                "description": "The API version to use for this operation."
              }
            ],
            "body": {
              "type": "multipart-form",
              "data": []
            }
          },
          "docs": "Translates audio into English text using the Whisper model."
        },
        {
          "info": {
            "name": "Microsoft Azure Create Speech From Text",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{endpoint}/openai/deployments/:deployment-id/audio/speech",
            "params": [
              {
                "name": "deployment-id",
                "value": "",
                "type": "path",
                "description": "The deployment ID of the model to use for this request."
              },
              {
                "name": "api-version",
                "value": "",
                "type": "query",
                "description": "The API version to use for this operation."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Generates audio from the input text."
        }
      ]
    },
    {
      "info": {
        "name": "Models",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Microsoft Azure List Available Models",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{endpoint}/openai/models",
            "params": [
              {
                "name": "api-version",
                "value": "",
                "type": "query",
                "description": "The API version to use for this operation."
              }
            ]
          },
          "docs": "Gets a list of all models that are accessible by the Azure OpenAI resource. These include base models as well as all successfully completed fine-tuned models owned by the Azure OpenAI resource."
        }
      ]
    },
    {
      "info": {
        "name": "Deployments",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Microsoft Azure List Deployments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{endpoint}/openai/deployments",
            "params": [
              {
                "name": "api-version",
                "value": "",
                "type": "query",
                "description": "The API version to use for this operation."
              }
            ]
          },
          "docs": "Gets the list of deployments owned by the Azure OpenAI resource."
        }
      ]
    }
  ],
  "bundled": true
}