POST
/
is_completed

This endpoint analyzes a screenshot to determine if a given high-level task has been completed.

Request

high_level_task
string
required

Description of the task to check (e.g. “Log into the application”)

screenshot
file
required

Current screenshot of the application

api_key
string
required

Your API key for authentication

history
string

Optional string containing the history of steps taken

Response

Returns a boolean indicating whether the task has been completed.

Example Request

curl -X POST https://u3mvtbirxf.us-east-1.awsapprunner.com/is_completed \
  -F "high_level_task=Log into the application" \
  -F "screenshot=@current_screen.png" \
  -F "api_key=your_api_key" \
  -F "history=Entered email, Entered password, Clicked login"

Example Response

true