Text Analysis

Analyze text samples with AI detection capabilities on Subnet 32.


POSTv1/32/detect-text

Analyze single text

Analyze a single text sample for AI detection.

Required attributes

  • Name
    text
    Type
    string
    Description

    Text content to analyze.

Optional attributes

  • Name
    deep_scan
    Type
    boolean
    Description

    Whether to perform an in-depth analysis.

Request

POST
v1/32/detect-text
curl -X POST https://api.bitmind.ai/oracle/v1/32/detect-text \
  -H "Authorization: Bearer {token}" \
  -H "Content-Type: application/json" \
  -d '{
    "text": "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry'\''s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.",
    "deep_scan": false
  }'

Response

{
  "text": "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.",
  "answer": 0.0779485737447774,
  "error": null,
  "segmentation_tokens": [],
  "deep_scan": false,
  "date_created": "2025-02-12T16:15:42.760502Z",
  "id": 39573
}

The text analysis model

The text analysis model contains the inference results for the provided text.

Properties

  • Name
    text
    Type
    string
    Description

    The text content to analyze.

  • Name
    answer
    Type
    number
    Description

    The answer to the text analysis.

  • Name
    error
    Type
    string | null
    Description

    The error message if the text analysis fails.

  • Name
    segmentation_tokens
    Type
    array
    Description

    The segmentation tokens if the text analysis is successful.

  • Name
    deep_scan
    Type
    boolean
    Description

    Whether the text analysis is a deep scan.

  • Name
    date_created
    Type
    string
    Description

    The date and time the text analysis was created.

  • Name
    id
    Type
    number
    Description

    The ID of the text analysis.