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
inbox_name
string
required
limit
integer
required
Required range: x >= 0
offset_key
string | null

Response

200
application/json
Successfully retrieved last messages with branches

The response is of type array.