Agent Conversations

Get all conversations

get

Retrieves all conversations for the authenticated user sorted by last updated date

Authorizations
Responses
chevron-right
401

Missing or invalid authentication token

No content

get
/api/v1/agent/conversations

Chat with Mr. Monei AI Agent

post

Processes natural language queries about finances, transactions, and account management. Creates a new conversation if no conversationId is provided, or continues an existing one.

Authorizations
Body
messagestringRequired

User message to the agent

Example: What's my current account balance?
conversationIdstringRequired

Existing conversation ID to continue

Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
Responses
chevron-right
401

Missing or invalid authentication token

No content

post
/api/v1/agent/conversations

Get conversation messages

get

Retrieves messages for a specific conversation with pagination

Authorizations
Path parameters
conversationIdstringRequired

UUID of the conversation

Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
Query parameters
limitnumberOptional

Number of messages to return (default: 20, max: 100)

Responses
get
/api/v1/agent/conversations/{conversationId}/messages

Initialize conversation

post

initialize conversation before making chat request

Authorizations
Body
idstringRequired
Responses
post
/api/v1/agent/conversations/init-conversation
default

Delete conversation

delete

Permanently deletes a conversation and all its messages

Authorizations
Path parameters
conversationIdstringRequired

UUID of the conversation to delete

Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
Responses
delete
/api/v1/agent/conversations/{conversationId}

No content

Pin/unpin conversation

patch

Marks a conversation as pinned or unpinned for easy access

Authorizations
Path parameters
conversationIdstringRequired

UUID of the conversation to pin/unpin

Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
Body
pinbooleanRequired

Whether to pin or unpin the conversation

Example: true
Responses
patch
/api/v1/agent/conversations/{conversationId}/pin

No content

Stream conversation with AI agent

post

Real-time Server-Sent Events stream of agent responses

Authorizations
Header parameters
AcceptstringOptional

Must be "text/event-stream"

Body
messagestringRequired

User message to the agent

conversationIdstringRequired

Existing conversation ID

chainIdnumberOptional

Chain ID for blockchain operations

Default: 56
Responses
chevron-right
401

Unauthorized

No content

post
/api/v1/agent/conversations/stream

Last updated