View as Markdown
GPTZero: Detect AI icon

GPTZero: Detect AI ACTION

Scan File for AI Detection

This endpoint takes in file(s) input and returns the model's result. See the documentation
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's GPTZero: Detect AI account once, then configure and run Scan File 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-file",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    gptzero_detect_ai: { authProvisionId: "apn_xxxxxxx" },
    files: ["Files or URLs"],
    syncDir: "SyncDir",
  },
})

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 File for AI Detection inputs
Property Type Description
files Files or URLs string[]
A list of file paths from the /tmp directory or URLs to analyze.
Required
syncDir SyncDir dir
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-file
Version
1.0.3
App
GPTZero: Detect AI
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes