1
Install the SDK
2
Configure your API key
You can provide your API key in two ways.Option 1: Environment variableOption 2: Pass directly to the constructor
3
Discover available models
Model availability is specific to your API key. Retrieve the current catalog instead of hard-coding it.Use one returned value as the keyword-only
model argument on text and bulk requests.4
5
Analyze many texts with the Bulk API
Use the Bulk API for asynchronous AI detection across many inputs.
Submit the job, wait for a terminal status, then fetch results.
Completion time depends on the number and length of submitted items and current system load.
Use For large jobs, process one results page at a time:
get_bulk_status() or wait_for_bulk() to monitor progress.6
Check for plagiarism
The plagiarism detection API checks text against a vast database of online content:The response includes:
- Whether plagiarism was detected
- List of plagiarized content with source URLs
- Total number of sentences checked
- List of plagiarized sentences
- Percentage of text that was plagiarized
Deprecated Methods
predict_short()— Forwards topredict()and returns the current async result schemabatch_predict()— Callspredict()once per input text