---
title: "LIA Chat — AI sales analyst"
method: POST
path: "/api/lia/send_content"
tags: ["Lia"]
---

# LIA Chat — AI sales analyst

`POST /api/lia/send_content`

## Headers

- `session-id` string, required

## Request body

- ChatRequest
  - `messages` object, required
  - `modelId` string
  - `db_type` string
  - `user_code` string, required — Base64 encoded
  - `firm_code` string, required — Base64 encoded
  - `app_code` string, required
  - `systemPrompt` string, nullable
  - `workspaceContext` string, nullable
  - `fileContent` string, nullable
  - `fileName` string, nullable
  - `imageData` string, nullable
  - `imageMediaType` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/leapsurgebi/apis/leapsurgeapi.md) · [All operations](https://skmtc.dev/leapsurgebi/apis/leapsurgeapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/leapsurgebi/leapsurgeapi/revisions/5a6b1464bfeb/schema)
