{
  "info": {
    "_postman_id": "790ab958-0d0f-4fe3-8d6c-36b37dfa003a",
    "name": "OpenAI Completions",
    "description": "Needs description.\n\nContact Support:\n Name: OpenAI Support",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-06-05T15:13:59.000Z",
    "updatedAt": "2026-06-05T15:13:59.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-790ab958-0d0f-4fe3-8d6c-36b37dfa003a"
  },
  "item": [
    {
      "name": "chat",
      "item": [
        {
          "name": "completions",
          "item": [
            {
              "name": "OpenAI Creates a model response for the given chat conversation.",
              "id": "53b99d38-ffac-4027-9550-c91ee2bd51e8",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"value\": \"reference #/components/schemas/CreateChatCompletionRequest not found in the OpenAPI spec\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/chat/completions",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "chat",
                    "completions"
                  ]
                }
              },
              "response": [
                {
                  "id": "eace5279-1174-40c5-a033-b5dbc4d276d2",
                  "name": "OK",
                  "originalRequest": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Content-Type",
                        "value": "application/json"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json"
                      },
                      {
                        "description": "Added as a part of security scheme: bearer",
                        "key": "Authorization",
                        "value": "Bearer <token>"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\n  \"value\": \"reference #/components/schemas/CreateChatCompletionRequest not found in the OpenAPI spec\"\n}",
                      "options": {
                        "raw": {
                          "headerFamily": "json",
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{baseUrl}}/chat/completions",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "chat",
                        "completions"
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"choices\": [\n    {\n      \"finish_reason\": \"content_filter\",\n      \"index\": \"<integer>\",\n      \"message\": {\n        \"value\": \"reference #/components/schemas/ChatCompletionResponseMessage not found in the OpenAPI spec\"\n      },\n      \"logprobs\": {\n        \"content\": [\n          {\n            \"value\": \"reference #/components/schemas/ChatCompletionTokenLogprob not found in the OpenAPI spec\"\n          },\n          {\n            \"value\": \"reference #/components/schemas/ChatCompletionTokenLogprob not found in the OpenAPI spec\"\n          }\n        ]\n      }\n    },\n    {\n      \"finish_reason\": \"length\",\n      \"index\": \"<integer>\",\n      \"message\": {\n        \"value\": \"reference #/components/schemas/ChatCompletionResponseMessage not found in the OpenAPI spec\"\n      },\n      \"logprobs\": {\n        \"content\": [\n          {\n            \"value\": \"reference #/components/schemas/ChatCompletionTokenLogprob not found in the OpenAPI spec\"\n          },\n          {\n            \"value\": \"reference #/components/schemas/ChatCompletionTokenLogprob not found in the OpenAPI spec\"\n          }\n        ]\n      }\n    }\n  ],\n  \"created\": \"<integer>\",\n  \"id\": \"<string>\",\n  \"model\": \"<string>\",\n  \"object\": \"chat.completion\",\n  \"system_fingerprint\": \"<string>\",\n  \"usage\": {\n    \"value\": \"reference #/components/schemas/CompletionUsage not found in the OpenAPI spec\"\n  }\n}",
                  "createdAt": "2026-06-05T15:13:59.000Z",
                  "updatedAt": "2026-06-05T15:13:59.000Z",
                  "uid": "35240-eace5279-1174-40c5-a033-b5dbc4d276d2"
                }
              ],
              "createdAt": "2026-06-05T15:13:59.000Z",
              "updatedAt": "2026-06-05T15:13:59.000Z",
              "uid": "35240-53b99d38-ffac-4027-9550-c91ee2bd51e8"
            }
          ],
          "id": "ec0b6ea6-1906-411f-abf3-314f5c17f2f7",
          "createdAt": "2026-06-05T15:13:59.000Z",
          "updatedAt": "2026-06-05T15:13:59.000Z",
          "uid": "35240-ec0b6ea6-1906-411f-abf3-314f5c17f2f7"
        }
      ],
      "id": "b1d1dfd6-4eed-4014-af58-6cfeb2af9e9d",
      "createdAt": "2026-06-05T15:13:59.000Z",
      "updatedAt": "2026-06-05T15:13:59.000Z",
      "uid": "35240-b1d1dfd6-4eed-4014-af58-6cfeb2af9e9d"
    },
    {
      "name": "completions",
      "item": [
        {
          "name": "OpenAI Creates a completion for the provided prompt and parameters.",
          "id": "8541ce30-3e3e-47d2-8280-deb5d1be8865",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"value\": \"reference #/components/schemas/CreateCompletionRequest not found in the OpenAPI spec\"\n}",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/completions",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "completions"
              ]
            }
          },
          "response": [
            {
              "id": "309816f7-3ba3-4695-8187-86e172a6c5c6",
              "name": "OK",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: bearer",
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"value\": \"reference #/components/schemas/CreateCompletionRequest not found in the OpenAPI spec\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/completions",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "completions"
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"id\": \"<string>\",\n  \"object\": \"text_completion\",\n  \"created\": \"<integer>\",\n  \"model\": \"<string>\",\n  \"choices\": [\n    {\n      \"finish_reason\": \"content_filter\",\n      \"index\": \"<integer>\",\n      \"logprobs\": {\n        \"text_offset\": [\n          \"<integer>\",\n          \"<integer>\"\n        ],\n        \"token_logprobs\": [\n          \"<number>\",\n          \"<number>\"\n        ],\n        \"tokens\": [\n          \"<string>\",\n          \"<string>\"\n        ],\n        \"top_logprobs\": [\n          {\n            \"labore5\": \"<number>\"\n          },\n          {\n            \"Duis_b2e\": \"<number>\",\n            \"esse__e1\": \"<number>\"\n          }\n        ]\n      },\n      \"text\": \"<string>\"\n    },\n    {\n      \"finish_reason\": \"length\",\n      \"index\": \"<integer>\",\n      \"logprobs\": {\n        \"text_offset\": [\n          \"<integer>\",\n          \"<integer>\"\n        ],\n        \"token_logprobs\": [\n          \"<number>\",\n          \"<number>\"\n        ],\n        \"tokens\": [\n          \"<string>\",\n          \"<string>\"\n        ],\n        \"top_logprobs\": [\n          {\n            \"commodo__\": \"<number>\",\n            \"sit__83\": \"<number>\",\n            \"pariatur_b3\": \"<number>\",\n            \"id2\": \"<number>\"\n          },\n          {\n            \"anim7\": \"<number>\",\n            \"ead\": \"<number>\",\n            \"ada\": \"<number>\",\n            \"Duis7ec\": \"<number>\"\n          }\n        ]\n      },\n      \"text\": \"<string>\"\n    }\n  ],\n  \"system_fingerprint\": \"<string>\",\n  \"usage\": {\n    \"value\": \"reference #/components/schemas/CompletionUsage not found in the OpenAPI spec\"\n  }\n}",
              "createdAt": "2026-06-05T15:13:59.000Z",
              "updatedAt": "2026-06-05T15:13:59.000Z",
              "uid": "35240-309816f7-3ba3-4695-8187-86e172a6c5c6"
            }
          ],
          "createdAt": "2026-06-05T15:13:59.000Z",
          "updatedAt": "2026-06-05T15:13:59.000Z",
          "uid": "35240-8541ce30-3e3e-47d2-8280-deb5d1be8865"
        }
      ],
      "id": "bc24b4b3-5805-4fc2-8897-8cdde221e313",
      "createdAt": "2026-06-05T15:13:59.000Z",
      "updatedAt": "2026-06-05T15:13:59.000Z",
      "uid": "35240-bc24b4b3-5805-4fc2-8897-8cdde221e313"
    }
  ],
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{bearerToken}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.openai.com/v1"
    }
  ]
}