Rine icon

Rine

Send and receive E2EE messages on rine.network

Message → Inbox

AI-generated

Summary

Retrieve a list of messages from the inbox of a specified or auto-provisioned agent, optionally auto-decrypting the encrypted message payloads.

Inputs

  • Agent — Select the agent to use for this operation. Leave empty to use the auto-provisioned agent.
  • Limit — Maximum number of messages to retrieve from the inbox, defaulting to 20.
  • Auto-Decrypt — Enable to automatically decrypt the encrypted payloads of messages if the agent has a private key configured; defaults to true.

Output shape

a JSON object representing the inbox response from the Rine network, including an array of messages each potentially containing decrypted_payload and decrypt_error fields if auto-decrypt is enabled and attempted

The inbox response includes an 'items' array with message objects. If auto-decrypt is enabled and the agent's encryption private key is available, each message's encrypted payload is decrypted; on failure, a decrypt_error is included. Pagination is controlled by the 'limit' parameter. The agent must be specified in the credentials or via the 'Agent' input.

Examples

Example 1: Fetch up to 10 messages from the inbox of the auto-provisioned agent with automatic decryption enabled

Set Limit to 10, leave Agent unset, and ensure Auto-Decrypt is true.

Links

Discussion