API version v3.0
List of reports
GET | POST https://plagiarismsearch.com/api/v3/reports
Parameter | Type | Description | Optional | Default |
---|---|---|---|---|
ids | array | Array of reports ids. | True | |
remote_id | string | Local document id. | True | |
page | integer | Page number. | True | 1 |
limit | integer | Reports by page. Max value is 100. | True | 10 |
show_relations | integer | Return report relations. (Full report data). Acceptable values are:
|
True | 0 |
GET https://plagiarismsearch.com/api/v3/reports
/* @var $api Reports */
require_once 'init-api.php';
$data = [
'page' => 2,
'limit' => 5,
'show_relations' => 0,
];
echo $api->indexAction($data);
{
"status": true,
"code": 200,
"data": [
{
"id": 100500, // report id
"remote_id": "#local-id-123",
"user_id": 1,
"title": "Report #100500",
"text": "Title of report",
"length": 380, // count checked words
"length_raw": 403, // count words
"created": 1502725786, // unix timestamp of report creation
"modified": 1504104007, // unix timestamp of report modification
"notified": 0, // unix timestamp of callback request sending
"status": 2, // report status
"filter_chars": 1, // only latin characters
"filter_references": 1, // exclude references
"filter_quotes": 1, // exclude in-text citations
"language": "en", // auto detect language of text
"plagiat": 10.5, // plagiarism percent (deprecated)
"plagiarism": 10.5, // plagiarism percent
"ai_probability": 50.5, // (float or null) The percentage of likelihood that the whole text was AI generated
"ai_average_probability": 68.44, // (float or null) The total percentage of AI generated passages in the text
"similarity": 10.5, // plagiarism percent
"originality": 89.5, // originality percent
"search_web": 1, // search on the web
"search_ai": "1", // search AI content
"search_files_api": 1, // search in storage
"search_storage": 1, // search in storage
"search_storage_filter": [
"file_id": [100, 500], // exclude local file ids from storage search
"user_id": [100, 500], // exclude local user ids from storage search
"group_id": [100, 500], // exclude local group (course) ids from storage search
],
"status_ex": "checked", // text status (deprecated)
"status_label": "checked", // text status
"file": "https://plagiarismsearch.com/reports/download/100500?key=54fba6bc7d765cab653f2185a83284a6" // public pdf report url
"link": "https://plagiarismsearch.com/reports/100500?key=54fba6bc7d765cab653f2185a83284a6", // public html report URL
"files": [
{ // public EN pdf report URL version 3
"url": "https://plagiarismsearch.com/r/download/100500?key=54fba6bc7d765cab653f2185a83284a6",
"type": "application/pdf",
"language": "en",
"version": 3
},
{ // public ES pdf report URL version 3
"url": "https://plagiarismsearch.com/es/r/download/100500?key=54fba6bc7d765cab653f2185a83284a6",
"type": "application/pdf",
"language": "es",
"version": 3
},
{ // public PL pdf report URL version 3
"url": "https://plagiarismsearch.com/pl/r/download/100500?key=54fba6bc7d765cab653f2185a83284a6",
"type": "application/pdf",
"language": "pl",
"version": 3
},
{ // public EN pdf report URL version 1 (current)
"url": "https://plagiarismsearch.com/reports/download/100500?key=54fba6bc7d765cab653f2185a83284a6",
"type": "application/pdf",
"language": "en",
"version": 1
}
]
},
{
"id": "228",
...
},
{
"id": "227",
...
},
{
"id": "226",
...
},
{
"id": "225",
...
}
],
"version": "3.0.0",
"pagination": {
"page": 2,
"limit": 5,
"count": 49
}
}
{
"status": false,
"code": 404,
"version": "3.0.0",
"message": "Report not found",
"errors": [
"Report not found"
]
}
{
"status": false,
"code": 401,
"version": "3.0.0",
"message": "Authentication failed",
"errors": null
}
Rate Limited | True |
Authentication | HTTP basic |
Response Format | JSON |