OpenChat API
Conversational interface for AI-assisted content creation, supporting multi-turn conversations with content generation capabilities.
Prefix: /api/openchat
Endpoints
Conversations
| Method | Path | Description | Role |
|---|---|---|---|
GET | /conversations | List all conversations for the current user | Editor+ |
GET | /conversations/{id} | Get conversation details with message history | Editor+ |
POST | /conversations | Create a new conversation | Editor+ |
DELETE | /conversations/{id} | Delete a conversation | Editor+ |
Messages
| Method | Path | Description | Role |
|---|---|---|---|
POST | /conversations/{id}/messages | Send a message and get AI response | Editor+ |
Content Generation
| Method | Path | Description | Role |
|---|---|---|---|
POST | /conversations/{id}/generate | Generate full content from conversation context (runs SEO pipeline) | Editor+ |