{"id":199,"date":"2023-04-01T13:24:40","date_gmt":"2023-04-01T13:24:40","guid":{"rendered":"https:\/\/www.devopsconsulting.in\/blog\/?p=199"},"modified":"2023-04-02T05:30:00","modified_gmt":"2023-04-02T05:30:00","slug":"supported-api-handlers-and-methods","status":"publish","type":"post","link":"https:\/\/www.devopsconsulting.in\/blog\/supported-api-handlers-and-methods\/","title":{"rendered":"Supported API Handlers and Methods For OpenAi"},"content":{"rendered":"\n<p>This package supports some API Methods, which are grouped into 16 API Handlers.<\/p>\n\n\n\n<p>See the table below for a full list of API Handlers and Methods.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>API Handler Class and Method Name<\/strong><\/td><td><strong>Description<\/strong><\/td><td><strong>API Verb and URL<\/strong><\/td><\/tr><tr><td>AudioTranscriptions::create()<\/td><td>Transcribes audio into the input language.<\/td><td><code>POST<\/code>&nbsp;<code>\/audio\/transcriptions<\/code><\/td><\/tr><tr><td>AudioTranslations::create()<\/td><td>Translates audio into into English.<\/td><td><code>POST<\/code>&nbsp;<code>\/audio\/translations<\/code><\/td><\/tr><tr><td>ChatCompletions::create()<\/td><td>Creates a completion for the chat message<\/td><td><code>POST<\/code>&nbsp;<code>\/chat\/completions<\/code><\/td><\/tr><tr><td>Completions::create()<\/td><td>Creates a completion for the provided prompt and parameters<\/td><td><code>POST<\/code>&nbsp;<code>\/completions<\/code><\/td><\/tr><tr><td>Edits::create()<\/td><td>Creates a new edit for the provided input, instruction, and parameters.<\/td><td><code>POST<\/code>&nbsp;<code>\/edits<\/code><\/td><\/tr><tr><td>Embeddings::create()<\/td><td>Creates an embedding vector representing the input text.<\/td><td><code>POST<\/code>&nbsp;<code>\/embeddings<\/code><\/td><\/tr><tr><td>Files::list()<\/td><td>Returns a list of files that belong to the user&#8217;s organization.<\/td><td><code>GET<\/code>&nbsp;<code>\/files<\/code><\/td><\/tr><tr><td>Files::create()<\/td><td>Upload a file that contains document(s) to be used across various endpoints\/features. Currently, the size of all the files uploaded by one organization can be up to 1 GB. Please contact us if you need to increase the storage limit.<\/td><td><code>POST<\/code>&nbsp;<code>\/files<\/code><\/td><\/tr><tr><td>Files::retrieve()<\/td><td><br>Returns information about a specific file.<\/td><td><code>GET<\/code>&nbsp;<code>\/files\/{file_id}<\/code><\/td><\/tr><tr><td>Files::delete()<\/td><td>Delete a file.<\/td><td><code>DELETE<\/code>&nbsp;<code>\/files\/{file_id}<\/code><\/td><\/tr><tr><td>FilesContent::download()<\/td><td>Returns the contents of the specified file<\/td><td><code>GET<\/code>&nbsp;<code>\/files\/{file_id}\/content<\/code><\/td><\/tr><tr><td>FineTunes::list()<\/td><td>List your organization&#8217;s fine-tuning jobs<\/td><td><code>GET<\/code>&nbsp;<code>\/fine-tunes<\/code><\/td><\/tr><tr><td>FineTunes::create()<\/td><td>Creates a job that fine-tunes a specified model from a given dataset.<br>Response includes details of the enqueued job including job status and the name of the fine-tuned models once complete.<br>Learn more about Fine-tuning<\/td><td><code>POST<\/code>&nbsp;<code>\/fine-tunes<\/code><\/td><\/tr><tr><td>FineTunes::retrieve()<\/td><td>Gets info about the fine-tune job.<br>Learn more about Fine-tuning<\/td><td><code>GET<\/code>&nbsp;<code>\/fine-tunes\/{fine_tune_id}<\/code><\/td><\/tr><tr><td>FineTunesCancel::cancelFineTune()<\/td><td>Immediately cancel a fine-tune job<\/td><td><code>POST<\/code>&nbsp;<code>\/fine-tunes\/{fine_tune_id}\/cancel<\/code><\/td><\/tr><tr><td>FineTunesEvents::listFineTune()<\/td><td>Get fine-grained status updates for a fine-tune job.<\/td><td><code>GET<\/code>&nbsp;<code>\/fine-tunes\/{fine_tune_id}\/events<\/code><\/td><\/tr><tr><td>ImagesEdits::createImage()<\/td><td><br>Creates an edited or extended image given an original image and a prompt.<\/td><td><code>POST<\/code>&nbsp;<code>\/images\/edits<\/code><\/td><\/tr><tr><td>ImagesGenerations::create()<\/td><td>Creates an image given a prompt<\/td><td><code>POST<\/code>&nbsp;<code>\/images\/generations<\/code><\/td><\/tr><tr><td>ImagesVariations::createImage()<\/td><td>Creates a variation of a given image.<\/td><td><code>POST<\/code>&nbsp;<code>\/images\/variations<\/code><\/td><\/tr><tr><td>Models::list()<\/td><td>Lists the currently available models, and provides basic information about each one such as the owner and availability.<\/td><td><code>GET<\/code>&nbsp;<code>\/models<\/code><\/td><\/tr><tr><td>Models::retrieve()<\/td><td>Retrieves a model instance, providing basic information about the model such as the owner and permissioning<\/td><td><code>GET<\/code>&nbsp;<code>\/models\/{model}<\/code><\/td><\/tr><tr><td>Models::delete()<\/td><td>Delete a fine-tuned model. You must have the Owner role in your organization.<\/td><td><code>DELETE<\/code>&nbsp;<code>\/models\/{model}<\/code><\/td><\/tr><tr><td>Moderations::create()<\/td><td>Classifies if text violates OpenAI&#8217;s Content Policy<\/td><td><code>POST<\/code>&nbsp;<code>\/moderations<\/code><\/td><\/tr><tr><td><\/td><td><\/td><td><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Method:<\/strong> <strong>AudioTranscriptions::create()<\/strong><\/h3>\n\n\n\n<p><strong>Audio Resource<\/strong><\/p>\n\n\n\n<p><strong>method may accept the following parameters:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>$audio_file:<\/strong> The path or URL of the audio file to be transcribed.<\/li>\n\n\n\n<li><strong>$language: <\/strong>The language of the audio file, such as &#8220;en-US&#8221; for American English, &#8220;es-ES&#8221; for Spanish from Spain, etc.<\/li>\n\n\n\n<li><strong>$format:<\/strong> The format of the audio file, such as &#8220;mp3&#8221;, &#8220;wav&#8221;, &#8220;ogg&#8221;, etc.<\/li>\n\n\n\n<li><strong>$options:<\/strong> An array of optional parameters that may include:<\/li>\n\n\n\n<li><strong>&#8220;model&#8221;:<\/strong> The name or ID of the speech recognition model to be used for transcription.<\/li>\n\n\n\n<li><strong>&#8220;timestamps&#8221;:<\/strong> A boolean value indicating whether to include timestamps for each word in the transcription.<\/li>\n\n\n\n<li><strong>&#8220;profanity_filter&#8221;:<\/strong> A boolean value indicating whether to filter out profanity from the transcription.<\/li>\n\n\n\n<li><strong>&#8220;max_alternatives&#8221;:<\/strong> The maximum number of alternative transcriptions to be returned.<\/li>\n\n\n\n<li><strong>&#8220;word_confidence&#8221;:<\/strong> A boolean value indicating whether to include confidence scores for each word in the transcription.<\/li>\n\n\n\n<li><strong>&#8220;speech_contexts&#8221;:<\/strong> An array of speech context objects that can be used to improve transcription accuracy.<\/li>\n<\/ul>\n\n\n\n<p>Transcribes audio into the input language.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$response = $client-&gt;audio()-&gt;transcribe(&#91;\n'model' =&gt; 'whisper-1',   \/\/ parameters \n'file' =&gt; fopen('audio.mp3', 'r'),   \/\/ parameters \n'response_format' =&gt; 'verbose_json',   \/\/ parameters \n]);\n\nParameters\n{\n\"file\": \"audio.mp3\",\n\"model\": \"whisper-1\"\n}\n<\/code><\/pre>\n\n\n\n<p><strong>Url :<\/strong> POST https:\/\/api.openai.com\/v1\/audio\/transcriptions<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Method: AudioTranslations::create()<\/strong><\/h3>\n\n\n\n<p><strong>Translate<\/strong><\/p>\n\n\n\n<p>Translates audio into English.<\/p>\n\n\n\n<p>The method accepts the following parameters:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>$model:<\/strong> The name or ID of the model to use for the transcription. (Optional)<\/li>\n\n\n\n<li><strong>$audio: <\/strong>The audio file or URL to transcribe. This can be a path to a local audio file, a URL to an audio file, or a binary audio file. (Required)<\/li>\n\n\n\n<li><strong>$format:<\/strong> The audio format of the audio file. The supported audio formats are: &#8220;mp3&#8221;, &#8220;wav&#8221;, &#8220;m4a&#8221;, &#8220;flac&#8221;, &#8220;opus&#8221;, and &#8220;ogg&#8221;. (Optional)<\/li>\n\n\n\n<li><strong>$language:<\/strong> The language of the audio file. The supported languages are: &#8220;en&#8221; (English), &#8220;fr&#8221; (French), &#8220;de&#8221; (German), &#8220;es&#8221; (Spanish), and &#8220;it&#8221; (Italian). (Optional)<\/li>\n\n\n\n<li><strong>$model_config:<\/strong> An object containing additional configuration options for the model. (Optional)<\/li>\n\n\n\n<li><strong>$request_id:<\/strong> A unique identifier for the request. (Optional)<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>$response = $client-&gt;audio()-&gt;translate(&#91;\n    'model' =&gt; 'whisper-1',     \/\/ parameters \n    'file' =&gt; fopen('german.mp3', 'r'),   \/\/ parameters \n    'response_format' =&gt; 'verbose_json',    \/\/ parameters \n]);\n\n<strong>Url:<\/strong> POST\n https:&#47;&#47;api.openai.com\/v1\/audio\/translations\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Method=Models::list()<\/strong><\/h3>\n\n\n\n<p>lists the currently available models, and provides basic information about each one such as the owner and availability.<\/p>\n\n\n\n<p>The method accepts the following parameters:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>$modelType:<\/strong> An optional filter to restrict the list to models of a specific type. Valid values include &#8220;davinci&#8221;, &#8220;curie&#8221;, &#8220;babbage&#8221;, and &#8220;ada&#8221;. If not specified, the method will retrieve all available models. (Optional)<\/li>\n\n\n\n<li><strong>$page:<\/strong> An optional page number for pagination. If not specified, the method will retrieve the first page of results. If specified, the method will retrieve the page with the given number. (Optional)<\/li>\n\n\n\n<li><strong>$perPage:<\/strong> The maximum number of results to retrieve per page. The default value is 20. (Optional)<\/li>\n\n\n\n<li><strong>$orderBy:<\/strong> An optional parameter to specify the order in which to return results. Valid values include &#8220;id&#8221;, &#8220;name&#8221;, and &#8220;created&#8221;. If not specified, the method will order the results by &#8220;created&#8221; in descending order. (Optional)<\/li>\n\n\n\n<li><strong>$sort:<\/strong> An optional parameter to specify the sort direction for the &#8220;orderBy&#8221; parameter. Valid values include &#8220;asc&#8221; and &#8220;desc&#8221;. If not specified, the method will sort the results in descending order. (Optional)<\/li>\n\n\n\n<li>$response = $client-&gt;models()-&gt;list();<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>$response-&gt;object; \/\/ 'list'\n\nforeach ($response-&gt;data as $result) {\n    $result-&gt;id; \/\/ 'text-davinci-003'   \/\/ parameters \n    $result-&gt;object; \/\/ 'model'    \/\/ parameters \n   \n}\n\n$response-&gt;toArray(); \/\/ &#91;'object' =&gt; 'list', 'data' =&gt; &#91;...]]<\/code><\/pre>\n\n\n\n<p><strong>Url:<\/strong> GET https:\/\/api.openai.com\/v1\/models<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Method=Models::retrieve()<\/strong><\/h3>\n\n\n\n<p>Retrieves a model instance, providing basic information about the model such as the owner and permissioning.<\/p>\n\n\n\n<p>The method accepts the following parameters:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong><code>$modelId<\/code>:<\/strong> The ID of the model to retrieve details about. This parameter is required.<\/li>\n\n\n\n<li><strong><code>$apiKey<\/code>:<\/strong> The API key or token required to access the OpenAI API. (Optional)<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>$response = $client-&gt;models()-&gt;retrieve('text-davinci-003');<\/code><\/pre>\n\n\n\n<p><strong>Url:<\/strong> GET https:\/\/api.openai.com\/v1\/models\/{model}<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Method : ImagesGenerations::create()<\/strong><\/h3>\n\n\n\n<p><strong>Images Resource<\/strong><\/p>\n\n\n\n<p><strong>create<\/strong><\/p>\n\n\n\n<p><strong>The method may accept the following parameters:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>$prompt:<\/strong> The text description of the image to be generated.<\/li>\n\n\n\n<li>$apiKey: The API key or token required to access the DALL-E API.<\/li>\n\n\n\n<li><strong>$model: <\/strong>The name or ID of the DALL-E model to be used for image generation. (Optional)<\/li>\n\n\n\n<li><strong>$size:<\/strong> The size of the output image in pixels, specified as a width-height tuple. For example, &#8220;512&#215;512&#8221;. (Optional)<\/li>\n\n\n\n<li><strong>$n:<\/strong> The number of images to generate for the given text description. Defaults to 1 if not specified. (Optional)<\/li>\n\n\n\n<li><strong>$response_format: <\/strong>The format of the response, either &#8220;json&#8221; or &#8220;image&#8221;. If &#8220;json&#8221; is selected, the method will return a JSON object containing the URL of the generated image(s). If &#8220;image&#8221; is selected, the method will download the image(s) to the specified directory. (Optional)<\/li>\n\n\n\n<li><strong>$response_dir:<\/strong> The directory where the generated image(s) should be saved if the $response_format parameter is set to &#8220;image&#8221;. (Optional)<\/li>\n<\/ul>\n\n\n\n<p><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$response = $client-&gt;images()-&gt;create(&#91;\n    'prompt' =&gt; 'A cute baby sea otter',\n    'n' =&gt; 1,\n    'size' =&gt; '256x256',\n    'response_format' =&gt; 'url',\n]);\nparameter\n\n{\n  \"prompt\": \"A cute baby sea otter\",\n  \"n\": 2,\n  \"size\": \"1024x1024\"\n}\n\nUrl=POST https:\/\/api.openai.com\/v1\/images\/generations<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Method:<\/strong> <strong>ImagesEdits::createImage()<\/strong><\/h3>\n\n\n\n<p><strong>Edit<\/strong><\/p>\n\n\n\n<p>Creates an edited or extended image given an original image and a prompt.<\/p>\n\n\n\n<p><strong>The method may accept the following parameters:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>$image_url:<\/strong> The URL of the image to be edited.<\/li>\n\n\n\n<li><strong>$attributes:<\/strong> An associative array of attribute keys and values that should be modified. For example, array(&#8216;color&#8217; =&gt; &#8216;red&#8217;, &#8216;texture&#8217; =&gt; &#8216;smooth&#8217;). The available attributes depend on the DALL-E model being used.<\/li>\n\n\n\n<li><strong>$apiKey:<\/strong> The API key or token required to access the DALL-E API.<\/li>\n\n\n\n<li>$model: The name or ID of the DALL-E model to be used for image editing. (Optional)<\/li>\n\n\n\n<li><strong>$response_format:<\/strong> The format of the response, either &#8220;json&#8221; or &#8220;image&#8221;. If &#8220;json&#8221; is selected, the method will return a JSON object containing the URL of the edited image. If &#8220;image&#8221; is selected, the method will download the edited image to the specified directory. (Optional)<\/li>\n\n\n\n<li><strong>$response_dir:<\/strong> The directory where the edited image should be saved if the $response_format parameter is set to &#8220;image&#8221;. (Optional)<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>$response = $client-&gt;images()-&gt;edit(&#91;\n    'image' =&gt; fopen('image_edit_original.png', 'r'),   \/\/ parameter 1\n    'mask' =&gt; fopen('image_edit_mask.png', 'r'),        \/\/ parameter 2\n    'prompt' =&gt; 'A sunlit indoor lounge area with a pool', \/\/ parameter 3\n    'n' =&gt; 1,                                             \/\/ parameter 4\n    'size' =&gt; '256x256',                                  \/\/ parameter 5\n    'response_format' =&gt; 'url',                           \/\/ parameter 6\n]);\n\n$response-&gt;created; \n\nforeach ($response-&gt;data as $data) {\n    $data-&gt;url; \n    $data-&gt;b64_json; \n}\n$response-&gt;toArray(); <\/code><\/pre>\n\n\n\n<p><strong>Method<\/strong> : <strong>ImagesVariations::createImage()<\/strong><\/p>\n\n\n\n<p><strong>Variation<\/strong><\/p>\n\n\n\n<p>Creates a variation of a given image.<\/p>\n\n\n\n<p><strong>The method may accept the following parameters:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>$image_url:<\/strong> The URL of the image to be varied.<\/li>\n\n\n\n<li><strong>$variation_type: <\/strong>The type of variation to be applied to the image. Possible values are &#8220;zoom&#8221;, &#8220;rotate&#8221;, &#8220;shift&#8221;, &#8220;color&#8221;, &#8220;texture&#8221;, &#8220;pattern&#8221;, &#8220;jitter&#8221;, &#8220;brightness&#8221;, &#8220;contrast&#8221;, &#8220;saturation&#8221;, &#8220;noise&#8221;, and &#8220;blur&#8221;.<\/li>\n\n\n\n<li><strong>$apiKey:<\/strong> The API key or token required to access the DALL-E API.<\/li>\n\n\n\n<li><strong>$model:<\/strong> The name or ID of the DALL-E model to be used for image variation. (Optional)<\/li>\n\n\n\n<li><strong>$response_format:<\/strong> The format of the response, either &#8220;json&#8221; or &#8220;image&#8221;. If &#8220;json&#8221; is selected, the method will return a JSON object containing the URL of the generated image(s). If &#8220;image&#8221; is selected, the method will download the generated image(s) to the specified directory. (Optional)<\/li>\n\n\n\n<li><strong>$response_dir:<\/strong> The directory where the generated image(s) should be saved if the $response_format parameter is set to &#8220;image&#8221;. (Optional)<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>$response = $client-&gt;images()-&gt;variation(&#91;\n    'image' =&gt; fopen('image_edit_original.png', 'r'), \/\/parameter 1\n    'n' =&gt; 1,                                         \/\/parameter 2\n    'size' =&gt; '256x256',                              \/\/parameter 3\n    'response_format' =&gt; 'url',                       \/\/parameter 4\n]);\n\nurl = POST https:\/\/api.openai.com\/v1\/images\/variations\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>This package supports some API Methods, which are grouped into 16 API Handlers. See the table below for a full list of API Handlers and Methods. API&#8230; <\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-199","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Supported API Handlers and Methods For OpenAi - DevOps Consulting<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.devopsconsulting.in\/blog\/supported-api-handlers-and-methods\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Supported API Handlers and Methods For OpenAi - DevOps Consulting\" \/>\n<meta property=\"og:description\" content=\"This package supports some API Methods, which are grouped into 16 API Handlers. See the table below for a full list of API Handlers and Methods. API...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.devopsconsulting.in\/blog\/supported-api-handlers-and-methods\/\" \/>\n<meta property=\"og:site_name\" content=\"DevOps Consulting\" \/>\n<meta property=\"article:published_time\" content=\"2023-04-01T13:24:40+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-04-02T05:30:00+00:00\" \/>\n<meta name=\"author\" content=\"Abhishek Singh\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Abhishek Singh\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.devopsconsulting.in\\\/blog\\\/supported-api-handlers-and-methods\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.devopsconsulting.in\\\/blog\\\/supported-api-handlers-and-methods\\\/\"},\"author\":{\"name\":\"Abhishek Singh\",\"@id\":\"https:\\\/\\\/www.devopsconsulting.in\\\/blog\\\/#\\\/schema\\\/person\\\/fc397ba8be42f9fdd53450edfc73006f\"},\"headline\":\"Supported API Handlers and Methods For OpenAi\",\"datePublished\":\"2023-04-01T13:24:40+00:00\",\"dateModified\":\"2023-04-02T05:30:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.devopsconsulting.in\\\/blog\\\/supported-api-handlers-and-methods\\\/\"},\"wordCount\":1380,\"commentCount\":0,\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.devopsconsulting.in\\\/blog\\\/supported-api-handlers-and-methods\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.devopsconsulting.in\\\/blog\\\/supported-api-handlers-and-methods\\\/\",\"url\":\"https:\\\/\\\/www.devopsconsulting.in\\\/blog\\\/supported-api-handlers-and-methods\\\/\",\"name\":\"Supported API Handlers and Methods For OpenAi - DevOps Consulting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.devopsconsulting.in\\\/blog\\\/#website\"},\"datePublished\":\"2023-04-01T13:24:40+00:00\",\"dateModified\":\"2023-04-02T05:30:00+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.devopsconsulting.in\\\/blog\\\/#\\\/schema\\\/person\\\/fc397ba8be42f9fdd53450edfc73006f\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.devopsconsulting.in\\\/blog\\\/supported-api-handlers-and-methods\\\/\"]}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.devopsconsulting.in\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.devopsconsulting.in\\\/blog\\\/\",\"name\":\"DevOps Consulting\",\"description\":\"DevOps Consulting | SRE Consulting | DevSecOps Consulting | MLOps Consulting\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.devopsconsulting.in\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.devopsconsulting.in\\\/blog\\\/#\\\/schema\\\/person\\\/fc397ba8be42f9fdd53450edfc73006f\",\"name\":\"Abhishek Singh\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/790feefe779852cdf344ca7318bf6c13832223c9b3c6bf4d217658412041026d?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/790feefe779852cdf344ca7318bf6c13832223c9b3c6bf4d217658412041026d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/790feefe779852cdf344ca7318bf6c13832223c9b3c6bf4d217658412041026d?s=96&d=mm&r=g\",\"caption\":\"Abhishek Singh\"},\"description\":\"I\u2019m Abhishek, a DevOps, SRE, DevSecOps, and Cloud expert with a passion for sharing knowledge and real-world experiences. I\u2019ve had the opportunity to work with Cotocus and continue to contribute to multiple platforms where I share insights across different domains: \u2022 DevOps School \u2013 Tech blogs and tutorials \u2022 Holiday Landmark \u2013 Travel stories and guides \u2022 Stocks Mantra \u2013 Stock market strategies and tips \u2022 My Medic Plus \u2013 Health and fitness guidance \u2022 TrueReviewNow \u2013 Honest product reviews \u2022 Wizbrand \u2013 SEO and digital tools for businesses I\u2019m also exploring the fascinating world of Quantum Computing.\",\"url\":\"https:\\\/\\\/www.devopsconsulting.in\\\/blog\\\/author\\\/abhishek\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Supported API Handlers and Methods For OpenAi - DevOps Consulting","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.devopsconsulting.in\/blog\/supported-api-handlers-and-methods\/","og_locale":"en_US","og_type":"article","og_title":"Supported API Handlers and Methods For OpenAi - DevOps Consulting","og_description":"This package supports some API Methods, which are grouped into 16 API Handlers. See the table below for a full list of API Handlers and Methods. API...","og_url":"https:\/\/www.devopsconsulting.in\/blog\/supported-api-handlers-and-methods\/","og_site_name":"DevOps Consulting","article_published_time":"2023-04-01T13:24:40+00:00","article_modified_time":"2023-04-02T05:30:00+00:00","author":"Abhishek Singh","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Abhishek Singh","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.devopsconsulting.in\/blog\/supported-api-handlers-and-methods\/#article","isPartOf":{"@id":"https:\/\/www.devopsconsulting.in\/blog\/supported-api-handlers-and-methods\/"},"author":{"name":"Abhishek Singh","@id":"https:\/\/www.devopsconsulting.in\/blog\/#\/schema\/person\/fc397ba8be42f9fdd53450edfc73006f"},"headline":"Supported API Handlers and Methods For OpenAi","datePublished":"2023-04-01T13:24:40+00:00","dateModified":"2023-04-02T05:30:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.devopsconsulting.in\/blog\/supported-api-handlers-and-methods\/"},"wordCount":1380,"commentCount":0,"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.devopsconsulting.in\/blog\/supported-api-handlers-and-methods\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.devopsconsulting.in\/blog\/supported-api-handlers-and-methods\/","url":"https:\/\/www.devopsconsulting.in\/blog\/supported-api-handlers-and-methods\/","name":"Supported API Handlers and Methods For OpenAi - DevOps Consulting","isPartOf":{"@id":"https:\/\/www.devopsconsulting.in\/blog\/#website"},"datePublished":"2023-04-01T13:24:40+00:00","dateModified":"2023-04-02T05:30:00+00:00","author":{"@id":"https:\/\/www.devopsconsulting.in\/blog\/#\/schema\/person\/fc397ba8be42f9fdd53450edfc73006f"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.devopsconsulting.in\/blog\/supported-api-handlers-and-methods\/"]}]},{"@type":"WebSite","@id":"https:\/\/www.devopsconsulting.in\/blog\/#website","url":"https:\/\/www.devopsconsulting.in\/blog\/","name":"DevOps Consulting","description":"DevOps Consulting | SRE Consulting | DevSecOps Consulting | MLOps Consulting","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.devopsconsulting.in\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.devopsconsulting.in\/blog\/#\/schema\/person\/fc397ba8be42f9fdd53450edfc73006f","name":"Abhishek Singh","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/790feefe779852cdf344ca7318bf6c13832223c9b3c6bf4d217658412041026d?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/790feefe779852cdf344ca7318bf6c13832223c9b3c6bf4d217658412041026d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/790feefe779852cdf344ca7318bf6c13832223c9b3c6bf4d217658412041026d?s=96&d=mm&r=g","caption":"Abhishek Singh"},"description":"I\u2019m Abhishek, a DevOps, SRE, DevSecOps, and Cloud expert with a passion for sharing knowledge and real-world experiences. I\u2019ve had the opportunity to work with Cotocus and continue to contribute to multiple platforms where I share insights across different domains: \u2022 DevOps School \u2013 Tech blogs and tutorials \u2022 Holiday Landmark \u2013 Travel stories and guides \u2022 Stocks Mantra \u2013 Stock market strategies and tips \u2022 My Medic Plus \u2013 Health and fitness guidance \u2022 TrueReviewNow \u2013 Honest product reviews \u2022 Wizbrand \u2013 SEO and digital tools for businesses I\u2019m also exploring the fascinating world of Quantum Computing.","url":"https:\/\/www.devopsconsulting.in\/blog\/author\/abhishek\/"}]}},"_links":{"self":[{"href":"https:\/\/www.devopsconsulting.in\/blog\/wp-json\/wp\/v2\/posts\/199","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsconsulting.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsconsulting.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsconsulting.in\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsconsulting.in\/blog\/wp-json\/wp\/v2\/comments?post=199"}],"version-history":[{"count":8,"href":"https:\/\/www.devopsconsulting.in\/blog\/wp-json\/wp\/v2\/posts\/199\/revisions"}],"predecessor-version":[{"id":211,"href":"https:\/\/www.devopsconsulting.in\/blog\/wp-json\/wp\/v2\/posts\/199\/revisions\/211"}],"wp:attachment":[{"href":"https:\/\/www.devopsconsulting.in\/blog\/wp-json\/wp\/v2\/media?parent=199"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsconsulting.in\/blog\/wp-json\/wp\/v2\/categories?post=199"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsconsulting.in\/blog\/wp-json\/wp\/v2\/tags?post=199"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}