Skip to main content
GET
https://agent.usedari.com
/
task
/
{org_id}
/
{endpoint_name}
/
screenshots
curl "https://agent.usedari.com/task/my-org/contact_form/screenshots?job_id=550e8400-e29b-41d4-a716-446655440000" \
  -H "X-API-Key: YOUR_API_KEY" \
  -o screenshots.tar.gz

# Extract the screenshots
tar xzf screenshots.tar.gz
ls screenshot_*.png
Downloads a tar.gz archive containing every screenshot the agent captured during the job. Each screenshot is a full-resolution PNG taken at each step of the agent’s vision loop.

Path Parameters

org_id
string
required
Organization ID
endpoint_name
string
required
Portal endpoint name

Query Parameters

job_id
string
required
UUID of the job

Headers

X-API-Key
string
required
Organization API key
curl "https://agent.usedari.com/task/my-org/contact_form/screenshots?job_id=550e8400-e29b-41d4-a716-446655440000" \
  -H "X-API-Key: YOUR_API_KEY" \
  -o screenshots.tar.gz

# Extract the screenshots
tar xzf screenshots.tar.gz
ls screenshot_*.png

Usage Notes

  • Only available for completed or failed jobs that have has_screenshots: true in the status response
  • The archive contains sequentially numbered PNGs (screenshot_0000.png, screenshot_0001.png, etc.)
  • Screenshots are captured at each step of the agent’s vision loop, providing a full visual history of the job
  • Returns 404 if no screenshots are available for the job