{
  "opencollection": "1.0.0",
  "info": {
    "name": "Typesense Analytics Analytics Events Conversation Models API",
    "version": "30.1"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "X-TYPESENSE-API-KEY",
      "value": "{{X-TYPESENSE-API-KEY}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Conversation Models",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List All Conversation Models",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{protocol}://{hostname}:{port}/conversations/models"
          },
          "docs": "Retrieves all conversation models configured in the Typesense instance. Conversation models define the LLM provider and parameters used for generating answers in conversational search."
        },
        {
          "info": {
            "name": "Create A Conversation Model",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{protocol}://{hostname}:{port}/conversations/models",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new conversation model that specifies the LLM provider, model name, API key, and system prompt for generating conversational answers from search results."
        },
        {
          "info": {
            "name": "Retrieve A Conversation Model",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{protocol}://{hostname}:{port}/conversations/models/:modelId",
            "params": [
              {
                "name": "modelId",
                "value": "",
                "type": "path",
                "description": "ID of the conversation model."
              }
            ]
          },
          "docs": "Retrieves a specific conversation model by ID."
        },
        {
          "info": {
            "name": "Update A Conversation Model",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{protocol}://{hostname}:{port}/conversations/models/:modelId",
            "params": [
              {
                "name": "modelId",
                "value": "",
                "type": "path",
                "description": "ID of the conversation model."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates an existing conversation model configuration including the LLM provider, model name, and system prompt."
        },
        {
          "info": {
            "name": "Delete A Conversation Model",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{protocol}://{hostname}:{port}/conversations/models/:modelId",
            "params": [
              {
                "name": "modelId",
                "value": "",
                "type": "path",
                "description": "ID of the conversation model."
              }
            ]
          },
          "docs": "Deletes a conversation model by ID."
        }
      ]
    }
  ],
  "bundled": true
}