{
  "opencollection": "1.0.0",
  "info": {
    "name": "Companies AI Embed Chat Completions API",
    "version": "v296.0-SNAPSHOT"
  },
  "items": [
    {
      "info": {
        "name": "Chat Completions",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Create a chat completion (OpenAI-compatible)",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://marketplace.appdirect.com/api/api/v1/chat/completions",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a completion for the chat message. This endpoint is OpenAI-compatible and supports both regular prompts and tool output submissions. When the last message is a tool message, it will be treated as a tool output submission."
        },
        {
          "info": {
            "name": "Create a chat completion (Deprecated)",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://marketplace.appdirect.com/api/api/v1/chats/completions",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "**Deprecated:** This endpoint is deprecated. Please use `/api/v1/chat/completions` instead, which follows the OpenAI API convention and provides the same functionality."
        }
      ]
    }
  ],
  "bundled": true
}