Step Session

Allows for browsing the web using detailed natural language instructions in a step mode for a session with a given session ID

Path parameters

session_idstringRequired

Headers

X_MULTION_API_KEYstringRequired

Request

This endpoint expects an object.
cmdstringRequired
A specific natural language instruction for the next step.
streamfalseRequired

Boolean flag to stream results back to the client (Default: False)

urlstringOptional
The URL to create or continue session from.
browser_paramsobjectOptional
Object containing height and width for the browser screen size.
temperaturedoubleOptional
The temperature of model
agent_idstringOptional
The agent id to use for the session.
modeenumOptional
The mode you would like to use for the session. 'fast' or 'standard'
Allowed values:
include_screenshotbooleanOptional
optional_paramsmap from strings to anyOptional
Additional optional parameters for the session.

Response

This endpoint returns an object.
statusstring

The final status of the browsing session. One of [“CONTINUE”, “ASK_USER”, “DONE”]

messagestring
A message providing more details about the session status.
session_idstring
The unique identifier for the session.
urlstring
The URL associated with the session.
screenshotstring
image url of the screenshot taken during the session.
metadataobject or null
Additional metadata for the step session.

Errors