Returns messages in input-required state for the caller’s tenant (derived from JWT). These are tasks where an agent is blocked and waiting for human input — approvals, form data, or confirmations. This is the data source for the dashboard Approval Queue.
curl --request POST \
--url https://api.svantic.com/messages/pending \
--header 'Content-Type: application/json' \
--data '
{
"session_id": "<string>",
"limit": 50,
"offset": 0
}
'{
"messages": [
{
"message_id": "<string>",
"session_id": "<string>",
"tenant_id": "<string>",
"state": "input-required",
"user_input": "<string>",
"assistant_output": "<string>",
"task_data": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"total": 123
}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.
Request to list messages awaiting human input. The tenant is derived from the caller's JWT — there is no tenant_id field in the request body.
curl --request POST \
--url https://api.svantic.com/messages/pending \
--header 'Content-Type: application/json' \
--data '
{
"session_id": "<string>",
"limit": 50,
"offset": 0
}
'{
"messages": [
{
"message_id": "<string>",
"session_id": "<string>",
"tenant_id": "<string>",
"state": "input-required",
"user_input": "<string>",
"assistant_output": "<string>",
"task_data": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"total": 123
}