POST
/
v2
/
last_messages
curl --request POST \
  --url http://127.0.0.1:9550/v2/last_messages \
  --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>"
  }
]

Retrieve the most recent messages or logs associated with 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
inbox
string
required
job_message
object
required
node_api_data
object
required
receiver
string
required
receiver_subidentity
string
required
sender
string
required
sender_subidentity
string
required