View as Markdown
GPTZero: Detect AI icon

GPTZero: Detect AI ACTION

Scan Text for AI Detection

This endpoint takes in a single text input and runs AI detection. The document will be truncated to 50,000 characters. See the documentation
  • Action
  • Writes data
  • Destructive
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's GPTZero: Detect AI account once, then configure and run Scan Text for AI Detection from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "gptzero_detect_ai-scan-text",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    gptzero_detect_ai: { authProvisionId: "apn_xxxxxxx" },
    document: "Document",
    multilingual: true,
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Scan Text for AI Detection inputs
Property Type Description
document Document string
The text you want to analyze. The text will be truncated to 50,000 characters.
Required
multilingual Multilingual boolean
When this option is true, a special multilingual AI detection model will be used. Currently supported languages are French and Spanish.
Optional

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
gptzero_detect_ai-scan-text
Version
0.0.2
App
GPTZero: Detect AI
Authentication
API key
Read-only
No
Destructive
Yes
Open world
Yes