---
title: "Interact with Lori AI"
method: POST
path: "/ai-persona/lori"
tags: ["AI Persona"]
---

# Interact with Lori AI

`POST /ai-persona/lori`

## Request

- Base URL: `https://api.paxsenix.org`
- URL: `https://api.paxsenix.org/ai-persona/lori`
- Auth: none declared

Tuned version (bruh, pre-added system instructions, that's it...) of gpt-4o-mini with sarcasm and friendly.

## Request body

- object
  - `messages` object[]
    - `role` 'user' | 'assistant': The role of the entity in the conversation
    - `content` string: The actual message content

## Response `200`

Success - Got the response

- AIResponse
  - `creator` string: The creator of the API
  - `message` string: Additional message for the user
  - `ok` boolean: Indicates if the operation was successful

## Other responses

- `400`: Invalid input
- `500`: Server error

---

[API](https://skmtc.dev/paxsenix/apis/paxsenix-api.md) - [All operations](https://skmtc.dev/paxsenix/apis/paxsenix-api/llms.txt) - [OpenAPI document](https://skmtc.dev/paxsenix/apis/paxsenix-api/revisions/f7e5b20bdbdf?raw)
