Skip to main content
Detections are billable by default. Sample runs are available for development, testing, and demonstrations, with a fixed sample document allowance per end customer. They are not unlimited. Confirm your contract details with your Trelent contact before using sample runs, including the number of sample documents allowed per end customer and any applicable allowance period. Your contract defines the allowance and billing terms.

Mark a sample run

Send X-Sample-Run: true when you start a detection. Your token must include DocumentVerification:detections:create_sample, either directly or through a granted wildcard scope. See Authentication.
Replace the example URL with a reachable document URL. Use submitted_by for your end customer’s identifier. The header marks the detection as non-billable; it does not increase your contractual sample allowance. The response confirms the billing flag:
Sample runs perform the same analysis as billed runs. For production use, omit X-Sample-Run; the detection is billable. If your token lacks the sample scope, the sample request returns 403.