Loads one message by message_id. Returns 404 when no row exists. Returns 403 when the message belongs to another tenant unless the caller is a super-admin. Requires JWT with at least read scope.
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.
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"
}
}