Skip to main content
POST
CUA Website Scan
AI-powered website analysis using Computer Use Agent (CUA) technology. The agent autonomously navigates and analyzes websites to identify potential fraud, scams, compliance issues, and suspicious content.

Overview

The CUA Scan API uses Claude’s Computer Use capabilities to:
  • Navigate websites like a human user
  • Analyze content for fraud indicators, scams, and compliance issues
  • Capture screenshots at each step for audit trails
  • Generate detailed reports with findings and recommendations
CUA scans are asynchronous. Submit a job, then poll for status and results.

Endpoints

Authentication


Submit Scan Job

Create a new CUA scan job to analyze a website.

Request Parameters

Effort Levels

Request Example

Response

Response Fields


List Jobs

Get a paginated list of scan jobs for your tenant.

Query Parameters

Request Example

Response

Response Fields


Get Job Status

Get detailed status, progress, and results of a scan job.

Path Parameters

Query Parameters

Request Example

Response - Processing

Response - Completed

Response Fields

Step Types


Job Statuses


Error Responses

400 Bad Request - Missing URL

400 Bad Request - Invalid URL

400 Bad Request - Invalid Effort

403 Forbidden - Permission Denied

404 Not Found


Usage Examples

Python - Complete Workflow

JavaScript - Real-time Updates

List Jobs with Filtering


Best Practices

Choosing Effort Level

  • Low (20 steps): Quick checks, simple landing pages
  • Medium (50 steps): Standard analysis, e-commerce sites
  • High (80 steps): Deep investigation, complex sites with multiple pages

Efficient Polling

  • Use from_step parameter to only fetch new content
  • Poll every 3-5 seconds during active processing
  • Stop polling when status is COMPLETED or FAILED

Rate Limiting

  • Maximum 2 concurrent jobs per tenant
  • Maximum 10 concurrent jobs globally
  • Jobs exceeding limits are queued automatically

Result Files

  • report.json: Structured analysis data
  • summary.md: Human-readable summary
  • screenshots.zip: All captured screenshots
  • Download URLs expire after 1 hour

Error Handling

  • Implement retry logic for transient failures
  • Check error_message field when status is FAILED
  • Store job_id for later retrieval of results