Python
import requests import json url = 'https://api.simplex.sh/agentic' headers = { 'X-API-Key': 'your_api_key_here' } data = { 'task': 'Find and click the login button', 'max_steps': 10, 'session_id': 'your_session_id', 'variables': json.dumps({'username': 'user@example.com'}) # Optional JSON string } response = requests.post(url, headers=headers, data=data) print(response.json())
{ "succeeded": true, "result": {}, "error": "<string>" }
Run an AI agent to automate a task on the page.
Simplex API Key
Agentic response
The response is of type object.
object
Was this page helpful?