Jobs
Get Last Messages with Branches
API Documentation
General
- POSTAdd LLM Provider
- POSTAdd Ollama Models
- POSTChange Node Name
- GETGet Default Embedding Model
- POSTSet Default Embedding Model
- GETDownload File from Inbox
- GETAPI Health Check
- POSTInitial Registration
- GETCheck Pristine State
- GETList Files in Inbox
- GETGet Local Processing Preference
- POSTSet Local Processing Preference
- POSTModify LLM Provider
- GETGet Public Keys
- POSTRemove LLM Provider
- GETScan Ollama Models
- POSTStop LLM Process
- GETGet Supported Embedding Models
- POSTUpdate Supported Embedding Models
Jobs
- POSTAdd File to Inbox
- GETGet All Inboxes
- GETGet Available LLM Providers
- POSTChange Job LLM Provider
- POSTCreate Files Inbox
- POSTCreate Job
- GETGet Job Configuration
- GETGet Job Scope
- POSTSend Job Message
- POSTGet Last Messages
- POSTGet Last Messages with Branches
- POSTRetry Message
- POSTUpdate Job Configuration
- POSTUpdate Job Scope
- POSTUpdate Smart Inbox Name
Subscriptions
- POSTGet Available Shared Items
- POSTGet Open Shared Items
- POSTCreate Shareable Folder
- POSTGenerate Free Subscription Links
- POSTGet Latest Notifications
- POSTList My Subscribers
- POSTList My Subscriptions
- POSTGet Notifications Before Timestamp
- POSTSubscribe to Shared Folder
- POSTUnshare Folder
- POSTUnsubscribe
- POSTUpdate Shareable Folder
Tool Offerings
Vector File System
Jobs
Get Last Messages with Branches
POST
/
v2
/
last_messages_with_branches
curl --request POST \
--url http://127.0.0.1:9550/v2/last_messages_with_branches \
--header 'Content-Type: application/json' \
--data '{
"inbox_name": "<string>",
"limit": 1,
"offset_key": "<string>"
}'
[
[
{
"inbox": "<string>",
"job_message": {
"callback": {
"Job": {}
},
"content": "<string>",
"files_inbox": "<string>",
"job_id": "<string>",
"parent": "<string>",
"sheet_job_data": "<string>",
"workflow_code": "<string>",
"workflow_name": "<string>"
},
"node_api_data": {
"node_message_hash": "<string>",
"node_timestamp": "<string>",
"parent_hash": "<string>"
},
"receiver": "<string>",
"receiver_subidentity": "<string>",
"sender": "<string>",
"sender_subidentity": "<string>"
}
]
]
Fetch recent messages including branch information for a job.
Body
application/json
Required range:
x >= 0
Response
200
application/json
Successfully retrieved last messages with branches
The response is of type array
.
Was this page helpful?
curl --request POST \
--url http://127.0.0.1:9550/v2/last_messages_with_branches \
--header 'Content-Type: application/json' \
--data '{
"inbox_name": "<string>",
"limit": 1,
"offset_key": "<string>"
}'
[
[
{
"inbox": "<string>",
"job_message": {
"callback": {
"Job": {}
},
"content": "<string>",
"files_inbox": "<string>",
"job_id": "<string>",
"parent": "<string>",
"sheet_job_data": "<string>",
"workflow_code": "<string>",
"workflow_name": "<string>"
},
"node_api_data": {
"node_message_hash": "<string>",
"node_timestamp": "<string>",
"parent_hash": "<string>"
},
"receiver": "<string>",
"receiver_subidentity": "<string>",
"sender": "<string>",
"sender_subidentity": "<string>"
}
]
]