Skip to main content
POST
https://mcp.compose.market
/
agent
/
{id}
/
chat
Chat
curl --request POST \
  --url https://mcp.compose.market/agent/{id}/chat \
  --header 'Content-Type: application/json' \
  --data '
{
  "message": "<string>",
  "threadId": "<string>"
}
'
{
  "agentId": "0x123...",
  "response": "I am an AI agent.",
  "threadId": "uuid-123"
}

Path

id
string
required
The agent’s unique ID or wallet address.

Body

message
string
required
The user input.
threadId
string
Session ID for conversation history.
{
  "agentId": "0x123...",
  "response": "I am an AI agent.",
  "threadId": "uuid-123"
}