Skip to main content
POST
AI Detection
Current
Current version
The current AI detection API creates an async task and returns a task ID. Poll the task endpoint until it reaches STAGE_SUCCESS or STAGE_FAILED.
Use the Bulk API when you need to analyze many texts as one asynchronous job.

POST /task

Create an async AI detection task.

Request

string
required
The input text to analyze.
Whether to include a public dashboard link in the completed response.

Response

string
The ID of the async inference task.

Example

Example Response

GET /task/

Fetch the current status or completed result for an AI detection task.

Request

string
required
The task ID returned by POST /task.

Response

string
The ID of the async inference task. Present while the task is in progress.
string
Current task stage. Terminal stages are STAGE_SUCCESS and STAGE_FAILED.
string
The input text that was analyzed. Present on success.
string
The API version identifier (e.g., "3.0"). Present on success.
string
Classification headline summarizing the result. Present on success.
string
Long-form prediction string describing the classification. Present on success.
string
Short-form prediction string (e.g., "AI", "AI-Assisted", "Human", "Mixed"). Present on success.
float
Fraction of text classified as AI-written (0.0–1.0). Present on success.
float
Fraction of text classified as AI-assisted (0.0–1.0). Present on success.
float
Fraction of text classified as human-written (0.0–1.0). Present on success.
integer
Number of text segments classified as AI. Present on success.
integer
Number of text segments classified as AI-assisted. Present on success.
integer
Number of text segments classified as human. Present on success.
A link to the dashboard page containing the full classification result. Present on success when public_dashboard_link is true.
array
List of text segments () analyzed individually. Present on success.

Example

cURL
In-Progress Response
Success Response
Failed Response