Upload a PDF policy document and extract compliance rules using Gemini AI
401 UNAUTHORIZED if not authenticated.
multipart/form-data
DATA_RETENTION_VIOLATION)retention, encryption, access_control, consent)CRITICAL, HIGH, or MEDIUMfield, operator, and value.Supported operators: equals, not_equals, greater_than, less_than, greater_than_or_equal, less_than_or_equal, contains, exists, not_exists, IN, BETWEEN, MATCH (regex)unpdf library with fallback to UTF-8 text decodingis_active: true by defaultpdf to distinguish from prebuilt policies