Skip to main content
GET
/
api
/
agent-server
/
messages
/
{message_id}
Get message by ID
curl --request GET \
  --url http://localhost:6060/api/agent-server/messages/{message_id}
{
  "error": true,
  "message": "<string>",
  "data": {
    "id": "<string>",
    "thread_id": "<string>",
    "role": "<string>",
    "content": "<string>",
    "created_at": "2023-11-07T05:31:56Z"
  },
  "status": 123,
  "errorDetails": {}
}

Path Parameters

message_id
string
required

Query Parameters

project_id
string<uuid>
required
namespace
string
required

Response

Message retrieved successfully

error
boolean
message
string
data
object
status
integer
errorDetails
object