GET
/
messages
/
{message_id}
{
  "id": "<string>",
  "task_id": "<string>",
  "content": {
    "type": "text",
    "author": "user",
    "style": "static",
    "format": "plain",
    "content": "<string>",
    "attachments": [
      {
        "file_id": "<string>",
        "name": "<string>",
        "size": 123,
        "type": "<string>"
      }
    ]
  },
  "streaming_status": "IN_PROGRESS",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Path Parameters

message_id
string
required

Response

Successful Response

Represents a message in the agent system.

This entity is used to store messages in MongoDB, with each message associated with a specific task.

task_id
string
required

ID of the task this message belongs to

content
object
required

The content of the message. This content is not OpenAI compatible. These are messages that are meant to be displayed to the user.

id
string | null

The task message's unique id

streaming_status
enum<string> | null
Available options:
IN_PROGRESS,
DONE
created_at
string<date-time> | null

The timestamp when the message was created

updated_at
string<date-time> | null

The timestamp when the message was last updated