---
agentTools:
  projectIndex: https://docs.trynara.com/llms.txt
---

# Send chat messages

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Nara Documentation",
    "version": "V1.0"
  },
  "paths": {
    "/api/v1.0/chat": {
      "post": {
        "description": "",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostMessage"
              }
            }
          },
          "description": "Created message Object",
          "required": true
        },
        "responses": {
          "201": {
            "description": "Message has been sent",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponsePostMessage"
                }
              }
            }
          }
        },
        "security": [
          {
            "Authorization": []
          }
        ],
        "summary": "Send chat messages",
        "tags": [
          "chat"
        ]
      }
    }
  },
  "servers": [
    {
      "url": "//nara-backend-50wz.zeet-nara.zeet.app"
    }
  ],
  "components": {
    "securitySchemes": {
      "Authorization": {
        "in": "header",
        "name": "Authorization",
        "type": "apiKey"
      }
    },
    "schemas": {
      "PostMessage": {
        "properties": {
          "conversation_id": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "stream": {
            "type": "boolean"
          },
          "temperature": {
            "type": "number"
          }
        },
        "type": "object"
      },
      "ResponsePostMessage": {
        "properties": {
          "data": {
            "properties": {
              "message": {
                "type": "string"
              },
              "type": {
                "type": "string"
              }
            },
            "type": "object"
          }
        },
        "type": "object"
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 100,
      "1": 183,
      "2": 116,
      "3": 89,
      "4": 154,
      "5": 97,
      "6": 112,
      "7": 12,
      "8": 49,
      "9": 109,
      "10": 14,
      "11": 33
    }
  }
}
```