# GPTZero

> Detect AI-generated text, check bibliography sources, read API usage and list detection model versions.

App · 4 actions. Web page: https://docs.lodol.com/docs/integrations/gptzero

## Actions

### Bibliography scan (text)

Bibliography scan (text).

**Inputs**

- Document (`document`, text, required): Document

**Outputs**

- `data` (object): The response returned by the service.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation token for the next page.

**Example output**

```json
{
  "data": {
    "bibliographic_citations": [],
    "claims": [],
    "id": "example",
    "inputText": "example",
    "sources": [],
    "version": 0
  },
  "has_more": false,
  "next_cursor": "example"
}
```

### Detect AI in text

Detect AI in text.

**Inputs**

- Document (`document`, text, required): The text to scan.
- ModelVersion (`modelVersion`, text): The model version to use. Defaults to the latest version. `GET /v2/model-versions/ai-scan` lists the available versions, and the [release notes](https://docs.superhuman.com/d/Project-engineering-import_doYGpUuF477/GPTZero-Release-Notes-Model-and-API_suN_Kut5#_luA8d53F) say what changed in each. An unknown version is rejected with a `400` that lists the valid ones.

**Outputs**

- `data` (object): The scan result. Each document is split into sentences and grouped into paragraphs, so you can use the result at the level of detail you need.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation token for the next page.

**Example output**

```json
{
  "data": {
    "documents": [],
    "neatVersion": "example",
    "scanId": "example",
    "version": "example"
  },
  "has_more": false,
  "next_cursor": "example"
}
```

### Get usage stats

Get usage stats.

**Inputs**: None.

**Outputs**

- `data` (object): Your usage in the current billing cycle. API (Enterprise) plans are billed by usage and don't have a word limit, so `words_left` is `null` on those plans.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation token for the next page.

**Example output**

```json
{
  "data": {
    "data": {
      "cycle_end": null,
      "cycle_start": null,
      "plan": null,
      "words_left": null,
      "words_used": null
    }
  },
  "has_more": false,
  "next_cursor": "example"
}
```

### List model versions

List model versions.

**Inputs**: None.

**Outputs**

- `data` (list): The response returned by the service.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation token for the next page.

**Example output**

```json
{
  "data": [],
  "has_more": false,
  "next_cursor": "example"
}
```
