Skip to main content
POST
/
messages
/
get_by_id
Get a single message by ID
curl --request POST \
  --url https://api.svantic.com/messages/get_by_id \
  --header 'Content-Type: application/json' \
  --data '
{
  "message_id": "<string>"
}
'
{
  "message": {
    "message_id": "<string>",
    "session_id": "<string>",
    "tenant_id": "<string>",
    "state": "submitted",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "user_input": "<string>",
    "assistant_output": "<string>",
    "preview": "<string>",
    "trace_id": "<string>",
    "root_agent": "<string>",
    "duration_ms": 123,
    "error_message": "<string>",
    "task_data": {},
    "attachments": [
      {}
    ],
    "started_at": "2023-11-07T05:31:56Z",
    "completed_at": "2023-11-07T05:31:56Z"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.svantic.com/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json
message_id
string
required

The message ID to retrieve.

Response

Message detail.

message
object

A message record — the atomic unit of agent interaction within a session.