cURL
curl --request POST \ --url https://api-lr.agent.ai/v1/action/grab_web_screenshot \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "url": "https://agent.ai", "ttl_for_screenshot": 86400 }'
{ "status": 200, "response": "https://s3.us-east-2.amazonaws.com/asset-uploads.agent.ai/31d8f9c8-27ce-42bf-a38c-ce02784ab98c.png" }
Capture a visual screenshot of a specified web page for documentation or analysis.
Bearer token from your account (https://agent.ai/user/settings#credits)
Screenshot of the web page
The response is of type object.
object