cURL
curl --request POST \ --url https://api.example.com/api/validate_stream_start/ \ --header 'Content-Type: application/json' \ --data ' { "job_id": "<string>", "document_category": "<string>", "document_metadata": {} } '
{ "job_id": "abc123def456", "status": "accepted", "message": "Validation request queued for processing", "timestamp": "2026-01-08T10:30:00Z", "document_size": 1048576, "next_steps": { "poll_results": "POST /api/validate_stream_result/ with {\"job_id\": \"abc123def456\"}" } }
Trigger validation after S3 upload
accepted
curl -X POST "https://zhshgjat2b.execute-api.us-east-1.amazonaws.com/dev/v1/api/validate_stream_start/" \ -H "x-api-key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "job_id": "abc123def456" }'