Skip to main content
GET
/
api
/
v1
/
messages
/
{message_id}
{
  "created_at": "<string>",
  "updated_at": "<string>",
  "id": "<string>",
  "conversation_id": "<string>",
  "sender_id": "<string>",
  "role": "user",
  "content": "<string>",
  "tool_calls": [
    {}
  ],
  "message_type": "text",
  "tags": [
    "<string>"
  ],
  "checksum": "<string>",
  "attachments": [
    {}
  ],
  "parent_message_id": "<string>",
  "meta_data": {},
  "sent_at": "2023-11-07T05:31:56Z",
  "owner_id": "<string>",
  "workspace_id": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Workspace-Id
string | null

The workspace ID

Path Parameters

message_id
string
required

Response

Successful Response

Schema for reading message data.

conversation_id
string
required

Reference to conversation

sender_id
string
required

ID of the message sender

content
string
required

Message content

workspace_id
string
required

Reference to workspace

created_at
string | null
updated_at
string | null
id
string
role
string
default:user

Message role (user, assistant, system, etc.)

tool_calls
Tool Calls · object[] | null

Tool calls made in this message

message_type
string
default:text

Type of message

tags
string[] | null

Message tags

checksum
string | null

Message checksum

attachments
Attachments · object[] | null

Message attachments

parent_message_id
string | null

Parent message ID for threading

meta_data
object | null

Additional metadata

sent_at
string<date-time> | null

When the message was sent

owner_id
string | null

Owner ID