Submit a plain text snippet for asynchronous compliance validation.
Request Body
Plain text content to validate
Optional document category. If omitted, all rule packs will run.Options: retail_investor_letter, retail_fact_sheet_registered_fund, retail_fact_sheet_non_registered, pitch_book_registered_fund, pitch_book_non_registered, scenario_retail_investor_letter, scenario_retail_fact_sheet_registered_fund, scenario_retail_fact_sheet_non_registered, scenario_pitch_book_registered_fund, scenario_pitch_book_non_registered
Optional detailed metadata for precise rule matching.
Response
Unique identifier for the validation job
{
"job_id": "snippet_789xyz",
"status": "accepted"
}
Example
curl -X POST "https://{api-url}/api/validate_snippet_stream/" \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"text_snippet": "Our fund guarantees 20% returns with zero risk!",
"document_category": "retail_investor_letter"
}'