v46

latestOpenAPI 3.0.0MITraw.githubusercontent.com2026-08-0311978417.1 KB
Conversations

Create a message

Create a message in the workspace identified by {wId} in the conversation identified by {cId}.

post/api/v1/w/{wId}/assistant/conversations/{cId}/messages

Path parameters

wIdstring required

ID of the workspace

cIdstring required

ID of the conversation

Request body

contentstring required

The content of the message. Should not be empty.

Example request

{
  "content": "This is my message",
  "mentions": [
    {
      "configurationId": "7f3a9c2b1e"
    }
  ],
  "context": {
    "username": "johndoe123",
    "timezone": "America/New_York",
    "fullName": "John Doe",
    "email": "john.doe@example.com",
    "profilePictureUrl": "https://example.com/profiles/johndoe123.jpg",
    "agenticMessageData": {
      "originMessageId": "2b8e4f6a0c"
    }
  },
  "modelSelection": {
    "providerId": "anthropic",
    "modelId": "claude-sonnet-4-20250514",
    "reasoningEffort": "medium"
  }
}

Response

Message created successfully.

contentstring required

The content of the message. Should not be empty.

Example response

{
  "content": "This is my message",
  "mentions": [
    {
      "configurationId": "7f3a9c2b1e"
    }
  ],
  "context": {
    "username": "johndoe123",
    "timezone": "America/New_York",
    "fullName": "John Doe",
    "email": "john.doe@example.com",
    "profilePictureUrl": "https://example.com/profiles/johndoe123.jpg",
    "agenticMessageData": {
      "originMessageId": "2b8e4f6a0c"
    }
  },
  "modelSelection": {
    "providerId": "anthropic",
    "modelId": "claude-sonnet-4-20250514",
    "reasoningEffort": "medium"
  }
}