AIR icon

AIR

Manage Binalyze AIR resources

InterACT → Get Command Response

AI-generated

Overview

The InterACT Get Command Response operation retrieves the response message of a previously executed command within an InterACT session. This is useful for monitoring and obtaining the output or status of commands sent to devices during interactive shell sessions.

Use Case Examples

  1. Retrieve the response of a command executed on a remote device using its session ID and message ID.
  2. Use the message ID to fetch the output or status update of a command to handle asynchronous command execution results.

Properties

Name Meaning
Session ID The InterACT session ID used to identify the interactive session where the command was executed.
Message ID The command message ID used to specify which command response to retrieve within the session.

Output

JSON

  • response - The content of the command response message retrieved from the InterACT session.

Dependencies

  • Requires an API key credential for authentication with the AIR platform's InterACT service.

Troubleshooting

  • Ensure the session ID and message ID are correct and correspond to an active session and valid command message.
  • Common errors include invalid session or message IDs, which result in failure to retrieve the command response.
  • Network or authentication issues may prevent successful API calls to the InterACT service.

Discussion